From 6fd6b4d8399cd5ce53b20ba2b865e7cee0f4cc9d Mon Sep 17 00:00:00 2001
From: zgq <519541279@qq.com>
Date: 星期三, 11 八月 2021 15:04:58 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
---
WebTM/views/生产管理/产量汇报单/Sc_ProductReportBillList.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_ProductReportBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_ProductReportBillList.html"
index cdb9be5..73e6d93 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_ProductReportBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_ProductReportBillList.html"
@@ -285,7 +285,7 @@
{
type: "GET",
url: GetWEBURL() + "/Sc_MESBeginWorkBill/SaveGetMESProductReportBillList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
- async: false,
+ async: true,
data: { "ScMaxWork": ScMaxWork(), "HSourceBillType": HSourceBillType, "workcode": workcode, "HSourceID": HSourceID, "HICMOInterID": (HICMOInterID == "null" ? 0 : HICMOInterID), "HICMOEntryID": (HICMOEntryID == "null" ? 0 : HICMOEntryID), "HMaker": HMaker, "Czybm": Czybm },
dataType: "json",
beforeSend: function () {
@@ -293,17 +293,20 @@
},
success: function (data) {
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+ $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false);
layer.msg(data.Message, { time: 1 * 2000, icon: 1 }, function (index) {
layer.close(layer.index);
window.parent.location.reload();
});
}
else {
- layer.alert(data.Message, { icon: 5 })
+ layer.alert(data.Message, { icon: 5 })
+ $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false);
}
},
error: function (err) {
layer.alert(data.Message, { icon: 5 })
+ $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false);
}
});
})
--
Gitblit v1.9.1