From a1d261d6c92c38d9e496e11d1bc224ecc1d34798 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期二, 14 十一月 2023 09:14:57 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js b/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js index 14d18da..5935920 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js @@ -457,12 +457,17 @@ stores = this.storeIds.join(','); console.log('stores--===--',stores) } + + var ensure = document.getElementById("ensure"); + ensure.disabled = true; //提交信息 var ajax = new $ax(Feng.ctxPath + "/tCouponManage/commitData", function (data) { + ensure.disabled = false; Feng.success("添加成功!"); window.parent.TCoupon.table.refresh(); couponInfoDlg.close(); }, function (data) { + ensure.disabled = false; Feng.error("添加失败!" + data.responseJSON.message + "!"); }); ajax.set("userType",$('#userType').val()); -- Gitblit v1.7.1