From ddbb38c54db9c3670e5ff53f4bf713525de1099d Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期二, 14 十一月 2023 09:12:10 +0800
Subject: [PATCH] 后台bug修改
---
cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js | 10 ++++------
1 files changed, 4 insertions(+), 6 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 a0ed109..b1a3aab 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
@@ -576,7 +576,7 @@
//提交信息
var ajax = new $ax(Feng.ctxPath + "/tGoods/add", function(data){
if(data=="5001"){
- Feng.error("改账号已经存在");
+ Feng.error("该账号已经存在");
}else if(data=="5003"){
console.log("请选择相同运营商门店")
Feng.info("请选择相同运营商门店");
@@ -654,13 +654,9 @@
}else {
// 如果只有一个城市,则将cts设置为字符串
if (cityIds.length === 1) {
- console.log("是1吗?")
cts = cityIds[0];
- console.log(cts)
} else {
- console.log("走下面了")
cts = cityIds.join(',');
- console.log(cts)
}
}
}
@@ -871,12 +867,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 ="";
@@ -1038,7 +1036,7 @@
var content='<option value="">Pilih franchisee Anda</option>';
}
$.each(data, function(k,v) {
- content += "<option value='"+v+"'>"+v+"</option>";
+ content += "<option value='"+v.id+"'>"+v.value+"</option>";
});
$("#coursePackageConfigId").empty().append(content);
}
--
Gitblit v1.7.1