From 418a73bcee019e078307a1c2c255235de33d20ca Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 25 十二月 2025 16:29:38 +0800
Subject: [PATCH] #agv任务

---
 src/main/webapp/static/js/task/task.js |   40 ++++++++++++++++++----------------------
 1 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/src/main/webapp/static/js/task/task.js b/src/main/webapp/static/js/task/task.js
index 909d323..96f034e 100644
--- a/src/main/webapp/static/js/task/task.js
+++ b/src/main/webapp/static/js/task/task.js
@@ -22,26 +22,22 @@
         height: 'full-120',
         cols: [[
             {type: 'checkbox'}
-            , {field: 'id', align: 'center', title: 'id'}
-            , {field: 'wrkNo', align: 'center', title: '浠诲姟鍙�'}
-            , {field: 'ioType$', align: 'center', title: '鍏ュ嚭搴撶被鍨�',}
-            , {field: 'wrkSts$', align: 'center', title: '宸ヤ綔鐘舵��'}
-            , {field: 'ioPri', align: 'center', title: '浼樺厛绾�',hide: true}
-            , {field: 'sourceStaNo', align: 'center', title: '婧愮珯'}
-            , {field: 'staNo', align: 'center', title: '鐩爣绔�'}
-            , {field: 'invWh', align: 'center', title: 'agv'}
-            , {field: 'barcode', align: 'center', title: '鏉$爜'}
-            , {field: 'appeUser$', align: 'center', title: '鍒涘缓浜�'}
-            , {field: 'appeTime$', align: 'center', title: '鍒涘缓鏃堕棿',width: 170}
+            , {field: 'wrkNo', align: 'center', title: '宸ヤ綔鍙�', sort: true, width: 105}
+            , {field: 'ioTime$', align: 'center', title: '宸ヤ綔鏃堕棿', width: 160}
+            , {field: 'wrkSts$', align: 'center', title: '宸ヤ綔鐘舵��', width: 150}
+            , {field: 'ioType$', align: 'center', title: '鍏ュ嚭搴撶被鍨�', width: 150}
+            , {field: 'ioPri', align: 'center', title: '浼樺厛绾�', width: 80}
+            , {field: 'taskType$', align: 'center', title: '浠诲姟绫诲瀷', width: 120}
+            , {field: 'crnNo$', align: 'center', title: '鍫嗗灈鏈�', hide: true}
+            , {field: 'sourceStaNo$', align: 'center', title: '婧愮珯', width: 120}
+            , {field: 'sourceLocNo', align: 'center', title: '婧愬簱浣�', width: 120}
+            , {field: 'staNo$', align: 'center', title: '鐩爣绔�', width: 120}
+            , {field: 'locNo', align: 'center', title: '鐩爣搴撲綅', width: 120}
+            , {field: 'barcode', align: 'center', title: '鏉$爜', width: 110}
+            , {field: 'preHave', align: 'center', title: '鍏堝叆鍝�', hide: true}
+            , {field: 'takeNone', align: 'center', title: '绌烘搷浣�', hide: true}
             , {field: 'modiUser$', align: 'center', title: '淇敼浜哄憳', hide: true}
-            , {field: 'modiTime$', align: 'center', title: '淇敼鏃堕棿', hide: true,width: 170}
-
-            // , {field: 'taskType$', align: 'center', title: '浠诲姟绫诲瀷'}
-            // , {field: 'crnNo$', align: 'center', title: '鍫嗗灈鏈�', hide: true}
-            // , {field: 'sourceLocNo', align: 'center', title: '婧愬簱浣�', width: 120}
-            // , {field: 'locNo', align: 'center', title: '鐩爣搴撲綅', width: 120}
-            // , {field: 'preHave', align: 'center', title: '鍏堝叆鍝�', hide: true}
-            // , {field: 'takeNone', align: 'center', title: '绌烘搷浣�', hide: true}
+            , {field: 'modiTime$', align: 'center', title: '淇敼鏃堕棿', hide: true, width: 160}
             , {fixed: 'right', title: '鎿嶄綔', align: 'center', toolbar: '#operate', width: 200}
         ]],
         request: {
@@ -175,7 +171,7 @@
                         title: '宸ヤ綔鍙凤細' + data.wrkNo,
                         shadeClose: true
                     }, function () {
-                        http.post(baseUrl + "/hand/control/wrkMast", {workNo: data.wrkNo, type: 2}, function (res) {
+                        http.post(baseUrl + "/task/control", {workNo: data.wrkNo, type: 2}, function (res) {
                             $(".layui-laypage-btn")[0].click();
                             layer.msg(data.wrkNo + res.msg);
                         })
@@ -186,7 +182,7 @@
                         title: '宸ヤ綔鍙凤細' + data.wrkNo,
                         shadeClose: true
                     }, function () {
-                        http.post(baseUrl + "/hand/control/wrkMast", {workNo: data.wrkNo, type: 2}, function (res) {
+                        http.post(baseUrl + "/task/control", {workNo: data.wrkNo, type: 2}, function (res) {
                             $(".layui-laypage-btn")[0].click();
                             layer.msg(data.wrkNo + res.msg);
                         })
@@ -197,7 +193,7 @@
             //  鎷f枡鍏ュ簱
             case 'pick':
                 layer.confirm('鎷f枡鍏ュ簱璇ョ瑪宸ヤ綔妗o紵', {title: '宸ヤ綔鍙凤細' + data.wrkNo, shadeClose: true}, function () {
-                    http.post(baseUrl + "/hand/control/wrkMast", {workNo: data.wrkNo, type: 3}, function (res) {
+                    http.post(baseUrl + "/task/control", {workNo: data.wrkNo, type: 3}, function (res) {
                         $(".layui-laypage-btn")[0].click();
                         layer.msg(data.wrkNo + res.msg);
                     })

--
Gitblit v1.9.1