@@ -111,7 +111,7 @@ var supplyDemandImg = '/transaction/website/supplyDemand/showImg/id' //用户 | |||
var updatePwd = '/system/user/profile/updatePwd' //修改用户密码 | |||
/* | |||
@purl /yinnong/deposit/list | |||
@purl /yinnong/deposit/realtimeList | |||
@param | |||
*/ | |||
var depositList = '/yinnong/deposit/realtimeList' //查询开户行 | |||
@@ -22,12 +22,37 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||
document.getElementById('bankId').value = tools.getCookie('bankCardNum'); | |||
document.getElementById('bankCardName').value = tools.getCookie('bankCardName'); | |||
document.getElementById('idCard').value = tools.getCookie('idCardNum'); | |||
document.getElementById('payeePaymentLines').value = tools.getCookie('payeePaymentLines'); | |||
tools.doGet(webDeptType+"/bank_account_type", {}, module.accountType, true); | |||
tools.doGet(webDeptType+"/bank_type_all", {}, module.bankType, true); | |||
//项目基本信息 | |||
tools.doGet(outProject + '/id/'+getQueryVariable('id'), {}, module.outProjectInformation,true); | |||
//网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | |||
tools.getWebConfig(); | |||
}; | |||
//底部友情链接 | |||
module.bankType = function (data) { | |||
if (data.code == 200) { | |||
var content = data.data; | |||
if(tools.getCookie('bankType') != undefined){ | |||
var bankType = content.filter(function (e) { return e.dictValue == tools.getCookie('bankType'); })[0].dictLabel; | |||
document.getElementById('bankType').value = bankType; | |||
} | |||
} | |||
} | |||
//底部友情链接 | |||
module.accountType = function (data) { | |||
if (data.code == 200) { | |||
var content = data.data; | |||
if(tools.getCookie('accountType') != undefined){ | |||
var accountType = content.filter(function (e) { return e.dictValue == tools.getCookie('accountType'); })[0].dictLabel; | |||
document.getElementById('accountType').value = accountType; | |||
} | |||
} | |||
} | |||
//焦点图数据 | |||
module.focusNewsTop = function (data) { | |||
if (data.code == 200) { | |||
@@ -138,6 +163,9 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||
var bankId = $('#bankId').val(); | |||
var idCard = $('#idCard').val(); | |||
var bankCardName = $('#bankCardName').val(); | |||
var payeePaymentLines = $('#payeePaymentLines').val(); | |||
var bankType = $('#bankType').val(); | |||
var accountType = $('#accountType').val(); | |||
data['projectId'] = getQueryVariable('id'); | |||
data['memberId'] = tools.getCookie('memberId'); | |||
@@ -148,6 +176,9 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||
data['bankAddress'] = userBank; | |||
data['bankCardName'] = bankCardName; | |||
data['bankCardNum'] = bankId; | |||
data['payeePaymentLines'] = payeePaymentLines; | |||
data['bankType'] = bankType; | |||
data['accountType'] = accountType; | |||
data['status'] = 'Y'; | |||
tools.doPost(signupSubmit, data, module.upLoadAction); | |||
@@ -161,39 +192,58 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||
var bankCardName = $('#bankCardName').val(); | |||
var bankId = $('#bankId').val(); | |||
var idCard = $('#idCard').val(); | |||
var payeePaymentLines = $('#payeePaymentLines').val(); | |||
var bankType = $('#bankType').val(); | |||
var accountType = $('#accountType').val(); | |||
if ($('#checkAgree:checked').val() == undefined ) { | |||
$('#checkAgree')[0].focus() | |||
tools.initTips('请选择我已同意 ', 'right', $('#checkAgree')[0], 2000) | |||
tools.initTips('请选择我已同意', 'right', $('#checkAgree')[0], 2000) | |||
return false; | |||
} | |||
if (realName == '') { | |||
$('#realName')[0].focus() | |||
tools.initTips('请输入姓名', 'right', $('#realName')[0], 2000) | |||
tools.initTips('姓名不可为空', 'right', $('#realName')[0], 2000) | |||
return false; | |||
} | |||
if (userNum == '') { | |||
$('#userNum')[0].focus() | |||
tools.initTips('请输入会员账号', 'right', $('#userNum')[0], 2000) | |||
tools.initTips('会员账号不可为空', 'right', $('#userNum')[0], 2000) | |||
return false; | |||
} | |||
if (accountType == '') { | |||
$('#accountType')[0].focus() | |||
tools.initTips('账户类型不可为空', 'right', $('#accountType')[0], 2000) | |||
return false; | |||
} | |||
if (bankType == '') { | |||
$('#bankType')[0].focus() | |||
tools.initTips('所属银行不可为空', 'right', $('#bankType')[0], 2000) | |||
return false; | |||
} | |||
if (bankCardName == '') { | |||
$('#bankCardName')[0].focus() | |||
tools.initTips('请输入开户行姓名', 'right', $('#bankCardName')[0], 2000) | |||
tools.initTips('开户行姓名不可为空', 'right', $('#bankCardName')[0], 2000) | |||
return false; | |||
} | |||
if (userBank == '') { | |||
$('#userBank')[0].focus() | |||
tools.initTips('请输入开户银行', 'right', $('#userBank')[0], 2000) | |||
tools.initTips('开户银行不可为空', 'right', $('#userBank')[0], 2000) | |||
return false; | |||
} | |||
if (bankId == '') { | |||
$('#bankId')[0].focus() | |||
tools.initTips('请输入银行卡号', 'right', $('#bankId')[0], 2000) | |||
tools.initTips('银行卡号不可为空', 'right', $('#bankId')[0], 2000) | |||
return false; | |||
} | |||
if (payeePaymentLines == '') { | |||
$('#payeePaymentLines')[0].focus() | |||
tools.initTips('联行号不可为空', 'right', $('#payeePaymentLines')[0], 2000) | |||
return false; | |||
} | |||
if (idCard == '') { | |||
$('#idCard')[0].focus() | |||
tools.initTips('请输入身份证号', 'right', $('#idCard')[0], 2000) | |||
tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | |||
return false; | |||
} | |||
@@ -188,6 +188,9 @@ define(['jquery', "Tools","user"], function ($, Tools) { | |||
tools.setCookie('bankAddress',content.bankAddress,24 * 60 * 60) | |||
tools.setCookie('bankCardName',content.bankCardName,24 * 60 * 60) | |||
tools.setCookie('bankCardNum',content.bankCardNum,24 * 60 * 60) | |||
tools.setCookie('accountType',content.accountType,24 * 60 * 60) | |||
tools.setCookie('payeePaymentLines',content.payeePaymentLines,24 * 60 * 60) | |||
tools.setCookie('bankType',content.bankType,24 * 60 * 60) | |||
tools.skip('/') | |||
} | |||
} | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">成交公告<i>></i><span>成交详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">成交公告</b><i>></i><span>成交详情</span></p> | |||
<table width="100%" cellpadding="0" border="1" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">成交公告<i>></i><span>鉴证详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">成交公告</b><i>></i><span>鉴证详情</span></p> | |||
<table border="1" cellpadding="0" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">招标公告<i>></i><span>招标详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">招标公告</b><i>></i><span>招标详情</span></p> | |||
<table border="1" cellpadding="0" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">成交公告<i>></i><span>经营权证</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">成交公告</b><i>></i><span>经营权证</span></p> | |||
<table width="100%" cellpadding="0" border="1" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">中标公告<i>></i><span>中标详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">中标公告</b><i>></i><span>中标详情</span></p> | |||
<table border="1" cellpadding="0" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -148,32 +148,48 @@ | |||
<p>· 已阅读并知晓:已阅读并同意《竞拍服务协议》</p> | |||
<p><input type="checkbox" id="checkAgree" style="position:relative;top: 2px;"/>本人已知晓并同意以上所有事项</p> | |||
</div> | |||
<div class="rule m-t-25 p-l-15"> | |||
<h3>竞买人身份确认说明:</h3> | |||
<p>竞买人身份信息无法在此修改,请前往<span style="color: #c12e2a;">个人中心 > 我的资料</span>进行修改维护</p> | |||
</div> | |||
<div class="m-t-25 p-l-15"> | |||
<h3 style="text-align: left;">2.竞买人身份确认</h3> | |||
<table class="bondTable"> | |||
<tr> | |||
<td><span>*</span>姓<i style="margin-left: 2em;"></i>名:</td> | |||
<td><input type="text" id="realName"/></td> | |||
<td><input readonly type="text" id="realName"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>会员账号:</td> | |||
<td><input type="text" id="userNum"/></td> | |||
<td><input readonly type="text" id="userNum"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>账户类型:</td> | |||
<td><input readonly type="text" id="accountType"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>所属银行:</td> | |||
<td><input readonly type="text" id="bankType"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>开户姓名:</td> | |||
<td><input type="text" id="bankCardName"/></td> | |||
<td><input readonly type="text" id="bankCardName"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>开户银行:</td> | |||
<td><input type="text" id="userBank"/></td> | |||
<td><input readonly type="text" id="userBank"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>银行卡号:</td> | |||
<td><input type="text" id="bankId"/></td> | |||
<td><input readonly type="text" id="bankId"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>联行号:</td> | |||
<td><input readonly type="text" id="payeePaymentLines"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>身份证号:</td> | |||
<td><input type="text" id="idCard"></td> | |||
<td><input readonly type="text" id="idCard"></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>上传相关凭证:</td> | |||
@@ -144,7 +144,8 @@ | |||
<div id="outProjectInformationContent"></div> | |||
<script id="outProjectInformationData" type="text/html"> | |||
<p class="font16 m-t-15 titIndex">挂牌项目<i>></i>产权交易<i>></i><span>{{outProjectInformationDetail.projectName}}</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">交易项目</b><i>></i><span>{{outProjectInformationDetail.projectName}}</span></p> | |||
<p class="importantText m-t-15" id="importantTitle">{{importantTitle}}</p> | |||
<div class="swiperDiv"> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">需求项目<i>></i><span>需求详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">需求项目</b><i>></i><span>需求详情</span></p> | |||
<table width="100%" cellpadding="0" border="1" cellspacing="0" id="announcementInformationContent"> | |||
<script id="announcementInformationData" type="text/html"> | |||
<tr> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">新闻资讯<i>></i><span>详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">新闻资讯</b><i>></i><span>详情</span></p> | |||
<div class="title"> | |||
<h1 class="font38" id="newTitle"></h1> | |||
<div class="m-b-30"> | |||
@@ -135,7 +135,7 @@ | |||
</ul> | |||
</div> | |||
<div class="w-1200"> | |||
<p class="font16 m-t-15 titIndex">政策法规<i>></i><b id="titIndex"></b><i>></i><span>详情</span></p> | |||
<p class="font16 m-t-15 titIndex"><b style="cursor:pointer;" onclick="history.go(-1)">政策法规</b><i>></i><b id="titIndex"></b><i>></i><span>详情</span></p> | |||
<div class="title"> | |||
<h1 class="font38" id="newTitle"></h1> | |||
<div class="m-b-30"> | |||
@@ -286,7 +286,7 @@ | |||
<td><input type="text" id="bankCardName" class="p-l-10" style="width: 30%"/></td> | |||
</tr> | |||
<tr> | |||
<td><span>*</span>开户账号:</td> | |||
<td><span>*</span>银行卡号:</td> | |||
<td><input type="text" id="bankCardNum" class="p-l-10" style="width: 30%"/></td> | |||
</tr> | |||