From 157abc191c34e57c1b958ae74fc3de6518ca8a30 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 28 二月 2025 11:06:36 +0800
Subject: [PATCH] 修改客户需求
---
Pda/View/HouseDataSetting/agvTransport.html | 92 +++++++++++++++++++++++----------------------
1 files changed, 47 insertions(+), 45 deletions(-)
diff --git a/Pda/View/HouseDataSetting/agvTransport.html b/Pda/View/HouseDataSetting/agvTransport.html
index a1c8dae..5975112 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,14 +234,14 @@
</select>
<img src="/assets/down_arraw.png">
</div>
- </div>
+ </div>
<table class="layout-tbl-submit" border="" cellspacing="" cellpadding="">
<tr>
<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>
@@ -334,7 +336,7 @@
//褰撳墠鍒嗛〉
var curPageIndex = 1;
-
+
// 鎵樼洏鐮佹枃鏈敼鍙樻椂瑙﹀彂
$("#STOCKCODE").on('input', function () {
if ($("#STOCKCODE").val() == "" || $("#STOCKCODE").val().length < 8) {
@@ -385,7 +387,7 @@
});
}
else if (xianshiyemian == 1) {
-
+
}
}
@@ -429,7 +431,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 +446,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 +478,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 +499,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 +509,7 @@
$("#Quyu2").append('<option value =>' + '</option>');
form.render('select');
- refreshTable()
+ //refreshTable()
});
//鐐瑰嚮鎵樼洏鏉$爜涓嬫媺妗嗕簨浠�
@@ -537,12 +539,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');
@@ -575,13 +577,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()
//鍏堟洿鏂颁竴涓嬬洰鏍囧尯鍩�
@@ -606,7 +608,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 +623,9 @@
callback(res.data)
} else { //涓嶆垚鍔�
layer.msg(res.msg, {
- icon: 2,
- time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
- }, function() {});
+ icon: 2,
+ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ }, function () { });
}
});
}
@@ -664,7 +666,7 @@
icon: 1,
time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
}, function () {
-
+
});
} else { //涓嶆垚鍔�
layer.msg(res.msg, {
@@ -683,14 +685,14 @@
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
});
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,
@@ -701,7 +703,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 +712,7 @@
icon: 1,
time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
}, function () {
-
+
});
} else { //涓嶆垚鍔�
layer.msg(res.msg, {
@@ -737,13 +739,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 +764,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 +787,7 @@
for (i = len - 1; i >= 2; i--) {
trs[i].remove();
}
- if($("#PalletNo").val()==''){
+ if ($("#PalletNo").val() == '') {
return;
}
var param = {
@@ -808,7 +810,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