From 082b7025e5654be2d38a7caccfe714937217410b Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 07 十一月 2023 14:22:33 +0800
Subject: [PATCH] 后台bug修改

---
 cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
index f507aa8..b5b04d4 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
@@ -871,12 +871,14 @@
     if (isNaN(quantityIssued1) || isNaN(pickUpQuantity1)) {
         Feng.error("优惠卷数量必须为数字")
         console.log('Both quantityIssued and pickUpQuantity must be numbers.');
+        return
     } else if (quantityIssued1 >= pickUpQuantity1) {
 
         console.log('quantityIssued is greater than pickUpQuantity.');
     } else {
 
         Feng.error("发放数量必须大于限领数量")
+        return
         console.log('quantityIssued is not greater than pickUpQuantity.');
     }
     var imgOne ="";

--
Gitblit v1.7.1