From f512b0475560ed449f936e0b7a27ba197e6bafe5 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 15:16:08 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/liudongl/jc24-wms
---
HTML/views/ASNSetting/PalletBindFrom.html | 52 ++++++++++++++++++++++++++--------------------------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/HTML/views/ASNSetting/PalletBindFrom.html b/HTML/views/ASNSetting/PalletBindFrom.html
index b3650a0..9020df2 100644
--- a/HTML/views/ASNSetting/PalletBindFrom.html
+++ b/HTML/views/ASNSetting/PalletBindFrom.html
@@ -308,33 +308,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