From 753c4aede53b07041841d9aa94859b59e366bd5d Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 14 八月 2023 18:47:39 +0800
Subject: [PATCH] Merge branch '1.1' of http://120.76.84.145:10101/gitblit/r/java/SuperSaveDriving

---
 management/guns-admin/src/main/webapp/static/modular/system/tCoupon/tCoupon_info.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tCoupon/tCoupon_info.js b/management/guns-admin/src/main/webapp/static/modular/system/tCoupon/tCoupon_info.js
index b2549d4..e45cbb0 100644
--- a/management/guns-admin/src/main/webapp/static/modular/system/tCoupon/tCoupon_info.js
+++ b/management/guns-admin/src/main/webapp/static/modular/system/tCoupon/tCoupon_info.js
@@ -162,10 +162,10 @@
         return;
     }
 
-    // if(couponType == 2 && $("input[name=couponCount2]").val() < 1){
-    //     Feng.info("新人优惠券限制数量必须大于0!")
-    //     return;
-    // }
+    if(couponType == 2 && $("input[name=couponCount2]").val() < $("#couponSendQuantity").val()){
+        Feng.info("赠送数量必须小于等于限制数量!")
+        return;
+    }
 
     //提交信息
     var ajax = new $ax(Feng.ctxPath + "/tCoupon/add", function(data){

--
Gitblit v1.7.1