From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/tGoods/tPay_info.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tPay_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tPay_info.js index 5427919..4341dc6 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tPay_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tPay_info.js @@ -13,7 +13,7 @@ TPayInfo.initColumn = function () { return [ {field: 'selectItem', radio: true}, - {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'}, + {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle'}, {title: '联系方式', field: 'phone', visible: true, align: 'center', valign: 'middle'}, {title: '使用状态', field: 'status', visible: true, align: 'center', valign: 'middle', @@ -39,7 +39,7 @@ ' <div class="col-sm-11">' + ' <div class="form-group">\n' + ' <label class="col-sm-3 control-label">请选择:</label>\n' + - ' <div class="col-sm-9">\n' + + ' <div class="col-sm-9" style="margin-top: 5px;">\n' + ' <input type="radio" id="areaType1" value="1" name="areaType"> ' + ' <label for="areaType1"> 手环 </label>\n' + ' </div>\n' + @@ -48,18 +48,19 @@ ' </div>' + '</div>' - , btn: ['关闭', '确认'] + , btn: ['确认', '关闭'] , btnAlign: 'c' //按钮居中 , shade: 0.5 //不显示遮罩 , load: 1 - , yes: function () { + , btn2: function () { layer.closeAll(); }, - btn2: function () { + yes: function () { console.log("看看id") console.log(TPayInfo.seItem.id) var ajax = new $ax(Feng.ctxPath + "/ticket/writeOff", function (data) { TPayInfo.search(); + Feng.error("核销成功!") }, function (data) { }); ajax.set("id", TPayInfo.seItem.id); -- Gitblit v1.7.1