From e030255c23c7ba3e2cbad1036a810d6d72fa864f Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期四, 26 十月 2023 18:04:58 +0800 Subject: [PATCH] 修改bug --- cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 42 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js index cf527c3..a3ed6b0 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue.js @@ -14,7 +14,7 @@ TStudent.initColumn = function () { return [ {field: 'selectItem', radio: true}, - {title: '主键', field: 'id', visible: false, align: 'center', valign: 'middle'}, + {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title: '所在省', field: 'province', visible: true, align: 'center', valign: 'middle'}, {title: '所在市', field: 'city', visible: true, align: 'center', valign: 'middle'}, {title: '预约门店', field: 'name', visible: true, align: 'center', valign: 'middle'}, @@ -208,6 +208,47 @@ } }; + +TStudent.openTStudentDetail6 = function () { + if (this.check()) { + + if (TStudent.seItem.status!=0){ + Feng.error("请选择待支付的数据") + return + } + + + parent.layer.confirm("是否手动支付" , { + btn: ['确定', '取消'] + }, function (index) { + let ajax = new $ax(Feng.ctxPath + "/ball/confirm/"+TStudent.seItem.id, function (data) { + Feng.success("手动支付" + "成功!"); + TStudent.table.refresh(); + }, function (data) { + Feng.error(state == 1 ? '手动支付' : "下架" + "失败!" + data.responseJSON.message + "!"); + }); + ajax.start(); + parent.layer.close(index); + + }, function (index) { + parent.layer.close(index); + } + + + ) + // var index = layer.open({ + // type: 2, + // title: '', + // area: ['30%', '40%'], //宽高 + // fix: false, //不固定 + // maxmin: true, + // content: Feng.ctxPath + '/ball/tocancel/' + TStudent.seItem.id + // }); + // + // this.layerIndex = index; + } +}; + TStudent.openTStudentDetail2 = function () { if (this.check()) { var index = layer.open({ -- Gitblit v1.7.1