From bbd55a7466e770e7acb86ccc9d83ab20bde17980 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 19:30:45 +0800
Subject: [PATCH] 增加申请空托跺出库接口

---
 Pda/View/HouseDataSetting/agvTransport.html |   55 +++++++++++++++++++++++++++++--------------------------
 1 files changed, 29 insertions(+), 26 deletions(-)

diff --git a/Pda/View/HouseDataSetting/agvTransport.html b/Pda/View/HouseDataSetting/agvTransport.html
index 5c89e82..e0660df 100644
--- a/Pda/View/HouseDataSetting/agvTransport.html
+++ b/Pda/View/HouseDataSetting/agvTransport.html
@@ -101,13 +101,16 @@
                 </ul>
             </div>
 
-            <ul>
+            <!-- <ul>
                 <li id="option1">灏忚溅</li>
                 <li id="option2">鍙揣</li>
 
-            </ul>
+            </ul> -->
 
-            <br />
+            <button id="option1" class="layout-btn" type="button">灏忚溅</button>
+            <button id="option2" class="layout-btn" type="button">鍙揣</button>
+            <br /><br />
+
             <!-- 鏈夌爜 -->
             <div id="content1">
                 <div id="zongDiv" class="layout-bill-info" style="height: 170px;">
@@ -236,7 +239,7 @@
                                 <td style="width: 23%;"></td>
                                 <td>
                                     <button class="layout-btn layout-btn-red" lang type="button" lay-submit
-                                        lay-filter="formCall2">鍙皬杞�</button>
+                                        lay-filter="formCall">鍙皬杞�</button>
                                 </td>
                                 <td style="width: 33%;"></td>
 
@@ -298,28 +301,28 @@
 
             var xianshiyemian = 0;
 
-            $('#option1').attr("style", "background-color: aqua;width: 45.77%;float: left;text-align: center;"); //閫変腑鍚庨鑹�
-            $('#option2').attr("style", "background-color: #999;width: 45.77%;float: right;text-align: center;"); //榛樿棰滆壊
+            $('#option1').attr("style", "background-color: red;width: 50%;float: left;text-align: center;"); //閫変腑鍚庨鑹�
+            $('#option2').attr("style", "background-color: #999;width: 50%;float: right;text-align: center;"); //榛樿棰滆壊
             $('#content2').hide();
             $(document).ready(function () {
                 $('#option1').click(function () {
                     // qingkong();
                     xianshiyemian = 0;
                     $('#content1').show();
-                    $('#option1').attr("style", "background-color: aqua;width: 45.77%;float: left;text-align: center;"); //閫変腑鍚庨鑹�
+                    $('#option1').attr("style", "background-color: red;width: 50%;float: left;text-align: center;"); //閫変腑鍚庨鑹�
 
                     $('#content2').hide();
-                    $('#option2').attr("style", "background-color: #999;width: 45.77%;float: right;text-align: center;"); //榛樿棰滆壊
+                    $('#option2').attr("style", "background-color: #999;width: 50%;float: right;text-align: center;"); //榛樿棰滆壊
                 });
 
                 $('#option2').click(function () {
                     // qingkong();
                     xianshiyemian = 1;
                     $('#content1').hide();
-                    $('#option1').attr("style", "background-color: #999;width: 45.77%;float: left;text-align: center;"); //榛樿棰滆壊
+                    $('#option1').attr("style", "background-color: #999;width: 50%;float: left;text-align: center;"); //榛樿棰滆壊
 
                     $('#content2').show();
-                    $('#option2').attr("style", "background-color: aqua;width: 45.77%;float: right;text-align: center;"); //閫変腑鍚庨鑹�
+                    $('#option2').attr("style", "background-color: red;width: 50%;float: right;text-align: center;"); //閫変腑鍚庨鑹�
 
                 });
             });
@@ -504,7 +507,7 @@
                 $("#Quyu2").append('<option value =>' + '</option>');
                 form.render('select');
 
-                refreshTable()
+                //refreshTable()
             });
 
             //鐐瑰嚮鎵樼洏鏉$爜涓嬫媺妗嗕簨浠�
@@ -572,13 +575,13 @@
 
             //鐐瑰嚮鐩爣鍖哄煙涓嬫媺妗嗕簨浠�
             $("#selectQuyu2").click(function () {
-                if ($("#PalletNo").val() == "") {
-                    layer.msg('璇峰厛閫夋嫨鎵樼洏鏉$爜', {
-                        icon: 2,
-                        time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                    });
-                    return
-                }
+                // if ($("#PalletNo").val() == "") {
+                //     layer.msg('璇峰厛閫夋嫨鎵樼洏鏉$爜', {
+                //         icon: 2,
+                //         time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                //     });
+                //     return
+                // }
                 var input = $('select[id="Quyu2"]').next().find('.layui-select-title input')
                 var val = input.val()
                 //鍏堟洿鏂颁竴涓嬬洰鏍囧尯鍩�
@@ -681,13 +684,13 @@
                         });
                         return;
                     }                    
-                    if ($("#PalletNo").val() == "") {
-                        layer.msg('璇锋壂鎻忔墭鐩樻潯鐮�', {
-                            icon: 2,
-                            time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                        });
-                        return;
-                    }
+                    // if ($("#PalletNo").val() == "") {
+                    //     layer.msg('璇锋壂鎻忔墭鐩樻潯鐮�', {
+                    //         icon: 2,
+                    //         time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+                    //     });
+                    //     return;
+                    // }
                     if ($("#Quyu2").val() == "") {
                         layer.msg('璇烽�夋嫨鐩爣鍖哄煙', {
                             icon: 2,
@@ -698,7 +701,7 @@
                     var param = {
                         SoNo: $("#OutNo").val(), //鍑哄簱鍗曟嵁
                         PalletNo: $("#PalletNo").val(), //鎵樼洏鏉$爜
-                        AreaNo: $("#Quyu").val()//鐩爣鍖哄煙
+                        AreaNo: $("#Quyu2").val()//鐩爣鍖哄煙
                     }
                     //鍛煎彨灏忚溅
                     sendData(IP + "/PdaCr/AgvTransport2", param, 'post', function (res) {

--
Gitblit v1.8.0