From eeebf2d723433f916ba9c33cce92431165dd64c7 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期一, 22 七月 2024 10:04:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/2.0' into 2.0 --- 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