style:完税核税
Showing
3 changed files
with
37 additions
and
9 deletions
| ... | @@ -89,4 +89,15 @@ | ... | @@ -89,4 +89,15 @@ |
| 89 | .taxItem { | 89 | .taxItem { |
| 90 | width: 33%!important; | 90 | width: 33%!important; |
| 91 | margin-bottom: 5px; | 91 | margin-bottom: 5px; |
| 92 | } | ||
| 93 | |||
| 94 | .informationList li { | ||
| 95 | width: 100%!important; | ||
| 96 | } | ||
| 97 | .informationList p { | ||
| 98 | width: 25%!important; | ||
| 99 | display: inline-block; | ||
| 100 | } | ||
| 101 | .informationList p span { | ||
| 102 | width: 80px!important; | ||
| 92 | } | 103 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -34,16 +34,33 @@ function _taxVerification(bsm_slsq, businessno) { | ... | @@ -34,16 +34,33 @@ function _taxVerification(bsm_slsq, businessno) { |
| 34 | li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>' | 34 | li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>' |
| 35 | $('.paymentDetails').append(li); | 35 | $('.paymentDetails').append(li); |
| 36 | } | 36 | } |
| 37 | for (var i = 0; i < data.sqrList.length; i++) { | 37 | // 买方信息 |
| 38 | listItem = '<li>' | 38 | let userInfo = []; |
| 39 | listItem += '<p><span>姓名</span>:'+data.sqrList[i].sqrmc+'</p>' | 39 | userInfo.push(getCookie('myCookie')); |
| 40 | if (data.sqrList[i].sqrzj == 1) { | 40 | if(data.sqrList && data.sqrList.length>0) { |
| 41 | listItem += '<p><span>证件类型</span>:身份证</p>' | 41 | for (var i = 0; i < data.sqrList.length; i++) { |
| 42 | listItem = '<li>' | ||
| 43 | listItem += '<p><span>姓名</span>:'+data.sqrList[i].sqrmc+'</p>' | ||
| 44 | if (data.sqrList[i].sqrzj == 1) { | ||
| 45 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
| 46 | } | ||
| 47 | listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>' | ||
| 48 | listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>' | ||
| 49 | $('#informationList').append(listItem) | ||
| 50 | } | ||
| 51 | }else { | ||
| 52 | for (var i = 0; i < userInfo.length; i++) { | ||
| 53 | listItem = '<li>' | ||
| 54 | listItem += '<p><span>姓名</span>:'+userInfo[i].username+'</p>' | ||
| 55 | if (userInfo[i].zjzl == 1) { | ||
| 56 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
| 57 | } | ||
| 58 | listItem += '<p><span>证件号码</span>:'+userInfo[i].zjhm+'</p>' | ||
| 59 | listItem += '<p><span>联系电话</span>:'+userInfo[i].phone+'</p>' | ||
| 60 | $('#informationList').append(listItem) | ||
| 42 | } | 61 | } |
| 43 | listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>' | ||
| 44 | listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>' | ||
| 45 | $('#informationList').append(listItem) | ||
| 46 | } | 62 | } |
| 63 | |||
| 47 | } | 64 | } |
| 48 | } | 65 | } |
| 49 | }); | 66 | }); | ... | ... |
| ... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
| 62 | </ul> | 62 | </ul> |
| 63 | <div class="buyer_information"> | 63 | <div class="buyer_information"> |
| 64 | <h3>买方信息</h3> | 64 | <h3>买方信息</h3> |
| 65 | <ul id="informationList"></ul> | 65 | <ul id="informationList" class="informationList"></ul> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| 68 | <div class="next_button"> | 68 | <div class="next_button"> | ... | ... |
-
Please register or sign in to post a comment