44323
2023-11-14 ddbb38c54db9c3670e5ff53f4bf713525de1099d
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 ="";