From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 05 二月 2024 11:56:52 +0800
Subject: [PATCH] 更新bug修改

---
 cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html |  334 ++++++++++++++++++------------------------------------
 1 files changed, 113 insertions(+), 221 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html
index 5434436..88ae17b 100644
--- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html
+++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html
@@ -47,9 +47,9 @@
         <div class="form-horizontal" id="carInfoForm">
             <h2>商户信息</h2>
             <div style="display: flex">
-                <span id="storeName"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-                <span id="storeStaff"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-                <span id="storePhone"></span>
+                <span>运营商名称:</span><span>${data.name}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+                <span>管理员姓名:</span><span>${user.name}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+                <span>管理员电话:</span><span>${user.phone}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             </div>
             <h2>商户号信息</h2>
             </br>
@@ -59,248 +59,136 @@
                 <div class="col-lg-6" style="">
                     <div class="form-group">
                         <label class="col-sm-4 control-label" >
-                            主题类型:<input checked type="radio" name="bodyType" value="IND_BIZ" onclick="updateHalf(1)">个人
-                            <input type="radio" name="bodyType" value="ENTERPRISE" onclick="updateHalf(2)">企业
+                            商户类型:<input checked type="radio" name="bodyType" value="01" onclick="updateHalf(2)">企业
+                            <input  type="radio" name="bodyType" value="07" onclick="updateHalf(1)">个人
                         </label>
                     </div>
                     <div class="form-group" >
+                        <label class="col-sm-3 control-label">*商户名称(一般与证件名称相同):</label>
+                        <div class="col-sm-9">
+                            <input style="width: 300px" class="form-control" value="" id="businessName"  placeholder="请输入商户名称" type="text">
+                        </div>
+                    </div>
+                    <div class="form-group" >
+                        <label class="col-sm-3 control-label">*商户别名(支付宝账单显示的商户名称):</label>
+                        <div class="col-sm-9">
+                            <input style="width: 300px" class="form-control" value="" id="aliasName"  placeholder="请输入商户别名" type="text">
+                        </div>
+                    </div>
+
+                    <div class="form-group" >
                         <label class="col-sm-3 control-label">*联系人姓名:</label>
                         <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="name"  placeholder="请输入" type="text">
+                            <input style="width: 300px" class="form-control" value="" id="name"  placeholder="请输入" type="text">
                         </div>
                     </div>
                     <div class="form-group" >
                         <label class="col-sm-3 control-label">*联系人电话:</label>
                         <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="phone"  placeholder="请输入" type="text">
+                            <input style="width: 300px" class="form-control" value="" id="phone"  placeholder="请输入" type="text">
                         </div>
                     </div>
+                        <div class="form-group" >
+                            <label class="col-sm-3 control-label">*法人姓名:</label>
+                            <div class="col-sm-9" >
+                                <input style="width: 300px" class="form-control" id="legalPerson" value=""  placeholder="请输入" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">*法人身份证号:</label>
+                            <div class="col-sm-9">
+                                <input style="width: 300px" class="form-control" value="" id="leagleNumber"  placeholder="请输入" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <#avatar id="IDCardImg" name="*法人身份证正面照" avatarImg="" />
+                        </div>
+                        <div class="form-group">
+                            <#avatar id="IDCardImg1" name="*法人身份证背面照" avatarImg="" />
+                        </div>
+
                     <div class="form-group" >
-                        <label class="col-sm-3 control-label">*联系人身份证号:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="number"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*法定代表人姓名:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="lrName"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                </div>
-                <div class="col-lg-6" style="">
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*营业执照商户名称:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="merchantName"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*营业证照生效时间:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <input style="width: 300px" class="form-control" id="tradeTime" name="tradeTime" type="date">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*营业证照过期时间:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <input style="width: 300px" class="form-control" id="endTime" name="endTime" type="date">
-                            <input type="checkbox" style="margin-left: 10px" id="tradeE" value="0" onchange="TSite.tradeYse(this)">长期</input>
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*营业执照注册号:</label>
+                        <label class="col-sm-3 control-label">*签约支付宝账号:</label>
                         <div class="col-sm-9" >
-                            <input style="width: 300px" class="form-control" id="licenseRegistration"  placeholder="请输入" type="text">
+                            <input style="width: 300px" class="form-control" id="zfbAccount" value="${item.zfbAccount}"  placeholder="请输入" type="text">
                         </div>
                     </div>
+                </div>
+                <div class="col-lg-6" style="">
                     <div class="form-group" >
-                        <label class="col-sm-3 control-label">*注册地址:</label>
+                        <label class="col-sm-3 control-label">*营业执照编号:</label>
                         <div class="col-sm-9" >
-                            <input style="width: 300px" class="form-control" id="registerAddress"  placeholder="请输入" type="text">
+                            <input style="width: 300px" class="form-control" id="businessNumber" value=""  placeholder="请输入" type="text">
                         </div>
                     </div>
                     <div class="form-group">
-                        <#avatar id="license" name="营业执照" />
+                        <#avatar id="license" name="*营业执照" avatarImg="${item.certImage}" />
                     </div>
-                </div>
-            </div>
-            <div class="row">
-                <div class="col-lg-6" style="">
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*法人姓名:</label>
-                        <div class="col-sm-9" >
-                            <input style="width: 300px" class="form-control" id="legalPerson"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*法人手机号:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="legalPhone"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*法人身份证开始时间:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <input style="width: 300px" class="form-control" id="IDCardTime" name="IDCardTime" type="date">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*法人身份证结束时间:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <input style="width: 300px" class="form-control" id="IDCardEnd" name="IDCardTime" type="date">
-                            <input type="checkbox" style="margin-left: 10px" id="IDCardE" value="0" onchange="TSite.tradeYse(this)">长期</input>
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <#avatar id="IDCardImg" name="法人身份证正面照" />
-                    </div>
-                </div>
-                <div class="col-lg-6" style="">
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*法人身份证号:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="lIDNumber"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*法人邮箱:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="lEmail"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*法人身份证地址:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="lIDAddress"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <#avatar id="IDCardImg1" name="法人身份证背面照" />
-                    </div>
-                </div>
-            </div>
-
-
-
-            <div class="row">
-                <div class="col-lg-6" style="">
-                    <div class="form-group" >
-                        <label class="col-sm-4 control-label" >
-                            结算账户类型:<input type="radio" name="type" value="1">对公 <input type="radio" name="type" value="2">对私
-                        </label>
-                    </div>
-
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">开户银行:</label>
-                        <div class="col-sm-9">
-                            <select style="width: 300px" class="form-control" id="bank" name="bank">
-                                <option value="">选择开户银行</option>
-
-                            </select>
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">开户所在地:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <select style="width: 150px" class="form-control" id="pCode" onchange="TSite.oneChange(this)" name="bank">
-                                <option value="">选择省</option>
-                                @for(obj in provinceList){
-                                <option value="${obj.code}">${obj.name}</option>
-                                @}
-                            </select>
-                            <select style="width: 150px" class="form-control" id="cCode" name="bank">
-                                <option value="">选择市区</option>
-                            </select>
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*银行卡号:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="backNumber" name="backNumber" type="text">
-                        </div>
-                    </div>
-                </div>
-                <div class="col-lg-6" style="">
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*开户名称:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="backUserName"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group" >
-                        <label class="col-sm-3 control-label">*开户行全称:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="backName"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                </div>
-            </div>
-
-
-
-
-            <div class="row" id="benefit">
-                <div class="col-lg-6" style="">
                     <div class="form-group">
                         <label class="col-sm-4 control-label" >
-                            法人是否为受益人:<input type="radio" checked name="type" value="true">是 <input checked type="radio" name="type" value="false">否
+                            结算账户类型:<input checked type="radio" name="accountType" value="bankCard" onclick="updateHalf(3)">银行卡
+                            <input  type="radio" name="accountType" value="alipayAccount" onclick="updateHalf(4)">支付宝账号
                         </label>
                     </div>
-
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*受益人姓名:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="bName" name="bName" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*受益人身份证地址:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="bAddress"  placeholder="请输入" type="text">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*受益人身份证有效期:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="bTime" name="bTime" type="date">
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*受益人身份证结束时间:</label>
-                        <div class="col-sm-9" style="display: flex">
-                            <input style="width: 300px" class="form-control" id="bEnd" name="IDCardTime" type="date">
-                            <input type="checkbox" style="margin-left: 10px" id="bIDCardT" value="0" onchange="TSite.tradeYse(this)">长期</input>
-                        </div>
-                    </div>
-                    <div class="form-group">
-                        <#avatar id="bImg1" name="受益人身份证正面照" />
-                    </div>
-                </div>
-                <div class="col-lg-6" style="">
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*受益人身份证号:</label>
+                    <div class="form-group" hidden id="aliNumber">
+                        <label class="col-sm-3 control-label">*支付宝账号:</label>
                         <div class="col-sm-9" >
-                            <input style="width: 300px" class="form-control" id="bIDNumber"  placeholder="请输入" type="text">
+                            <input style="width: 300px" class="form-control" id="alipayAccount" value=""  placeholder="请输入" type="text">
                         </div>
                     </div>
-                    <div class="form-group">
-                        <#avatar id="bImg2" name="受益人身份证背面照" />
-                    </div>
-                </div>
-            </div>
-            <div class="row">
-                <div class="col-lg-6" style="">
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*拒绝理由:</label>
-                    </div>
-                    <div class="form-group">
-                        <#avatar id="Img" name="上传图片" />
-                    </div>
-                    <div class="form-group">
-                        <label class="col-sm-3 control-label">*备注:</label>
-                        <div class="col-sm-9">
-                            <input style="width: 300px" class="form-control" id="remark" name="remark" type="text">
+                    <div id="banks">
+                        <div class="form-group" >
+                            <label class="col-sm-3 control-label">*银行卡号:</label>
+                            <div class="col-sm-9" >
+                                <input style="width: 300px" class="form-control" id="bankCard" value=""  placeholder="请输入" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-4 control-label" >
+                                账号使用类型:<input checked type="radio" name="useType" value="01" >对公
+                                <input  type="radio" name="useType" value="02" >对私
+                            </label>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-4 control-label" >
+                                银行卡类型:<input checked type="radio" name="cardType" value="DC" onclick="updateHalf(2)">借记卡
+                                <input  type="radio" name="cardType" value="CC" onclick="updateHalf(1)">信用卡
+                            </label>
+                        </div>
+                        <div class="form-group">
+                            <label class="col-sm-3 control-label">*开户银行:</label>
+                            <div class="col-sm-9">
+                                <input style="width: 300px" class="form-control" id="bankName" value=""  placeholder="请输入(例:中国农业银行)" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group" >
+                            <label class="col-sm-3 control-label">*开户支行名称:</label>
+                            <div class="col-sm-9" >
+                                <input style="width: 300px" class="form-control" id="bankName1" value=""  placeholder="请输入" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group" >
+                            <label class="col-sm-3 control-label">*开户名称:</label>
+                            <div class="col-sm-9" >
+                                <input style="width: 300px" class="form-control" id="bankUserName" value=""  placeholder="请输入" type="text">
+                            </div>
+                        </div>
+                        <div class="form-group" id="provinceCode">
+                            <label class="col-sm-3 control-label">*开户行所在省:</label>
+                            <div class="col-sm-9">
+                                <select style="width: 300px" class="form-control" id="pCode" name="pCode" onchange="TSite.oneChange2(this)">
+                                    @for(obj in list){
+                                    <option style="width: 300px" value="${obj.code}">${obj.name}</option>
+                                    @}
+                                </select>
+                            </div>
+                        </div>
+                        <div class="form-group" id="cityCode">
+                            <label class="col-sm-3 control-label">*开户行所在市:</label>
+                            <div class="col-sm-9">
+                                <select style="width: 300px" class="form-control" id="cCode" name="cCode" >
+                                </select>
+                            </div>
                         </div>
                     </div>
                 </div>
@@ -323,12 +211,16 @@
 <link rel="stylesheet" href="${ctxPath}/js/elementui/index.css">
 <script>
     function updateHalf(e) {
-        if(e==1){
-            $("#benefit").hide()
-        }else {
-            $("#benefit").show()
+        if(e==3){
+            console.log("展示")
+            $("#banks").show()
+            $("#aliNumber").hide()
+        }else if (e==4){
+            // 结算到支付宝账号
+            console.log("隐藏")
+            $("#banks").hide()
+            $("#aliNumber").show()
         }
-
     }
 </script>
 @}

--
Gitblit v1.7.1