From f9ce347bc1325ec05704b1213cdafdd9db8dd578 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 29 一月 2024 11:25:01 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js |   18 +++---------------
 1 files changed, 3 insertions(+), 15 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..66f8978 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;
     }
     //提交信息
@@ -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