@@ -35,6 +35,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
yhk:'', | yhk:'', | ||||
khzm:'', | khzm:'', | ||||
companyLicense:'', | companyLicense:'', | ||||
activitiStatus:'', | |||||
upType1:false, | upType1:false, | ||||
upType2:false, | upType2:false, | ||||
upType5:false, | upType5:false, | ||||
@@ -269,6 +270,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
console.log(data) | console.log(data) | ||||
module.data.userInformationDetail = content; | module.data.userInformationDetail = content; | ||||
module.data.memberType = content.memberType; | module.data.memberType = content.memberType; | ||||
module.data.activitiStatus = content.activitiStatus; | |||||
var bankTypeData = template('bankTypeData', module.data); | var bankTypeData = template('bankTypeData', module.data); | ||||
$("#bankType").html(bankTypeData); | $("#bankType").html(bankTypeData); | ||||
var bankAddressData = template('bankAddressData', module.data); | var bankAddressData = template('bankAddressData', module.data); | ||||
@@ -276,11 +278,11 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
document.getElementById('bankSubmitBtn').style.display = content.activitiStatus == '1'?'none':'block'; | document.getElementById('bankSubmitBtn').style.display = content.activitiStatus == '1'?'none':'block'; | ||||
if(content.memberType == '1'){ | if(content.memberType == '1'){ | ||||
document.getElementById('companyInformationContent').style.display = 'none'; | document.getElementById('companyInformationContent').style.display = 'none'; | ||||
document.getElementById('userInformationContent').style.display = 'block'; | |||||
document.getElementById('userInformationContent').style.display = 'table'; | |||||
var userInformationData = template('userInformationData', module.data); | var userInformationData = template('userInformationData', module.data); | ||||
$("#userInformationContent").html(userInformationData); | $("#userInformationContent").html(userInformationData); | ||||
}else{ | }else{ | ||||
document.getElementById('companyInformationContent').style.display = 'block'; | |||||
document.getElementById('companyInformationContent').style.display = 'table'; | |||||
document.getElementById('userInformationContent').style.display = 'none'; | document.getElementById('userInformationContent').style.display = 'none'; | ||||
var companyInformationData = template('companyInformationData', module.data); | var companyInformationData = template('companyInformationData', module.data); | ||||
$("#companyInformationContent").html(companyInformationData); | $("#companyInformationContent").html(companyInformationData); | ||||
@@ -491,7 +493,6 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
var upLoadList = []; | var upLoadList = []; | ||||
var data = {}; | var data = {}; | ||||
console.log(type) | console.log(type) | ||||
if(type == 'user'||type == 'company'){ | |||||
console.log(module.data.memberType) | console.log(module.data.memberType) | ||||
if(module.data.memberType == '1'){ | if(module.data.memberType == '1'){ | ||||
$('#cupload-3').find('input').each(function() { | $('#cupload-3').find('input').each(function() { | ||||
@@ -534,11 +535,10 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
} | } | ||||
}) | }) | ||||
setTimeout(function(){ | setTimeout(function(){ | ||||
formAction(type) | |||||
formAction() | |||||
},1000); | },1000); | ||||
} | } | ||||
//memberType 1个人 2单位 | //memberType 1个人 2单位 | ||||
} | |||||
} | } | ||||
//删除供求 | //删除供求 | ||||
@@ -631,7 +631,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
tabCheck = function(type){ | tabCheck = function(type){ | ||||
document.getElementById('user').className = ''; | document.getElementById('user').className = ''; | ||||
document.getElementById('bank').className = ''; | |||||
// document.getElementById('bank').className = ''; | |||||
document.getElementById('passWord').className = ''; | document.getElementById('passWord').className = ''; | ||||
document.getElementById(type).className = 'active'; | document.getElementById(type).className = 'active'; | ||||
@@ -642,17 +642,20 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
document.getElementById('phoneInformationContent').style.display = 'none'; | document.getElementById('phoneInformationContent').style.display = 'none'; | ||||
document.getElementById('passWordInformationContent').style.display = 'none'; | document.getElementById('passWordInformationContent').style.display = 'none'; | ||||
if (module.data.memberType == '2' && type == 'user'){ | if (module.data.memberType == '2' && type == 'user'){ | ||||
document.getElementById('companyInformationContent').style.display = 'block'; | |||||
document.getElementById('companyInformationContent').style.display = 'table'; | |||||
document.getElementById('bankInformationContent').style.display = 'table'; | |||||
}else if (module.data.memberType == '1' && type == 'user'){ | }else if (module.data.memberType == '1' && type == 'user'){ | ||||
document.getElementById('userInformationContent').style.display = 'block'; | |||||
document.getElementById('userInformationContent').style.display = 'table'; | |||||
document.getElementById('bankInformationContent').style.display = 'table'; | |||||
}else{ | }else{ | ||||
document.getElementById(type+'InformationContent').style.display = 'block'; | |||||
document.getElementById(type+'InformationContent').style.display = 'table'; | |||||
} | } | ||||
} | } | ||||
phoneUpdate = function(type){ | phoneUpdate = function(type){ | ||||
document.getElementById(type+'InformationContent').style.display = 'none'; | document.getElementById(type+'InformationContent').style.display = 'none'; | ||||
document.getElementById('bankInformationContent').style.display = 'none'; | |||||
document.getElementById('phoneInformationContent').style.display = 'block'; | document.getElementById('phoneInformationContent').style.display = 'block'; | ||||
} | } | ||||
@@ -751,8 +754,10 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
formAction = function (type){ | formAction = function (type){ | ||||
var data = {}; | var data = {}; | ||||
//var password = $('#password').val(); | //var password = $('#password').val(); | ||||
module.data.userFormType = type ; | |||||
if(type == 'company'){ | |||||
console.log(module.data.memberType == '2'); | |||||
// module.data.userFormType = type ; | |||||
if(module.data.memberType == '2'){ | |||||
console.log('qqqqqqqqqqqqq') | |||||
//公司用户信息 | //公司用户信息 | ||||
var companyName = $('#companyName').val(); | var companyName = $('#companyName').val(); | ||||
var idCardNum = $('#idCardNum').val(); | var idCardNum = $('#idCardNum').val(); | ||||
@@ -768,6 +773,15 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
var accountOpenCert = module.data.khzm; | var accountOpenCert = module.data.khzm; | ||||
var idCardPic = module.data.frzjz; | var idCardPic = module.data.frzjz; | ||||
//银行卡信息 | |||||
var bankCardName = $('#bankCardName').val(); | |||||
var bankCardNum = $('#bankCardNum').val(); | |||||
var bankAddress = $('#bankAddress').val(); | |||||
var bankType = $('#bankType').val(); | |||||
var accountType = $('#accountType').val(); | |||||
var payeePaymentLines = $('#payeePaymentLines').val(); | |||||
if (companyName == '') { | if (companyName == '') { | ||||
$('#companyName')[0].focus() | $('#companyName')[0].focus() | ||||
tools.initTips('请输入公司名称', 'right', $('#companyName')[0], 2000) | tools.initTips('请输入公司名称', 'right', $('#companyName')[0], 2000) | ||||
@@ -810,6 +824,49 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
return false; | return false; | ||||
} | } | ||||
if (bankCardName == '') { | |||||
$('#bankCardName')[0].focus() | |||||
tools.initTips('请输入开户姓名', 'right', $('#bankCardName')[0], 2000) | |||||
return false; | |||||
} | |||||
if (bankCardNum == '') { | |||||
$('#bankCardNum')[0].focus() | |||||
tools.initTips('请输入开户账号', 'right', $('#bankCardNum')[0], 2000) | |||||
return false; | |||||
} | |||||
if (bankType == '') { | |||||
$('#bankType')[0].focus() | |||||
tools.initTips('请选择所属银行', 'right', $('#bankType')[0], 2000) | |||||
return false; | |||||
} | |||||
if (bankAddress == '') { | |||||
$('#bankAddress')[0].focus() | |||||
tools.initTips('请选择开户银行', 'right', $('#bankAddress')[0], 2000) | |||||
return false; | |||||
} | |||||
if (payeePaymentLines == '') { | |||||
$('#payeePaymentLines')[0].focus() | |||||
tools.initTips('请输入联行号', 'right', $('#payeePaymentLines')[0], 2000) | |||||
return false; | |||||
} | |||||
data['bankCardName'] = bankCardName; | |||||
data['bankCardNum'] = bankCardNum; | |||||
data['bankAddress'] = bankAddress; | |||||
data['bankType'] = bankType; | |||||
data['accountType'] = accountType; | |||||
data['payeePaymentLines'] = payeePaymentLines; | |||||
data['activitiStatus'] = module.data.activitiStatus; | |||||
tools.setCookie('bankCardName',bankCardName,24 * 60 * 60) | |||||
tools.setCookie('bankCardNum',bankCardNum,24 * 60 * 60) | |||||
tools.setCookie('bankAddress',bankAddress,24 * 60 * 60) | |||||
tools.setCookie('bankType',bankType,24 * 60 * 60) | |||||
tools.setCookie('accountType',accountType,24 * 60 * 60) | |||||
tools.setCookie('payeePaymentLines',payeePaymentLines,24 * 60 * 60) | |||||
data['accountOpenCert'] = accountOpenCert; | data['accountOpenCert'] = accountOpenCert; | ||||
data['companyName'] = companyName; | data['companyName'] = companyName; | ||||
data['idCardNum'] = idCardNum; | data['idCardNum'] = idCardNum; | ||||
@@ -830,7 +887,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
tools.setCookie('address',address,24 * 60 * 60) | tools.setCookie('address',address,24 * 60 * 60) | ||||
// upLoadAction('user'); | // upLoadAction('user'); | ||||
} | } | ||||
if(type == 'user'){ | |||||
if(module.data.memberType == '1'){ | |||||
//个人用户信息 | //个人用户信息 | ||||
var userFormRealName = $('#userFormRealName').val(); | var userFormRealName = $('#userFormRealName').val(); | ||||
var userFormIdCard = $('#userFormIdCard').val(); | var userFormIdCard = $('#userFormIdCard').val(); | ||||
@@ -838,6 +895,14 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
var idCardPic = module.data.sfz; | var idCardPic = module.data.sfz; | ||||
var accountOpenCert = module.data.yhk; | var accountOpenCert = module.data.yhk; | ||||
//银行卡信息 | |||||
var bankCardName = $('#bankCardName').val(); | |||||
var bankCardNum = $('#bankCardNum').val(); | |||||
var bankAddress = $('#bankAddress').val(); | |||||
var bankType = $('#bankType').val(); | |||||
var accountType = $('#accountType').val(); | |||||
var payeePaymentLines = $('#payeePaymentLines').val(); | |||||
if (userFormRealName == '') { | if (userFormRealName == '') { | ||||
$('#userFormRealName')[0].focus() | $('#userFormRealName')[0].focus() | ||||
tools.initTips('请输入姓名', 'right', $('#userFormRealName')[0], 2000) | tools.initTips('请输入姓名', 'right', $('#userFormRealName')[0], 2000) | ||||
@@ -874,26 +939,6 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
return false; | return false; | ||||
} | } | ||||
data['idCardPic'] = idCardPic; | |||||
data['accountOpenCert'] = accountOpenCert; | |||||
data['idCardNum'] = userFormIdCard; | |||||
data['realname'] = userFormRealName; | |||||
data['address'] = userFormAddress; | |||||
tools.setCookie('userName',userFormRealName,24 * 60 * 60) | |||||
tools.setCookie('idCardNum',userFormIdCard,24 * 60 * 60) | |||||
tools.setCookie('address',userFormAddress,24 * 60 * 60) | |||||
// upLoadAction('user'); | |||||
} | |||||
if(type == 'bank'){ | |||||
//银行卡信息 | |||||
var bankCardName = $('#bankCardName').val(); | |||||
var bankCardNum = $('#bankCardNum').val(); | |||||
var bankAddress = $('#bankAddress').val(); | |||||
var bankType = $('#bankType').val(); | |||||
var accountType = $('#accountType').val(); | |||||
var payeePaymentLines = $('#payeePaymentLines').val(); | |||||
if (bankCardName == '') { | if (bankCardName == '') { | ||||
$('#bankCardName')[0].focus() | $('#bankCardName')[0].focus() | ||||
@@ -930,15 +975,31 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", | |||||
data['bankType'] = bankType; | data['bankType'] = bankType; | ||||
data['accountType'] = accountType; | data['accountType'] = accountType; | ||||
data['payeePaymentLines'] = payeePaymentLines; | data['payeePaymentLines'] = payeePaymentLines; | ||||
data['activitiStatus'] = module.data.activitiStatus; | |||||
tools.setCookie('bankCardName',bankCardName,24 * 60 * 60) | tools.setCookie('bankCardName',bankCardName,24 * 60 * 60) | ||||
tools.setCookie('bankCardNum',bankCardNum,24 * 60 * 60) | tools.setCookie('bankCardNum',bankCardNum,24 * 60 * 60) | ||||
tools.setCookie('bankAddress',bankAddress,24 * 60 * 60) | tools.setCookie('bankAddress',bankAddress,24 * 60 * 60) | ||||
tools.setCookie('bankType',bankType,24 * 60 * 60) | tools.setCookie('bankType',bankType,24 * 60 * 60) | ||||
tools.setCookie('accountType',accountType,24 * 60 * 60) | tools.setCookie('accountType',accountType,24 * 60 * 60) | ||||
tools.setCookie('payeePaymentLines',payeePaymentLines,24 * 60 * 60) | tools.setCookie('payeePaymentLines',payeePaymentLines,24 * 60 * 60) | ||||
data['idCardPic'] = idCardPic; | |||||
data['accountOpenCert'] = accountOpenCert; | |||||
data['idCardNum'] = userFormIdCard; | |||||
data['realname'] = userFormRealName; | |||||
data['address'] = userFormAddress; | |||||
tools.setCookie('userName',userFormRealName,24 * 60 * 60) | |||||
tools.setCookie('idCardNum',userFormIdCard,24 * 60 * 60) | |||||
tools.setCookie('address',userFormAddress,24 * 60 * 60) | |||||
// upLoadAction('user'); | |||||
} | } | ||||
//data['password'] = password; | //data['password'] = password; | ||||
data['id'] = module.data.memberId; | data['id'] = module.data.memberId; | ||||
data['taskId'] = module.data.userInformationDetail.taskId; | |||||
// data['taskName'] = module.data.userInformationDetail.taskName; | |||||
tools.doPost(userUpdate, data, module.userTips) | tools.doPost(userUpdate, data, module.userTips) | ||||
} | } | ||||
@@ -167,238 +167,267 @@ | |||||
<!-- 我的资料 — 个人 — 公司 --> | <!-- 我的资料 — 个人 — 公司 --> | ||||
<div class="fl userTable" id="userInformation"> | <div class="fl userTable" id="userInformation"> | ||||
<input type="button" id="user" onclick="tabCheck('user')" class="active" value="用户资料"/> | <input type="button" id="user" onclick="tabCheck('user')" class="active" value="用户资料"/> | ||||
<input type="button" id="bank" onclick="tabCheck('bank')" value="银行账户信息"/> | |||||
<!-- <input type="button" id="bank" onclick="tabCheck('bank')" value="银行账户信息"/>--> | |||||
<input type="button" id="passWord" onclick="tabCheck('passWord')" value="修改密码"/> | <input type="button" id="passWord" onclick="tabCheck('passWord')" value="修改密码"/> | ||||
<script id="userInformationData" type="text/html"> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>手机号码:</td> | |||||
<td style="border: none;"> | |||||
<p class="m-l-10 m-r-10 fl">{{userInformationDetail.phone}}</p> | |||||
<span onclick="phoneUpdate('user')">修改手机号</span> | |||||
<p class="activitiStatus"> | |||||
{{userInformationDetail.activitiStatus == '1' ? '待审':userInformationDetail.activitiStatus == '2' ? '驳回':userInformationDetail.activitiStatus == '3' ? '通过':''}} | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<!-- <tr>--> | |||||
<!-- <td><span>*</span>密码:</td>--> | |||||
<!-- <td><input type="text" value="" class="p-l-10" style="width: 30%"/></td>--> | |||||
<!-- </tr>--> | |||||
<tr> | |||||
<td style="border-bottom: 1px solid #e3e3e3;height: 0;padding: 0;"></td> | |||||
<td style="border-bottom: 1px solid #e3e3e3;height: 0;padding: 0;"></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>姓名:</td> | |||||
<td><input type="text" value="{{userInformationDetail.realname}}" id="userFormRealName" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>身份证号码:</td> | |||||
<td><input type="text" value="{{userInformationDetail.idCardNum}}" id="userFormIdCard" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>联系住址:</td> | |||||
<td><input type="text" value="{{userInformationDetail.address}}" id="userFormAddress" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>身份证(正):</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-3" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>银行卡:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-4" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td></td> | |||||
<td> | |||||
{{if userInformationDetail.activitiStatus != '1'}} | |||||
<p onclick="submitInfo('user')">保存</p> | |||||
{{/if}} | |||||
</td> | |||||
</tr> | |||||
</script> | |||||
<table width="100%" id="userInformationContent"></table> | |||||
<div> | |||||
<script id="userInformationData" type="text/html"> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>手机号码:</td> | |||||
<td style="border: none;"> | |||||
<p class="m-l-10 m-r-10 fl">{{userInformationDetail.phone}}</p> | |||||
<span onclick="phoneUpdate('user')">修改手机号</span> | |||||
<p class="activitiStatus"> | |||||
{{userInformationDetail.activitiStatus == '1' ? '待审':userInformationDetail.activitiStatus == '2' ? '驳回':userInformationDetail.activitiStatus == '3' ? '通过':''}} | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="2" style="border: none;"> | |||||
<p style="position:relative;text-align: center;"> | |||||
<span style="border-top: 1px solid #999999;display: block;position:absolute;top: 50%;width: 100%;"></span> | |||||
<span style="background: #ffffff;color: #333333;position: relative;">用户信息</span> | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<!-- <tr>--> | |||||
<!-- <td><span>*</span>密码:</td>--> | |||||
<!-- <td><input type="text" value="" class="p-l-10" style="width: 30%"/></td>--> | |||||
<!-- </tr>--> | |||||
<tr> | |||||
<td style="border-bottom: 1px solid #e3e3e3;height: 0;padding: 0;"></td> | |||||
<td style="border-bottom: 1px solid #e3e3e3;height: 0;padding: 0;"></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>姓名:</td> | |||||
<td><input type="text" value="{{userInformationDetail.realname}}" id="userFormRealName" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>身份证号码:</td> | |||||
<td><input type="text" value="{{userInformationDetail.idCardNum}}" id="userFormIdCard" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>联系住址:</td> | |||||
<td><input type="text" value="{{userInformationDetail.address}}" id="userFormAddress" class="p-l-10" style="width: 30%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>身份证(正):</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-3" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>银行卡:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-4" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<!-- <tr>--> | |||||
<!-- <td></td>--> | |||||
<!-- <td>--> | |||||
<!-- {{if userInformationDetail.activitiStatus != '1'}}--> | |||||
<!-- <p onclick="submitInfo('user')">保存</p>--> | |||||
<!-- {{/if}}--> | |||||
<!-- </td>--> | |||||
<!-- </tr>--> | |||||
</script> | |||||
<table width="100%" id="userInformationContent"></table> | |||||
<script id="companyInformationData" type="text/html"> | |||||
<tr> | |||||
<td><span>*</span>手机号码:</td> | |||||
<td> | |||||
<p class="m-l-10 m-r-10 fl">{{userInformationDetail.phone}}</p> | |||||
<span onclick="phoneUpdate('company')">修改手机号</span> | |||||
<p class="activitiStatus" onclick="$('#dialog-02').css('display','block')"> | |||||
{{userInformationDetail.activitiStatus == '1' ? '待审':userInformationDetail.activitiStatus == '2' ? '驳回':userInformationDetail.activitiStatus == '3' ? '通过':''}} | |||||
</p> | |||||
</td> | |||||
<td></td> | |||||
<td></td> | |||||
<!-- <td><span>*</span>密码:</td>--> | |||||
<script id="companyInformationData" type="text/html"> | |||||
<tr> | |||||
<td><span>*</span>手机号码:</td> | |||||
<td> | |||||
<p class="m-l-10 m-r-10 fl">{{userInformationDetail.phone}}</p> | |||||
<span onclick="phoneUpdate('company')">修改手机号</span> | |||||
<p class="activitiStatus" onclick="$('#dialog-02').css('display','block')"> | |||||
{{userInformationDetail.activitiStatus == '1' ? '待审':userInformationDetail.activitiStatus == '2' ? '驳回':userInformationDetail.activitiStatus == '3' ? '通过':''}} | |||||
</p> | |||||
</td> | |||||
<td></td> | |||||
<td></td> | |||||
<!-- <td><span>*</span>密码:</td>--> | |||||
<!-- <td><input type="text" id="password"/></td>--> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>公司名称:</td> | |||||
<td><input type="text" id="companyName" value="{{userInformationDetail.companyName}}"/></td> | |||||
<td><span>*</span>法人身份证号:</td> | |||||
<td><input type="text" id="idCardNum" value="{{userInformationDetail.idCardNum}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>法人姓名:</td> | |||||
<td><input type="text" id="realname" value="{{userInformationDetail.realname}}"/></td> | |||||
<td>社会信用代码:</td> | |||||
<td><input type="text" id="companyCode" value="{{userInformationDetail.companyCode}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>企业性质:</td> | |||||
<td><input type="text" id="companyNature" value="{{userInformationDetail.companyNature}}"/></td> | |||||
<td>经营范围:</td> | |||||
<td><input type="text" id="companyScope" value="{{userInformationDetail.companyScope}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>经营期限:</td> | |||||
<td><input type="text" id="companyTimeLimit" value="{{userInformationDetail.companyTimeLimit}}"/></td> | |||||
<td>成立时间:</td> | |||||
<td><input type="text" id="companySetupTime" value="{{userInformationDetail.companySetupTime}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>注册资金:</td> | |||||
<td><input type="text" id="companyCapital" value="{{userInformationDetail.companyCapital}}"/></td> | |||||
<td>联系地址:</td> | |||||
<td><input type="text" id="address" value="{{userInformationDetail.address}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>法人证件照:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-6" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>营业执照:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-7" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>开户证明:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-5" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td></td> | |||||
<td> | |||||
{{if userInformationDetail.activitiStatus != '1'}} | |||||
<p onclick="submitInfo('company')">保存</p> | |||||
{{/if}} | |||||
</td> | |||||
</tr> | |||||
</script> | |||||
<table width="100%" id="companyInformationContent"></table> | |||||
<!-- <td><input type="text" id="password"/></td>--> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="4" style="border: none;"> | |||||
<p style="position:relative;text-align: center;"> | |||||
<span style="border-top: 1px solid #999999;display: block;position:absolute;top: 50%;width: 100%;"></span> | |||||
<span style="background: #ffffff;color: #333333;position: relative;">用户信息</span> | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>公司名称:</td> | |||||
<td><input type="text" id="companyName" value="{{userInformationDetail.companyName}}"/></td> | |||||
<td><span>*</span>法人身份证号:</td> | |||||
<td><input type="text" id="idCardNum" value="{{userInformationDetail.idCardNum}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>法人姓名:</td> | |||||
<td><input type="text" id="realname" value="{{userInformationDetail.realname}}"/></td> | |||||
<td>社会信用代码:</td> | |||||
<td><input type="text" id="companyCode" value="{{userInformationDetail.companyCode}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>企业性质:</td> | |||||
<td><input type="text" id="companyNature" value="{{userInformationDetail.companyNature}}"/></td> | |||||
<td>经营范围:</td> | |||||
<td><input type="text" id="companyScope" value="{{userInformationDetail.companyScope}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>经营期限:</td> | |||||
<td><input type="text" id="companyTimeLimit" value="{{userInformationDetail.companyTimeLimit}}"/></td> | |||||
<td>成立时间:</td> | |||||
<td><input type="text" id="companySetupTime" value="{{userInformationDetail.companySetupTime}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td>注册资金:</td> | |||||
<td><input type="text" id="companyCapital" value="{{userInformationDetail.companyCapital}}"/></td> | |||||
<td>联系地址:</td> | |||||
<td><input type="text" id="address" value="{{userInformationDetail.address}}"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>法人证件照:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-6" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>营业执照:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-7" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>开户证明:</td> | |||||
<td colspan="3"> | |||||
<div id="cupload-5" class="m-l-10 m-b-5 wid30"></div> | |||||
</td> | |||||
</tr> | |||||
<!-- <tr>--> | |||||
<!-- <td></td>--> | |||||
<!-- <td>--> | |||||
<!-- {{if userInformationDetail.activitiStatus != '1'}}--> | |||||
<!-- <p onclick="submitInfo('company')">保存</p>--> | |||||
<!-- {{/if}}--> | |||||
<!-- </td>--> | |||||
<!-- </tr>--> | |||||
</script> | |||||
<table width="100%" id="companyInformationContent"></table> | |||||
<!-- 我的资料 — 银行账户信息 --> | |||||
<table width="100%" id="bankInformationContent" style="display: none;"> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>账户类型:</td> | |||||
<td style="border: none;"> | |||||
<select id="accountType" class="p-l-10" style="width: 50%"> | |||||
<script id="accountTypeData" type="text/html"> | |||||
{{each accountTypeOption as value i}} | |||||
<option value="{{value.dictValue}}">{{value.dictLabel}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>开户姓名:</td> | |||||
<td><input type="text" id="bankCardName" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>银行卡号:</td> | |||||
<td><input type="text" id="bankCardNum" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<!-- 我的资料 — 银行账户信息 --> | |||||
<table width="100%" id="bankInformationContent"> | |||||
<tr> | |||||
<td colspan="2" style="border: none;"> | |||||
<p style="position:relative;text-align: center;"> | |||||
<span style="border-top: 1px solid #999999;display: block;position:absolute;top: 50%;width: 100%;"></span> | |||||
<span style="background: #ffffff;color: #333333;position: relative;">开户信息</span> | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>账户类型:</td> | |||||
<td style="border: none;"> | |||||
<select id="accountType" class="p-l-10" style="width: 50%"> | |||||
<script id="accountTypeData" type="text/html"> | |||||
{{each accountTypeOption as value i}} | |||||
<option value="{{value.dictValue}}">{{value.dictLabel}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>开户姓名:</td> | |||||
<td><input type="text" id="bankCardName" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td><span>*</span>银行卡号:</td> | |||||
<td><input type="text" id="bankCardNum" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="2"> | |||||
<p style="position:relative;text-align: center;"> | |||||
<span style="border-top: 1px solid #999999;display: block;position:absolute;top: 50%;width: 100%;"></span> | |||||
<span style="background: #ffffff;color: #333333;position: relative;">银行信息</span> | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td colspan="2"> | |||||
<p style="position:relative;text-align: center;"> | |||||
<span style="border-top: 1px solid #999999;display: block;position:absolute;top: 50%;width: 100%;"></span> | |||||
<span style="background: #ffffff;color: #333333;position: relative;">银行信息</span> | |||||
</p> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>所属银行:</td> | |||||
<td style="border: none;"> | |||||
<select id="bankType" class="p-l-10" style="width: 50%"> | |||||
<script id="bankTypeData" type="text/html"> | |||||
{{each bankTypeOption as value i}} | |||||
<option value="{{value.dictValue}}" {{value.dictLabel == userInformationDetail.bankType ? 'selected':''}}>{{value.dictLabel}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>所属银行:</td> | |||||
<td style="border: none;"> | |||||
<select id="bankType" class="p-l-10" style="width: 50%"> | |||||
<script id="bankTypeData" type="text/html"> | |||||
{{each bankTypeOption as value i}} | |||||
<option value="{{value.dictValue}}" {{value.dictLabel == userInformationDetail.bankType ? 'selected':''}}>{{value.dictLabel}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户省份:</td> | |||||
<td style="border: none;"> | |||||
<select id="sheng" class="p-l-10" style="width: 50%" onchange="getShi()"> | |||||
<script id="shengData" type="text/html"> | |||||
{{each sheng as value i}} | |||||
<option value="{{value.value}}">{{value.label}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户城市:</td> | |||||
<td style="border: none;"> | |||||
<select id="shi" class="p-l-10" style="width: 50%"> | |||||
<script id="shiData" type="text/html"> | |||||
{{each shi as value i}} | |||||
<option value="{{value.value}}">{{value.label}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户省份:</td> | |||||
<td style="border: none;"> | |||||
<select id="sheng" class="p-l-10" style="width: 50%" onchange="getShi()"> | |||||
<script id="shengData" type="text/html"> | |||||
{{each sheng as value i}} | |||||
<option value="{{value.value}}">{{value.label}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户城市:</td> | |||||
<td style="border: none;"> | |||||
<select id="shi" class="p-l-10" style="width: 50%"> | |||||
<script id="shiData" type="text/html"> | |||||
{{each shi as value i}} | |||||
<option value="{{value.value}}">{{value.label}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td>关键词:</td> | |||||
<td><input id="bankDeposit" type="text" class="p-l-10" style="width: 50%"/>(输入搜索开户行名称)</td> | |||||
</tr> | |||||
<tr> | |||||
<td>关键词:</td> | |||||
<td><input id="bankDeposit" type="text" class="p-l-10" style="width: 50%"/>(输入搜索开户行名称)</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户银行:</td> | |||||
<td style="border: none;"> | |||||
<select id="bankAddress" class="p-l-10" style="width: 50%" onchange="changeBankAddress()"> | |||||
<script id="bankAddressData" type="text/html"> | |||||
<option value="{{userInformationDetail.bankAddress}}" selected>{{userInformationDetail.bankAddress}}</option> | |||||
{{each bankAddress as value i}} | |||||
<option value="{{value.bankDeposit}}">{{value.bankDeposit}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
<span onclick="getDeposit()" style="display: inline-block;padding: 5px 10px;background: var(--color);color: #ffffff;border-radius: 30px;">点击检索</span> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>联行号:</td> | |||||
<td style="border: none;"><input type="text" id="payeePaymentLines" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td></td> | |||||
<td> | |||||
<p onclick="formAction('bank')" id="bankSubmitBtn">保存</p> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>开户银行:</td> | |||||
<td style="border: none;"> | |||||
<select id="bankAddress" class="p-l-10" style="width: 50%" onchange="changeBankAddress()"> | |||||
<script id="bankAddressData" type="text/html"> | |||||
<option value="{{userInformationDetail.bankAddress}}" selected>{{userInformationDetail.bankAddress}}</option> | |||||
{{each bankAddress as value i}} | |||||
<option value="{{value.bankDeposit}}">{{value.bankDeposit}}</option> | |||||
{{/each}} | |||||
</script> | |||||
</select> | |||||
<span onclick="getDeposit()" style="display: inline-block;padding: 5px 10px;background: var(--color);color: #ffffff;border-radius: 30px;">点击检索</span> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td style="border: none;"><span>*</span>联行号:</td> | |||||
<td style="border: none;"><input type="text" id="payeePaymentLines" class="p-l-10" style="width: 50%"/></td> | |||||
</tr> | |||||
<tr> | |||||
<td></td> | |||||
<td> | |||||
<!-- {{if userInformationDetail.activitiStatus != '1'}}--> | |||||
<!-- <p onclick="submitInfo('user')">保存</p>--> | |||||
<!-- {{/if}}--> | |||||
<p onclick="submitInfo()" id="bankSubmitBtn">保存</p> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
</div> | |||||
<!-- 我的资料 — 修改密码 --> | <!-- 我的资料 — 修改密码 --> | ||||
<table width="100%" id="passWordInformationContent" style="display: none;"> | <table width="100%" id="passWordInformationContent" style="display: none;"> | ||||