From d1ecbc098962cfdcb1cf58abc06d16592fb3ce22 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 17 一月 2025 15:36:46 +0800
Subject: [PATCH] 1楼空托盘垛出库禁止AGV拉货
---
HTML/views/ASNSetting/PalletBindFrom.html | 57 +++++++++++++++++++++++++++++----------------------------
1 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/HTML/views/ASNSetting/PalletBindFrom.html b/HTML/views/ASNSetting/PalletBindFrom.html
index b3650a0..8a92eeb 100644
--- a/HTML/views/ASNSetting/PalletBindFrom.html
+++ b/HTML/views/ASNSetting/PalletBindFrom.html
@@ -135,8 +135,9 @@
if (res.code == 0) { //鎴愬姛
$("#BillCode").empty();
$("#BillCode").append("<option value =''></option>");
+ console.log(res);
for (var i = 0; i < res.data.length; i++) {
- $("#BillCode").append('<option value =' + res.data[i].ASNNo + '>' + res.data[i].ASNNo +
+ $("#BillCode").append('<option value =' + res.data[i] + '>' + res.data[i] +
'</option>');
}
form.render('select');
@@ -222,7 +223,7 @@
{field: 'BoxNo',title: '绠辩爜',align: 'center',fixed: 'left',width:220},
{field: 'SkuNo',title: '鐗╂枡缂栧彿',align: 'center',width:150},
{field: 'SkuName',title: '鐗╂枡鍚嶇О',align: 'center'},
- {field: 'LotNo',templet: '#buttonTpl',title: '鎵规鍙�',align: 'center',width:150},
+ {field: 'LotNo',templet: '#buttonTpl',title: '杩涘巶缂栧彿',align: 'center',width:150},
{field: 'Qty',title: '瀹為檯鏁伴噺',align: 'center',width:150},
// {field: 'Standard',title: '鐗╁搧瑙勬牸',align: 'center'},
//{title: '鎿嶄綔',width: 100,align: 'center',toolbar: '#table-content-list'}
@@ -308,33 +309,33 @@
console.i
- // if (doing) {
- // doing = false;
- // //缁勭洏
- // sendData(IP + "/PdaAsn/BindPallet", param, 'post', function (res) {
- // if (res.code == 0) { //鎴愬姛
- // layer.msg(res.msg, {
- // icon: 1,
- // time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
- // }, function () {
- // renderTable(null);
- // $("#boxNo").val("");
- // $("#boxNo2").val("");
- // var index = parent.layer.getFrameIndex(window.name)
- // parent.layer.close(index); //鍏抽棴寮瑰眰
- // parent.layui.table.reload('PalletBind');
- // parent.layui.table.reload('BoxInfo');
- // doing = true;
- // });
- // } else { //涓嶆垚鍔�
- // layer.msg(res.msg, {
- // icon: 2,
- // time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
- // }, function () { doing = true;});
- // }
- // });
+ if (doing) {
+ doing = false;
+ //缁勭洏
+ sendData(IP + "/PdaAsn/BindPallet", param, 'post', function (res) {
+ if (res.code == 0) { //鎴愬姛
+ layer.msg(res.msg, {
+ icon: 1,
+ time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ }, function () {
+ renderTable(null);
+ $("#boxNo").val("");
+ $("#boxNo2").val("");
+ var index = parent.layer.getFrameIndex(window.name)
+ parent.layer.close(index); //鍏抽棴寮瑰眰
+ parent.layui.table.reload('PalletBind');
+ parent.layui.table.reload('BoxInfo');
+ doing = true;
+ });
+ } else { //涓嶆垚鍔�
+ layer.msg(res.msg, {
+ icon: 2,
+ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ }, function () { doing = true;});
+ }
+ });
- // }
+ }
}
return false;
--
Gitblit v1.8.0