From bc20e7dc43b97367b7b70b678e71140a33846ff0 Mon Sep 17 00:00:00 2001 From: tzsk <Administrator@qq.com> Date: 星期三, 30 七月 2025 22:36:49 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/wrkMast/wrkMast.js | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index e79cbdb..245a447 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -30,8 +30,8 @@ ,{field: 'ioType$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'} ,{field: 'ioPri', align: 'center',title: '浼樺厛绾�'} // ,{field: 'crnNo$', align: 'center',title: '鍫嗗灈鏈�'} - ,{field: 'sourceStaNo$', align: 'center',title: '婧愮珯'} - ,{field: 'staNo$', align: 'center',title: '鐩爣绔�'} + ,{field: 'sourceStaNo', align: 'center',title: '婧愮珯'} + ,{field: 'staNo', align: 'center',title: '鐩爣绔�'} ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�'} ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅'} ,{field: 'shuttleNo', align: 'center',title: '灏忚溅', width: 70} @@ -387,6 +387,27 @@ } }); break; + //寮冭溅 + case 'removeShuttle': + wrkNo = data.wrkNo; + $.ajax({ + url: baseUrl+"/wrkMast/removeShuttle/" + wrkNo, + headers: {'token': localStorage.getItem('token')}, + contentType:'application/json;charset=UTF-8', + method: 'get', + success: function (res) { + layer.closeAll(); + if (res.code === 200){ + $(".layui-laypage-btn")[0].click(); + layer.msg(res.msg); + } else if (res.code === 403){ + top.location.href = baseUrl+"/"; + } else { + layer.msg(res.msg) + } + } + }) + break; } }); @@ -657,6 +678,7 @@ if (res.code === 403) { top.location.href = baseUrl+"/"; } + $(".layui-table-body, .layui-table-box, .layui-table-cell").css('overflow', 'visible');//瑙e喅layui鏁版嵁琛ㄦ牸涓祵濂椾笅鎷夋鏄剧ず闂 pageCurr=curr; if (res.data.length === 0 && count !== 0) { tableIns.reload({ -- Gitblit v1.9.1