From 59f461f6a0e9a97d3e42330892c223a53250302a Mon Sep 17 00:00:00 2001
From: yuyou_x <2336760928@qq.com>
Date: 星期四, 14 三月 2024 10:28:07 +0800
Subject: [PATCH] ERP下发的单据任何状态下编辑按钮应不显示;(改为 只有WMS录入的单据且状态为等待执行的有编辑按钮,其余系统下发单据无编辑按钮)。增加客户编码查询条件。
---
HTML/views/ASNSetting/PalletBindFrom.html | 55 +++++++++++++++++++++++++++++--------------------------
1 files changed, 29 insertions(+), 26 deletions(-)
diff --git a/HTML/views/ASNSetting/PalletBindFrom.html b/HTML/views/ASNSetting/PalletBindFrom.html
index bf81733..b3650a0 100644
--- a/HTML/views/ASNSetting/PalletBindFrom.html
+++ b/HTML/views/ASNSetting/PalletBindFrom.html
@@ -299,39 +299,42 @@
AsnNo: $("#BillCode").val(),
PalletNo: $("#palletNo").val(),
AsnDetailId: parseInt($("#detail").val()),
+ LotNo: $("#detail").find("option:selected").text(),
BoxNo: $("#boxNo").val(),
IsContinue :IsContinue,
TailBoxNo: $("#boxNo2").val(),
Origin:"WMS"
}
- 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;});
- }
- });
+ 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;});
+ // }
+ // });
+
+ // }
}
return false;
--
Gitblit v1.8.0