From c31f9914a85889bbe090d907ed53cc7a2fdcf8b6 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期四, 28 十二月 2023 10:41:53 +0800
Subject: [PATCH] 11.27,9

---
 cloud-server-management/src/main/webapp/static/modular/system/operatorUser/operatorUser.js |   16 ++--------------
 1 files changed, 2 insertions(+), 14 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..c9b08b3 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;
     }
     //提交信息

--
Gitblit v1.7.1