@@ -599,4 +599,14 @@ input::-webkit-inner-spin-button { | |||||
ine-height: 40px; | ine-height: 40px; | ||||
background: #f9f9f9; | background: #f9f9f9; | ||||
border: 1px solid #e8e8e8; | border: 1px solid #e8e8e8; | ||||
} | |||||
.signUpYes{ | |||||
/*background: linear-gradient(to right, #e82d2d , #f6a4ab);*/ | |||||
background-color: #c21f3a; | |||||
color: #FFFFFF; | |||||
padding: 6px 0px; | |||||
text-align: center; | |||||
width: 244px; | |||||
line-height: 50px; | |||||
} | } |
@@ -23,6 +23,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
document.getElementById('bankCardName').value = tools.getCookie('bankCardName'); | document.getElementById('bankCardName').value = tools.getCookie('bankCardName'); | ||||
document.getElementById('idCard').value = tools.getCookie('idCardNum'); | document.getElementById('idCard').value = tools.getCookie('idCardNum'); | ||||
document.getElementById('payeePaymentLines').value = tools.getCookie('payeePaymentLines'); | document.getElementById('payeePaymentLines').value = tools.getCookie('payeePaymentLines'); | ||||
document.getElementById('accountType').value = tools.getCookie('accountType'); | |||||
document.getElementById('bankType').value = tools.getCookie('bankType'); | |||||
tools.doGet(webDeptType+"/bank_account_type", {}, module.accountType, true); | tools.doGet(webDeptType+"/bank_account_type", {}, module.accountType, true); | ||||
tools.doGet(webDeptType+"/bank_type_all", {}, module.bankType, true); | tools.doGet(webDeptType+"/bank_type_all", {}, module.bankType, true); | ||||
//项目基本信息 | //项目基本信息 | ||||
@@ -38,7 +40,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
var bankType = '' | var bankType = '' | ||||
if(tools.getCookie('bankType') != undefined && tools.getCookie('bankType') != 'null' && tools.getCookie('bankType') != ''){ | if(tools.getCookie('bankType') != undefined && tools.getCookie('bankType') != 'null' && tools.getCookie('bankType') != ''){ | ||||
bankType = content.filter(function (e) { return e.dictValue == tools.getCookie('bankType'); })[0].dictLabel; | bankType = content.filter(function (e) { return e.dictValue == tools.getCookie('bankType'); })[0].dictLabel; | ||||
document.getElementById('bankType').value = bankType; | |||||
document.getElementById('bankTypeText').value = bankType; | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -49,7 +51,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
var content = data.data; | var content = data.data; | ||||
if(tools.getCookie('accountType') != undefined){ | if(tools.getCookie('accountType') != undefined){ | ||||
var accountType = content.filter(function (e) { return e.dictValue == tools.getCookie('accountType'); })[0].dictLabel; | var accountType = content.filter(function (e) { return e.dictValue == tools.getCookie('accountType'); })[0].dictLabel; | ||||
document.getElementById('accountType').value = accountType; | |||||
document.getElementById('accountTypeText').value = accountType; | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -250,8 +252,25 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function | |||||
tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | ||||
return false; | return false; | ||||
} | } | ||||
return true; | |||||
if (idCard == '') { | |||||
$('#idCard')[0].focus() | |||||
tools.initTips('身份证号不可为空', 'right', $('#idCard')[0], 2000) | |||||
return false; | |||||
} | |||||
let array = [] | |||||
$('#cupload-3').find('input').each(function() { | |||||
if($(this).val()!=''){ | |||||
array.push($(this).val()) | |||||
} | |||||
}); | |||||
if(array.length<1){ | |||||
$('#cupload-3')[0].focus() | |||||
tools.initTips('请上传相关凭证', 'right', $('#cupload-3')[0], 2000) | |||||
return false; | |||||
} | |||||
else{ | |||||
return true; | |||||
} | |||||
} | } | ||||
module.toTips = function(data){ | module.toTips = function(data){ | ||||
console.log(data) | console.log(data) | ||||
@@ -11,6 +11,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function | |||||
loginNow:'', | loginNow:'', | ||||
timer:null, | timer:null, | ||||
biddinglistInformationDetailLength:0, | biddinglistInformationDetailLength:0, | ||||
biddingTimeType:0 | |||||
}, | }, | ||||
}; | }; | ||||
var tools = new Tools(); | var tools = new Tools(); | ||||
@@ -168,11 +168,17 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td><span>*</span>账户类型:</td> | <td><span>*</span>账户类型:</td> | ||||
<td><input readonly type="text" id="accountType"/></td> | |||||
<td> | |||||
<input readonly type="text" id="accountTypeText"/> | |||||
<input readonly type="text" id="accountType" hidden/> | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td><span>*</span>所属银行:</td> | <td><span>*</span>所属银行:</td> | ||||
<td><input readonly type="text" id="bankType"/></td> | |||||
<td> | |||||
<input readonly type="text" id="bankTypeText"/> | |||||
<input readonly type="text" id="bankType" hidden/> | |||||
</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td><span>*</span>开户姓名:</td> | <td><span>*</span>开户姓名:</td> | ||||
@@ -234,29 +234,36 @@ | |||||
<div style="display: none;" id="swiperType" class="swiperInput"> | <div style="display: none;" id="swiperType" class="swiperInput"> | ||||
<table> | <table> | ||||
{{if signup == 1}} | {{if signup == 1}} | ||||
<tr> | |||||
<td> | |||||
<p class="fl inputTit">出价</p> | |||||
</td> | |||||
<td> | |||||
<input type="number" id="money" oninput="moneyChange()" value="{{outProjectInformationDetail.money}}" {{outProjectInformationDetail.biddingType == '阶梯竞价'? 'readonly':''}} class="fl"/> | |||||
<div class="fl"> | |||||
{{if outProjectInformationDetail.biddingType == '阶梯竞价'}} | |||||
<input type="button" value="+" onclick="{{loginNow == '' ? '':'upMoney()'}}"/> | |||||
<input type="button" value="-" onclick="{{loginNow == '' ? '':'downMoney()'}}"/> | |||||
{{/if}} | |||||
</div> | |||||
</td> | |||||
</tr> | |||||
{{if biddingTimeType == 1}} | |||||
<tr> | |||||
<td> | |||||
<p class="fl inputTit">出价</p> | |||||
</td> | |||||
<td> | |||||
<input type="number" id="money" oninput="moneyChange()" value="{{outProjectInformationDetail.money}}" {{outProjectInformationDetail.biddingType == '阶梯竞价'? 'readonly':''}} class="fl"/> | |||||
<div class="fl"> | |||||
{{if outProjectInformationDetail.biddingType == '阶梯竞价'}} | |||||
<input type="button" value="+" onclick="{{loginNow == '' ? '':'upMoney()'}}"/> | |||||
<input type="button" value="-" onclick="{{loginNow == '' ? '':'downMoney()'}}"/> | |||||
{{/if}} | |||||
</div> | |||||
</td> | |||||
</tr> | |||||
{{/if}} | |||||
{{/if}} | {{/if}} | ||||
<tr> | <tr> | ||||
<td></td> | <td></td> | ||||
<td> | <td> | ||||
{{if loginNow != ''}} | {{if loginNow != ''}} | ||||
{{if signup == 1}} | {{if signup == 1}} | ||||
<div class="sign" id="signBtnYes" onclick="biddingSubmitMethod()"> | |||||
<p>立即出价</p> | |||||
</div> | |||||
{{if biddingTimeType == 1}} | |||||
<div class="sign" id="signBtnYes" onclick="biddingSubmitMethod()"> | |||||
<p>立即出价</p> | |||||
</div> | |||||
{{/if}} | |||||
{{if biddingTimeType == 3}} | |||||
<p class="signUpYes">已报名</p> | |||||
{{/if}} | |||||
{{else}} | {{else}} | ||||
<div id="signBtn"> | <div id="signBtn"> | ||||
<div class="fl sign" onclick="goBond()"> | <div class="fl sign" onclick="goBond()"> | ||||