From cd93dd1fd57afa3437e43499236273c2e1df4423 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期五, 19 十二月 2025 14:55:50 +0800
Subject: [PATCH] 车间出库页面车间增加1003车间一楼备件库

---
 Pda/View/HouseDataSetting/agvTransport.html |   66 ++++++++++++++++----------------
 1 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/Pda/View/HouseDataSetting/agvTransport.html b/Pda/View/HouseDataSetting/agvTransport.html
index c194831..acf7f6f 100644
--- a/Pda/View/HouseDataSetting/agvTransport.html
+++ b/Pda/View/HouseDataSetting/agvTransport.html
@@ -138,7 +138,7 @@
                                 <img src="/assets/down_arraw.png">
                             </div>
                         </div>
-                         <div id="" class="layui-form-item layout-dropdownlist">
+                        <div id="" class="layui-form-item layout-dropdownlist">
                             <label class="layui-form-label" lang>鐩爣鍌ㄤ綅锛�</label>
                             <div class="layui-input-block" id="selectLocatNoEnd">
                                 <select id="LocatNoEnd" lay-filter="getLocatNoEnd" lay-search>
@@ -238,7 +238,7 @@
                                 </select>
                                 <img src="/assets/down_arraw.png">
                             </div>
-                        </div>                        
+                        </div>
 
                         <table class="layout-tbl-submit" border="" cellspacing="" cellpadding="">
                             <tr>
@@ -340,7 +340,7 @@
 
             //褰撳墠鍒嗛〉
             var curPageIndex = 1;
-            
+
             // 鎵樼洏鐮佹枃鏈敼鍙樻椂瑙﹀彂
             $("#STOCKCODE").on('input', function () {
                 if ($("#STOCKCODE").val() == "" || $("#STOCKCODE").val().length < 8) {
@@ -391,7 +391,7 @@
                     });
                 }
                 else if (xianshiyemian == 1) {
-                    
+
                 }
 
             }
@@ -435,7 +435,7 @@
                     if (res.code == 0) { //鎴愬姛
                         for (var i = 0; i < res.data.length; i++) {
                             $("#Quyu").append('<option value =' + res.data[i].AreaNo + '>' + res.data[i]
-                                .AreaNo + '-'+res.data[i].AreaName+
+                                .AreaNo + '-' + res.data[i].AreaName +
                                 '</option>');
                         }
                         form.render('select');
@@ -450,15 +450,15 @@
                         callback(res.data)
                     } else { //涓嶆垚鍔�
                         layer.msg(res.msg, {
-                        	icon: 2,
-                        	time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        }, function() {});
+                            icon: 2,
+                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                        }, function () { });
                     }
                 });
             }
-             //閫変腑鍑哄簱鍗曚簨浠�
-             form.on('select(getQuyu)', function (data) {
-                  //鍏堟洿鏂颁竴涓嬬洰鏍囧尯鍩�
+            //閫変腑鍑哄簱鍗曚簨浠�
+            form.on('select(getQuyu)', function (data) {
+                //鍏堟洿鏂颁竴涓嬬洰鏍囧尯鍩�
                 updateLocatNoEndList()
             });
             //鐐瑰嚮鐩爣鍌ㄤ綅涓嬫媺妗嗕簨浠�
@@ -470,7 +470,7 @@
                     });
                     return
                 }
-             
+
             })
             /* 缁戝畾鐩爣鍌ㄤ綅淇℃伅 */
             function updateLocatNoEndList() {
@@ -484,14 +484,14 @@
                 sendData(IP + "/PdaCr/GetLocatByArea", param, 'get', function (res) {
                     if (res.code == 0) { //鎴愬姛
                         for (var i = 0; i < res.data.length; i++) {
-                            $("#LocatNoEnd").append('<option value =' + res.data[i] + '>' + res.data[i]+ '</option>');
+                            $("#LocatNoEnd").append('<option value =' + res.data[i].LocatNo + '>' + res.data[i].Remark + res.data[i].LocatNo + '</option>');
                         }
                         form.render('select');
                     } else { //涓嶆垚鍔�
                         layer.msg(res.msg, {
-                        	icon: 2,
-                        	time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        }, function() {});
+                            icon: 2,
+                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                        }, function () { });
                     }
                 });
             }
@@ -521,7 +521,7 @@
                 sendData(IP + "/PdaCr/GetRunSoNoticeList", param, 'get', function (res) {
                     if (res.code == 0) { //鎴愬姛
                         for (var i = 0; i < res.data.length; i++) {
-                            $("#OutNo").append('<option value =' + res.data[i] + '>' + res.data[i]+
+                            $("#OutNo").append('<option value =' + res.data[i] + '>' + res.data[i] +
                                 '</option>');
                         }
                         form.render('select');
@@ -542,8 +542,8 @@
                     }
                 });
             }
-             //閫変腑鍑哄簱鍗曚簨浠�
-             form.on('select(getOutNo)', function (data) {
+            //閫変腑鍑哄簱鍗曚簨浠�
+            form.on('select(getOutNo)', function (data) {
                 $("#PalletNo").empty()
                 $("#PalletNo").append('<option value =>' + '</option>');
                 form.render('select');
@@ -582,12 +582,12 @@
                 form.render('select');
 
                 var param = {
-                    soNo:$("#OutNo").val()
+                    soNo: $("#OutNo").val()
                 };
                 sendData(IP + "/PdaCr/GetPalletNoListBySoNo", param, 'get', function (res) {
                     if (res.code == 0) { //鎴愬姛
                         for (var i = 0; i < res.data.length; i++) {
-                            $("#PalletNo").append('<option value =' + res.data[i] + '>' + res.data[i]+
+                            $("#PalletNo").append('<option value =' + res.data[i] + '>' + res.data[i] +
                                 '</option>');
                         }
                         form.render('select');
@@ -651,7 +651,7 @@
                     if (res.code == 0) { //鎴愬姛
                         for (var i = 0; i < res.data.length; i++) {
                             $("#Quyu2").append('<option value =' + res.data[i].AreaNo + '>' + res.data[i]
-                                .AreaNo + '-'+res.data[i].AreaName+
+                                .AreaNo + '-' + res.data[i].AreaName +
                                 '</option>');
                         }
                         form.render('select');
@@ -666,9 +666,9 @@
                         callback(res.data)
                     } else { //涓嶆垚鍔�
                         layer.msg(res.msg, {
-                        	icon: 2,
-                        	time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        }, function() {});
+                            icon: 2,
+                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                        }, function () { });
                     }
                 });
             }
@@ -710,7 +710,7 @@
                                 icon: 1,
                                 time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                             }, function () {
-                               
+
                             });
                         } else { //涓嶆垚鍔�
                             layer.msg(res.msg, {
@@ -729,7 +729,7 @@
                             time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                         });
                         return;
-                    }                    
+                    }
                     // if ($("#PalletNo").val() == "") {
                     //     layer.msg('璇锋壂鎻忔墭鐩樻潯鐮�', {
                     //         icon: 2,
@@ -756,7 +756,7 @@
                                 icon: 1,
                                 time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                             }, function () {
-                               
+
                             });
                         } else { //涓嶆垚鍔�
                             layer.msg(res.msg, {
@@ -783,13 +783,13 @@
                     for (i = len - 1; i >= 2; i--) {
                         trs[i].remove();
                     }
-                    if($("#STOCKCODE").val()==''){
+                    if ($("#STOCKCODE").val() == '') {
                         return;
                     }
 
                     var param = {
                         PalletNo: $("#STOCKCODE").val(),
-                        IsHuiKu:1
+                        IsHuiKu: 1
                     };
                     //  鏍规嵁鎵樼洏鍙疯幏鍙栫鐮佷俊鎭�
                     sendData(IP + "/PdaCr/GetSkuInfoByPalletNo", param, 'get', function (res) {
@@ -808,7 +808,7 @@
                                 tr.find("td[name='code']").html(res.data[i].SkuNo);
                                 tr.find("td[name='name']").html(res.data[i].SkuName);
                                 tr.find("td[name='lotNo']").html(res.data[i].LotNo);
-                                tr.find("td[name='num']").html(res.data[i].Qty);                                
+                                tr.find("td[name='num']").html(res.data[i].Qty);
                                 tr.show();
                                 arrTrs[i] = tr
                             }
@@ -831,7 +831,7 @@
                     for (i = len - 1; i >= 2; i--) {
                         trs[i].remove();
                     }
-                    if($("#PalletNo").val()==''){
+                    if ($("#PalletNo").val() == '') {
                         return;
                     }
                     var param = {
@@ -854,7 +854,7 @@
                                 tr.find("td[name='code']").html(res.data[i].SkuNo);
                                 tr.find("td[name='name']").html(res.data[i].SkuName);
                                 tr.find("td[name='lotNo']").html(res.data[i].LotNo);
-                                tr.find("td[name='num']").html(res.data[i].Qty);                                
+                                tr.find("td[name='num']").html(res.data[i].Qty);
                                 tr.show();
                                 arrTrs[i] = tr
                             }

--
Gitblit v1.8.0