From 764f045c785959117db3d27d744e63d2dad6240c Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 13 十一月 2023 09:04:41 +0800
Subject: [PATCH] 后台bug修改

---
 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