From 19e95f4acc328bbf62a0427fe658d00268019e66 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期一, 07 四月 2025 10:14:34 +0800
Subject: [PATCH] 修改IIS配置

---
 Pda/View/HouseDataSetting/agvTransport.html |   76 ++++++++++++++++++++++----------------
 1 files changed, 44 insertions(+), 32 deletions(-)

diff --git a/Pda/View/HouseDataSetting/agvTransport.html b/Pda/View/HouseDataSetting/agvTransport.html
index 6151fab..ab39e3f 100644
--- a/Pda/View/HouseDataSetting/agvTransport.html
+++ b/Pda/View/HouseDataSetting/agvTransport.html
@@ -7,7 +7,7 @@
     <!-- <meta name="viewport" content="width=device-width, initial-scale=0.665, minimum-scale=0.5, maximum-scale=1, user-scalable=no" /> -->
     <!-- <meta name="viewport" content="width=device-width, initial-scale=0.665" /> -->
     <meta http-equiv="X-UA-Compatible" content="ie=edge" />
-    <title>Boxline PDA</title>
+    <title>AGV杞繍</title>
 
     <link rel="stylesheet" href="/layui/css/layui.css" />
     <link rel="stylesheet" href="/css/style.css" />
@@ -143,10 +143,12 @@
                             <div class="layui-input-block" id="selectRuku">
                                 <select id="Ruku" lay-filter="getRuku" lay-search>
                                     <option value=""></option>
-                                    <option value="A">A</option>
-                                    <option value="B">B</option>
-                                    <option value="C">C</option>
-                                    <option value="D">D</option>
+                                    <option value="033">033</option>
+                                    <option value="039">039</option>
+                                    <option value="044">044</option>
+                                    <option value="051">051</option>
+                                    <option value="443">443</option>
+                                    <option value="440">440</option>
                                 </select>
                                 <img src="/assets/down_arraw.png">
                             </div>
@@ -232,7 +234,7 @@
                                 </select>
                                 <img src="/assets/down_arraw.png">
                             </div>
-                        </div>                        
+                        </div>
 
                         <table class="layout-tbl-submit" border="" cellspacing="" cellpadding="">
                             <tr>
@@ -332,9 +334,18 @@
             initLanguage()
             setLanguage()
 
+            function clear() {
+				$("#Quyu").empty()
+				$("#Quyu").append('<option value =>' + '</option>');
+                $("#Ruku").empty()
+				$("#Ruku").append('<option value =>' + '</option>');
+				form.render('select');
+                $('#STOCKCODE').val("");
+				$('#LocatNo').val("");
+			}
             //褰撳墠鍒嗛〉
             var curPageIndex = 1;
-            
+
             // 鎵樼洏鐮佹枃鏈敼鍙樻椂瑙﹀彂
             $("#STOCKCODE").on('input', function () {
                 if ($("#STOCKCODE").val() == "" || $("#STOCKCODE").val().length < 8) {
@@ -385,7 +396,7 @@
                     });
                 }
                 else if (xianshiyemian == 1) {
-                    
+
                 }
 
             }
@@ -429,7 +440,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');
@@ -444,9 +455,9 @@
                         callback(res.data)
                     } else { //涓嶆垚鍔�
                         layer.msg(res.msg, {
-                        	icon: 2,
-                        	time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        }, function() {});
+                            icon: 2,
+                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                        }, function () { });
                     }
                 });
             }
@@ -476,7 +487,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');
@@ -497,8 +508,8 @@
                     }
                 });
             }
-             //閫変腑鍑哄簱鍗曚簨浠�
-             form.on('select(getOutNo)', function (data) {
+            //閫変腑鍑哄簱鍗曚簨浠�
+            form.on('select(getOutNo)', function (data) {
                 $("#PalletNo").empty()
                 $("#PalletNo").append('<option value =>' + '</option>');
                 form.render('select');
@@ -507,7 +518,7 @@
                 $("#Quyu2").append('<option value =>' + '</option>');
                 form.render('select');
 
-                refreshTable()
+                //refreshTable()
             });
 
             //鐐瑰嚮鎵樼洏鏉$爜涓嬫媺妗嗕簨浠�
@@ -537,12 +548,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');
@@ -606,7 +617,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');
@@ -621,9 +632,9 @@
                         callback(res.data)
                     } else { //涓嶆垚鍔�
                         layer.msg(res.msg, {
-                        	icon: 2,
-                        	time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        }, function() {});
+                            icon: 2,
+                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                        }, function () { });
                     }
                 });
             }
@@ -664,14 +675,15 @@
                                 icon: 1,
                                 time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                             }, function () {
-                               
+                                clear()
+
                             });
                         } else { //涓嶆垚鍔�
                             layer.msg(res.msg, {
                                 icon: 2,
                                 time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                             }, function () {
-                                //鍥炶皟
+                                clear()
                             });
                         }
                     });
@@ -683,7 +695,7 @@
                             time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                         });
                         return;
-                    }                    
+                    }
                     // if ($("#PalletNo").val() == "") {
                     //     layer.msg('璇锋壂鎻忔墭鐩樻潯鐮�', {
                     //         icon: 2,
@@ -701,7 +713,7 @@
                     var param = {
                         SoNo: $("#OutNo").val(), //鍑哄簱鍗曟嵁
                         PalletNo: $("#PalletNo").val(), //鎵樼洏鏉$爜
-                        AreaNo: $("#Quyu").val()//鐩爣鍖哄煙
+                        AreaNo: $("#Quyu2").val()//鐩爣鍖哄煙
                     }
                     //鍛煎彨灏忚溅
                     sendData(IP + "/PdaCr/AgvTransport2", param, 'post', function (res) {
@@ -710,7 +722,7 @@
                                 icon: 1,
                                 time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
                             }, function () {
-                               
+
                             });
                         } else { //涓嶆垚鍔�
                             layer.msg(res.msg, {
@@ -737,13 +749,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) {
@@ -762,7 +774,7 @@
                                 tr.find("td[name='code']").html(res.data[i].BoxNo);
                                 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
                             }
@@ -785,7 +797,7 @@
                     for (i = len - 1; i >= 2; i--) {
                         trs[i].remove();
                     }
-                    if($("#PalletNo").val()==''){
+                    if ($("#PalletNo").val() == '') {
                         return;
                     }
                     var param = {
@@ -808,7 +820,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