44323
2023-12-28 c31f9914a85889bbe090d907ed53cc7a2fdcf8b6
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;
    }
    //提交信息