From 757f103f37d83dfb55bb49b3df0b805cb520d4f7 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期六, 11 十月 2025 15:28:26 +0800
Subject: [PATCH] 第三版

---
 src/main/webapp/static/js/waitPakin/waitPakin.js |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/waitPakin/waitPakin.js b/src/main/webapp/static/js/waitPakin/waitPakin.js
index 35600fd..09e7d29 100644
--- a/src/main/webapp/static/js/waitPakin/waitPakin.js
+++ b/src/main/webapp/static/js/waitPakin/waitPakin.js
@@ -2,7 +2,8 @@
 function getCol() {
     var cols = [ {type: 'checkbox'} ];
     cols.push.apply(cols, detlCols);
-    cols.push({field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){
+    cols.push({field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
+        ,{field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){
                 var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='姝e父|閿佸畾'' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
                 if(row.status === 'Y'){html += " checked ";}
                 html += ">";
@@ -15,7 +16,8 @@
                 return html;
             }}
         ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
-        ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true})
+        ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+        ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:250})
     return cols;
 }
 
@@ -323,6 +325,16 @@
                    });
                 }
                 break;
+            case 'complete':
+                layer.confirm('纭閲嶆柊鍛煎彨agv杩涜鍏ュ簱鎼繍锛�', {title: '鎵樼洏鐮侊細'+data.zpallet, shadeClose: true}, function(){
+                    http.post(baseUrl+"/hand/control/complete1", {zpallet: data.zpallet, type:1}, function (res) {
+                        $(".layui-laypage-btn")[0].click();
+                        layer.msg(data.wrkNo + res.msg);
+                    })
+                    layer.closeAll();
+
+                });
+                break;
 
         }
     });
@@ -463,7 +475,8 @@
         if (find[0]!=null){
             if (find[0].type === 'checkbox'){
                 if (data[val]==='Y'){
-                    find.attr("checked","checked");
+                    find.attr
+                    ("checked","checked");
                     find.val('Y');
                 } else {
                     find.remove("checked");

--
Gitblit v1.9.1