44323
2023-11-07 082b7025e5654be2d38a7caccfe714937217410b
cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js
@@ -395,7 +395,8 @@
    if ($('#userType').val()==1){
    // 兑换方式
    let exchangeMethod = $(':radio[name="exchangeMethod"]:checked').val();
        console.log("看看exchangeMethod")
        console.log(exchangeMethod)
    if (distributionMethod === '1') {
        if (exchangeMethod === '' || exchangeMethod === undefined || exchangeMethod === null) {
            return Feng.error('兑换方式不能为空');
@@ -460,7 +461,6 @@
    var ajax = new $ax(Feng.ctxPath + "/tCouponManage/commitData", function (data) {
        Feng.success("添加成功!");
        window.parent.TCoupon.table.refresh();
        couponInfoDlg.close();
    }, function (data) {
        Feng.error("添加失败!" + data.responseJSON.message + "!");
    });