From ecfd53965b24259b28369e785131fdc6f8380885 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期三, 14 五月 2025 17:12:55 +0800
Subject: [PATCH] #
---
src/main/webapp/static/wms/js/wmsWrk/wmsWrk.js | 46 ++++++++++++++++++++++++++++------------------
1 files changed, 28 insertions(+), 18 deletions(-)
diff --git a/src/main/webapp/static/wms/js/wmsWrk/wmsWrk.js b/src/main/webapp/static/wms/js/wmsWrk/wmsWrk.js
index f6beca5..f035c9e 100644
--- a/src/main/webapp/static/wms/js/wmsWrk/wmsWrk.js
+++ b/src/main/webapp/static/wms/js/wmsWrk/wmsWrk.js
@@ -1,4 +1,6 @@
var pageCurr;
+var wmsWrkNo;
+var wrkNo;
layui.config({
base: baseUrl + "/static/wms/layui/lay/modules/"
}).extend({
@@ -23,28 +25,21 @@
cellMinWidth: 50,
height: 'full-120',
cols: [[
- {type: 'checkbox'}
- ,{field: 'wmsWrkNo', align: 'center',title: 'WMS浠诲姟鍙�',width: 110}
- ,{field: 'wmsStatus$', align: 'center',title: 'WMS浠诲姟鐘舵��',width: 130}
+ {title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 110}
+ ,{field: 'taskNo', align: 'center',title: 'WMS浠诲姟鍙�',width: 110}
+ ,{field: 'status$', align: 'center',title: '浠诲姟鐘舵��',width: 130}
,{field: 'wrkNo', align: 'center',title: '浠诲姟鍙�'}
,{field: 'createTime$', align: 'center',title: '浠诲姟鏃堕棿',width: 170}
,{field: 'durationTime', align: 'center',title: '鎸佺画鏃堕暱',width: 150}
,{field: 'ioType$', align: 'center',title: '浠诲姟绫诲瀷'}
,{field: 'ioPri', align: 'center',title: '浼樺厛绾�'}
- ,{field: 'sourceStaNo$', align: 'center',title: '婧愮珯'}
- ,{field: 'staNo$', align: 'center',title: '鐩爣绔�'}
- ,{field: 'sourceLocNo', align: 'center',title: '婧愬簱浣�'}
- ,{field: 'locNo', align: 'center',title: '鐩爣搴撲綅'}
- ,{field: 'locSts', align: 'center',title: '搴撲綅鐘舵��'}
- ,{field: 'barcode', align: 'center',title: '鏉$爜'}
- // ,{field: 'picking', align: 'center',title: '鎷f枡'}
- // ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
- // ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
- // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�'}
- ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'startPoint', align: 'center',title: '璧风偣'}
+ ,{field: 'targetPoint', align: 'center',title: '缁堢偣'}
,{field: 'memo', align: 'center',title: '澶囨敞'}
-
- ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 110}
+ // ,{field: 'assignTime$', align: 'center',title: '娲惧彂鏃堕棿',width: 170}
+ // ,{field: 'executeTime$', align: 'center',title: '鎵ц鏃堕棿',width: 170}
+ // ,{field: 'completeTime$', align: 'center',title: '瀹岀粨鏃堕棿',width: 170}
+ // ,{field: 'cancelTime$', align: 'center',title: '鍙栨秷鏃堕棿',width: 170}
]],
request: {
pageName: 'curr',
@@ -205,12 +200,12 @@
var data = obj.data;
switch (obj.event) {
case 'distribute'://娲惧彂
- layer.confirm('纭娲惧彂璇ョ瑪浠诲姟锛�', {title: 'WMS浠诲姟鍙凤細' + data.wmsWrkNo, shadeClose: true}, function () {
+ layer.confirm('纭娲惧彂璇ョ瑪浠诲姟锛�', {title: 'WMS浠诲姟鍙凤細' + data.taskNo, shadeClose: true}, function () {
$.ajax({
url: baseUrl + "/wmsWrk/distribute/auth",
headers: {'token': localStorage.getItem('token')},
data: {
- wmsWrkNo: data.wmsWrkNo
+ taskNo: data.taskNo
},
method: 'POST',
success: function (res) {
@@ -281,6 +276,21 @@
})
});
break;
+ case "wrkMastShow"://鏌ョ湅浠诲姟
+ wmsWrkNo = data.wmsWrkNo;
+ wrkNo = data.wrkNo;
+ // 寮瑰眰鏄剧ず
+ layer.open({
+ type: 2,
+ title: '鏌ョ湅浠诲姟',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../wrkMast/wrkMast.html',
+ success: function (layero, index) {
+ }
+ });
+ break;
}
});
--
Gitblit v1.9.1