02e02431 by 焦小希
2 parents 287168d2 32ba9e03
......@@ -85,4 +85,8 @@
.buyer_information ul li{
line-height: 36px;
box-sizing: border-box;
}
.taxItem {
width: 33%!important;
margin-bottom: 5px;
}
\ No newline at end of file
......
......@@ -237,9 +237,6 @@ function _saveSQR() {
});
d.userid = getCookie('myCookie').userid
sqrList.push(d)
sqrList.forEach((item, index)=> {
item.sqrlb = slsqxx.sqrlb
})
// 领证方式-邮寄地址
var addMailRecordRequest = {};
......@@ -259,6 +256,7 @@ function _saveSQR() {
'bsmSlsq': slsqxx.bsmSlsq,
'gyfsbm': 1,
'sqrlx': 1,
'sqrlb': slsqxx.sqrlb,
'gyfsmc': '单独所有',
'lzfs': lzfs,
'sqrList':sqrList,
......
......@@ -5,10 +5,46 @@ $(function () {
addTabs('#wssq')
setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
// 获取页面信息
dataList = getApplyRecord(GetQueryString('bsm_slsq'), GetQueryString('businessno'));
console.log(dataList)
_taxVerification(GetQueryString('bsm_slsq'), GetQueryString('businessno'))
})
//下一步事件
function skipClick(){
skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
}
function _taxVerification(bsm_slsq, businessno) {
var li, listItem;
$.ajax({
type: "get", //提交方式
url: portal.api_url + "/portal/FillInformation/taxVerification",//路径
dataType: "json",
data: {
"bsmSlsq": bsm_slsq,
"businessNo": businessno,
},
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
let data = result.data
$('#acceptanceUnit p').text(data.sldw)
$('#paymentTime p').text(data.jfsj)
$('#serialNumber p').text(data.sslsh)
for (var i = 0; i < data.taxList.length; i++) {
li = '<li class="taxItem"><span>税费项目</span>:<p>'+data.taxList[i].sfxm+'</p></li>'
li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>'
$('.paymentDetails').append(li);
}
for (var i = 0; i < data.sqrList.length; i++) {
listItem = '<li>'
listItem += '<p><span>姓名</span>:'+data.sqrList[i].sqrmc+'</p>'
if (data.sqrList[i].sqrzj == 1) {
listItem += '<p><span>证件类型</span>:身份证</p>'
}
listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>'
listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>'
$('#informationList').append(listItem)
}
}
}
});
}
\ No newline at end of file
......
......@@ -45,89 +45,24 @@
<h3>税费信息</h3>
</div>
<ul class="tax_information">
<li>
<span>税费项目</span>:
<p>二手房过户</p>
</li>
<li>
<span>税费</span>:
<p>20000元</p>
</li>
<li>
<span>缴费时间</span>:
<p>2020-1231</p>
</li>
<li>
<li id="acceptanceUnit">
<span>受理单位</span>:
<p>xxx税务局</p>
</li>
<li>
<span>税费流水号</span>:
<p>610234199612126622</p>
<li id="paymentTime">
<span>缴费时间</span>:
<p>2020-1231</p>
</li>
<li>
<span>完税证明号</span>:
<p>610234199612126622</p>
<li id="serialNumber">
<span>流水号</span>
<p></p>
</li>
<div class="paymentDetails">
</div>
</ul>
<div class="buyer_information">
<h3>买方信息</h3>
<ul>
<li>
<p>
<span>姓名</span>
任超
</p>
<p>
<span>证件类型</span>
身份证
</p>
<p>
<span>证件号码</span>
6101241933091679
</p>
<p>
<span>联系电话</span>
1874064565
</p>
</li>
<li>
<p>
<span>姓名</span>
任超
</p>
<p>
<span>证件类型</span>
身份证
</p>
<p>
<span>证件号码</span>
6101241933091679
</p>
<p>
<span>联系电话</span>
1874064565
</p>
</li>
<li>
<p>
<span>姓名</span>
任超
</p>
<p>
<span>证件类型</span>
身份证
</p>
<p>
<span>证件号码</span>
6101241933091679
</p>
<p>
<span>联系电话</span>
1874064565
</p>
</li>
</ul>
<ul id="informationList"></ul>
</div>
</div>
<div class="next_button">
......