From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 04 三月 2024 10:11:21 +0800
Subject: [PATCH] 合并代码

---
 cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js |   20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js b/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js
index a5e2356..bc6a466 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js
+++ b/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{

--
Gitblit v1.7.1