From b5130c2e6d60c7f23e37f7c620375bc4e253caa3 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 18 十月 2022 14:52:20 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/wrkMast/wrkMast.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index e729d5b..d10c803 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -30,6 +30,7 @@ ,{field: 'staNo$', align: 'center',title: '鐩爣绔�'} ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�'} ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅'} + ,{field: 'steNo', align: 'center',title: '灏忚溅', width: 70} ,{field: 'barcode', align: 'center',title: '鏉$爜'} ,{field: 'preHave', align: 'center',title: '鍏堝叆鍝�', hide: true} ,{field: 'takeNone', align: 'center',title: '绌烘搷浣�', hide: true} @@ -273,7 +274,7 @@ table.on('tool(wrkMast)', function(obj){ let data = obj.data; switch (obj.event) { - // 鏄庣粏灞曠ず todo + // 鏄庣粏灞曠ず case 'detlShow': wrkNo = data.wrkNo; // 琛ㄦ牸涓嬫柟鏄剧ず @@ -346,6 +347,16 @@ layer.confirm('浠诲姟鍙戦�佺┖鎿嶄綔寮傚父锛佹槸鍚︺�傘�傘�傘�傘�傘�傘�傘�傦紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){ }); break; + // 寮冭溅 + case 'removeSte': + layer.confirm('娓呴櫎灏忚溅銆�' + data.steNo + '銆�', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){ + http.post(baseUrl+"/deal/steNo/empty", {wrkNo: data.wrkNo}, function (res) { + $(".layui-laypage-btn")[0].click(); + layer.msg(data.wrkNo + res.msg, {icon: 1}); + }) + layer.closeAll(); + }); + break; } }); -- Gitblit v1.9.1