From c32c0611a92f428cf0d2da76eff110ac065f664c Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期一, 27 十月 2025 10:39:05 +0800
Subject: [PATCH] #1

---
 src/main/webapp/views/pakStore/locDetlQuery.html |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/views/pakStore/locDetlQuery.html b/src/main/webapp/views/pakStore/locDetlQuery.html
index e3ae124..18cee64 100644
--- a/src/main/webapp/views/pakStore/locDetlQuery.html
+++ b/src/main/webapp/views/pakStore/locDetlQuery.html
@@ -64,7 +64,7 @@
         </div>
         <div class="layui-inline">
             <div class="layui-input-inline">
-                <input class="layui-input" type="text" name="matnr" placeholder="鍟嗗搧缂栧彿"  autocomplete="off">
+                <input class="layui-input" type="text" name="matnr" placeholder="鍟嗗搧妯″叿鍚嶇О"  autocomplete="off">
             </div>
         </div>
         <div class="layui-inline">
@@ -74,7 +74,7 @@
         </div>
         <div class="layui-inline">
             <div class="layui-input-inline">
-                <input class="layui-input" type="text" name="proType" placeholder="灞炴��"  autocomplete="off">
+                <input class="layui-input" type="text" name="zpallet" placeholder="鎵樼洏鐮�"  autocomplete="off">
             </div>
         </div>
         <div class="layui-inline">
@@ -126,8 +126,10 @@
 
     function getCol() {
         var cols = [
-            {type: 'checkbox', merge: ['locNo']}
-            ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'}
+            //{type: 'checkbox', merge: ['locNo']},
+            {type: 'checkbox'}
+            ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�', style: 'font-weight: bold'}
+            //,{field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'}
             // ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'}
         ];
         cols.push.apply(cols, detlCols);
@@ -186,6 +188,9 @@
         table.on('toolbar(stockOut)', function (obj) {
             var checkStatus = table.checkStatus(obj.config.id);
             var data = checkStatus.data;
+            // console.info(obj)
+            // console.info(JSON.stringify(obj))
+            // console.info(JSON.stringify(data))
             switch(obj.event) {
                 case 'confirm':
                     if (data.length === 0){
@@ -193,13 +198,15 @@
                         return;
                     }
                     let locNos = [];
+                    let matnrs = [];
                     data.forEach(function(elem) {
                         locNos.push(elem.locNo);
+                        matnrs.push(elem.matnr);
                     });
                     $.ajax({
-                        url: baseUrl+"/locDetl/auth",
+                        url: baseUrl+"/locDetlOut/auth",
                         headers: {'token': localStorage.getItem('token')},
-                        data: {locNos:locNos},
+                        data: {locNos:locNos,matnrs:matnrs},
                         method: 'POST',
                         async: false,
                         success: function (res) {

--
Gitblit v1.9.1