From 0eb94b78e462484bfe92a5c5967eaa0ac0d83fd5 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期一, 22 七月 2024 09:55:55 +0800
Subject: [PATCH] 2.0bug修改

---
 ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tSysReformist/tRedSetInfo.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tSysReformist/tRedSetInfo.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tSysReformist/tRedSetInfo.js
index f8a962a..357bf7a 100644
--- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tSysReformist/tRedSetInfo.js
+++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/tSysReformist/tRedSetInfo.js
@@ -14,6 +14,10 @@
         Feng.info("请输入可红包抵扣比例");
         return;
     }
+    if (proportion>100){
+        Feng.info("红包抵扣比例不能大于100");
+        return;
+    }
     var startTime = $("#startTime").val();
     if ("" == startTime){
         Feng.info("请选择生效时间");
@@ -39,6 +43,10 @@
         Feng.info("请输入可红包抵扣比例");
         return;
     }
+    if (proportion>100){
+        Feng.info("红包抵扣比例不能大于100");
+        return;
+    }
     var startTime = $("#startTime").val();
     var id = $("#id").val();
     if ("" == startTime){

--
Gitblit v1.7.1