79fdd4c8 by 任超

style:完税核税

1 parent 9aa699b4
......@@ -89,4 +89,15 @@
.taxItem {
width: 33%!important;
margin-bottom: 5px;
}
.informationList li {
width: 100%!important;
}
.informationList p {
width: 25%!important;
display: inline-block;
}
.informationList p span {
width: 80px!important;
}
\ No newline at end of file
......
......@@ -34,16 +34,33 @@ function _taxVerification(bsm_slsq, businessno) {
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>'
// 买方信息
let userInfo = [];
userInfo.push(getCookie('myCookie'));
if(data.sqrList && data.sqrList.length>0) {
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)
}
}else {
for (var i = 0; i < userInfo.length; i++) {
listItem = '<li>'
listItem += '<p><span>姓名</span>:'+userInfo[i].username+'</p>'
if (userInfo[i].zjzl == 1) {
listItem += '<p><span>证件类型</span>:身份证</p>'
}
listItem += '<p><span>证件号码</span>:'+userInfo[i].zjhm+'</p>'
listItem += '<p><span>联系电话</span>:'+userInfo[i].phone+'</p>'
$('#informationList').append(listItem)
}
listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>'
listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>'
$('#informationList').append(listItem)
}
}
}
});
......
......@@ -62,7 +62,7 @@
</ul>
<div class="buyer_information">
<h3>买方信息</h3>
<ul id="informationList"></ul>
<ul id="informationList" class="informationList"></ul>
</div>
</div>
<div class="next_button">
......