From 3278201562dc71cc4fbffb54786639fa4521afb4 Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 26 三月 2024 16:28:54 +0800
Subject: [PATCH] 优化PDA库存查询功能
---
Pda/View/HouseDataSetting/agvTransport.html | 51 +++++++++++++++++++++++++++------------------------
1 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/Pda/View/HouseDataSetting/agvTransport.html b/Pda/View/HouseDataSetting/agvTransport.html
index 5c89e82..6151fab 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;"); //閫変腑鍚庨鑹�
});
});
@@ -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,
--
Gitblit v1.8.0