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/views/pda/stockQuery.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/webapp/views/pda/stockQuery.html b/src/main/webapp/views/pda/stockQuery.html
index 595f41c..34c9a2e 100644
--- a/src/main/webapp/views/pda/stockQuery.html
+++ b/src/main/webapp/views/pda/stockQuery.html
@@ -108,11 +108,11 @@
             limit: 500,
             cellMinWidth: 50,
             cols: [[
-                {field: 'matNo', align: 'center', title: '缂栫爜', event: 'detail'},
-                {field: 'matName', align: 'center', title: '鍚嶇О', event: 'detail'},
-                {field: 'locNo', align: 'center', title: '搴撲綅', event: 'detail'},
-                {field: 'count', align: 'center', title: '鏁伴噺', event: 'detail', style:'color: blue', width:50},
-                {field: 'pickNum', align: 'center', title: '鎷f枡', event: 'detail', width:50},
+                {field: 'matNo', align: 'center', title: '缂栫爜', event: 'detail'}
+                ,{field: 'matName', align: 'center', title: '鍚嶇О', event: 'detail'}
+                ,{field: 'locNo', align: 'center', title: '搴撲綅', event: 'detail'}
+                ,{field: 'count', align: 'center', title: '鏁伴噺', event: 'detail', style:'color: blue', width:50}
+                // ,{field: 'pickNum', align: 'center', title: '鎷f枡', event: 'detail', width:50}
             ]],
             done: function (res, curr, count) {
             }
@@ -152,7 +152,7 @@
     // 淇敼琛ㄦ牸鏁版嵁
     function updateTableData(data) {
         for (var i=0;i<locDetlData.length;i++) {
-            if (data.matNo === locDetlData[i].matNo && data.locNo === locDetlData[i].locNo) {
+            if (data.matnr === locDetlData[i].matnr && data.locNo === locDetlData[i].locNo) {
                 locDetlData[i].count = data.count;
                 break
             }
@@ -163,7 +163,7 @@
     // 鍒犻櫎琛ㄦ牸琛�
     function removeTableData(data) {
         for (var i = locDetlData.length - 1; i >= 0; i--) {
-            if (locDetlData[i].locNo === data.locNo && locDetlData[i].matNo === data.matNo) {
+            if (locDetlData[i].locNo === data.locNo && locDetlData[i].matnr === data.matnr) {
                 locDetlData.splice(i, 1);
             }
         }

--
Gitblit v1.9.1