puzhibing
2024-03-04 7e7f901b2172281dc294dfbc67e6ad00625f09f4
cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js
@@ -93,7 +93,6 @@
        Feng.info("只能选择一个运营商商户设置分账比例!");
    }else {
        if (this.check()) {
            var index = layer.open({
                type: 2,
                title: "认证",
@@ -109,23 +108,12 @@
TSite.commit = function(){
    var alipayProportion  = $("#alipayProportion").val();
    var wechatProportion  = $("#wechatProportion").val();
    if($("#alipayNum").val()=='' ){
    if($("#alipayProportion").val()=='' ){
        Feng.info("请输入支付宝分账比例")
        return;
    }
    if($("#wechatNum").val()=='' ){
    if($("#wechatProportion").val()=='' ){
        Feng.info("请输入微信分账比例")
        return;
    }
    if (Number(alipayProportion)+Number(wechatProportion)!=100){
        Feng.info("总比例应该是100%,当前比例:"+Number(Number(alipayProportion)+Number(wechatProportion)));
        return;
    }
    var ali = $("#alipayProportion").val()
    var wechat = $("#wechatProportion").val()
    if(Number(ali)+Number(wechat)!=100){
        Feng.success("总比例需为100%!");
        return;
    }
    //提交信息
@@ -230,7 +218,7 @@
        return;
    }
    if ("" == $("#lIDNumber").val()){
    if ("" == $("#leagleNumber").val()){
        Feng.error("请输入法人身份证号");
        return;
    }
@@ -290,7 +278,7 @@
            Feng.error("输入的开户银行名称有误!");
            return;
        } else if (data.code==500){
            console.log(data)
            console.log(data);
            Feng.error("认证失败:"+data.msg);
            return;
        }else{