From b7e08df5a07b3fa832a46ecc31983e16f2bccc8c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 24 七月 2023 14:56:01 +0800
Subject: [PATCH] # 出库作业,和库存明细管理 排序

---
 src/main/webapp/static/js/pltBarcode/pltBarcode.js |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/main/webapp/static/js/pltBarcode/pltBarcode.js b/src/main/webapp/static/js/pltBarcode/pltBarcode.js
index 29ddbdd..02d3121 100644
--- a/src/main/webapp/static/js/pltBarcode/pltBarcode.js
+++ b/src/main/webapp/static/js/pltBarcode/pltBarcode.js
@@ -27,23 +27,32 @@
             ,{field: 'billType$', align: 'center',title: '鍗曟嵁绫诲瀷', hide: true}
             ,{field: 'matNo', align: 'center',title: '鐗╂枡缂栫爜'}
             ,{field: 'matName', align: 'center',title: '鐗╂枡鍚嶇О'}
-            ,{field: 'qty', align: 'center',title: '鏁伴噺'}
+            ,{field: 'qty', align: 'center',title: '鍏ュ簱鏁伴噺'}
+            ,{field: 'qtyBox', align: 'center',title: '姣忕鏁伴噺(PCS)'}
+            ,{field: 'allQty', align: 'center',title: '鎬绘暟閲�(PCS)'}
             ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
             ,{field: 'specs', align: 'center',title: '瑙勬牸'}
             ,{field: 'unit', align: 'center',title: '鍗曚綅'}
             ,{field: 'size', align: 'center',title: '灏哄', hide: true}
             ,{field: 'color', align: 'center',title: '棰滆壊', hide: true}
-            ,{field: 'weight', align: 'center',title: '鍗曢噸', hide: true}
-            ,{field: 'memo', align: 'center',title: '澶囨敞'}
+            ,{field: 'weight', align: 'center',title: '姣忕閲嶉噺(KG)' }
+            ,{field: 'allWeight', align: 'center',title: '鎬婚噸閲�(KG)'}
+            ,{field: 'source', align: 'center',title: '鏉ユ簮'}
+            ,{field: 'supplier', align: 'center',title: '鎵瑰彿'}
+            ,{field: 'vendor', align: 'center',title: '渚涘簲鍟�'}
+            ,{field: 'memo', align: 'center',title: '鐢熶骇鏃ユ湡'}
+            ,{field: 'str3', align: 'center',title: '瀹㈡埛鍚嶇О'}
+            ,{field: 'str4', align: 'center',title: '椤圭洰淇℃伅'}
+            ,{field: 'str5$', align: 'center',title: '绫诲埆'}
             ,{field: 'linkErp$', align: 'center',title: 'ERP杩炵嚎', hide: true}
-            ,{field: 'ioStatus$', align: 'center',title: '瀹屾垚鐘舵��', hide: true}
+            ,{field: 'ioStatus$', align: 'center',title: '瀹屾垚鐘舵��'}
             ,{field: 'ioTime$', align: 'center',title: '瀹屾垚鏃堕棿', hide: true}
             ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',event: 'modiUser', style: 'cursor:pointer', hide: true}
             ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide: true}
             ,{field: 'appeUser$', align: 'center',title: '寤烘。浜哄憳',event: 'appeUser', style: 'cursor:pointer', hide: true}
             ,{field: 'appeTime$', align: 'center',title: '寤烘。鏃堕棿', hide: true}
 
-            ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+            // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
         ]],
         request: {
             pageName: 'curr',
@@ -96,7 +105,7 @@
                    return;
                }
                var ids = checkStatus.map(function (d) {
-                   return d.seqNo;
+                   return d.barcode;
                });
                del(ids);
                break;
@@ -149,7 +158,7 @@
                 showEditModel(data);
                 break;
             case "del":
-                var ids = [data.seqNo];
+                var ids = [data.barcode];
                 del(ids);
                 break;
         }
@@ -195,7 +204,7 @@
 
     /* 鍒犻櫎 */
     function del(ids) {
-        layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+        layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵灏嗗垹闄よ鏉$爜缁勬墭鎵�鏈夋暟鎹�', {
             skin: 'layui-layer-admin',
             shade: .1
         }, function (i) {

--
Gitblit v1.9.1