79fdd4c8 by 任超

style:完税核税

1 parent 9aa699b4
......@@ -90,3 +90,14 @@
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,6 +34,10 @@ function _taxVerification(bsm_slsq, businessno) {
li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>'
$('.paymentDetails').append(li);
}
// 买方信息
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>'
......@@ -44,6 +48,19 @@ function _taxVerification(bsm_slsq, businessno) {
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)
}
}
}
}
});
......
......@@ -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">
......