0
0

detail.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <style>
  4. .custom-table.table{
  5. width: 100%;
  6. }
  7. .custom-table th,.custom-table td{
  8. padding: 10px;
  9. }
  10. .custom-table th{
  11. width: 120px;
  12. text-align: right;
  13. }
  14. .text {
  15. width: 200px;
  16. display: inline-block;
  17. }
  18. .num {
  19. margin-left: 20px;
  20. }
  21. </style>
  22. <div class="col-sm-12">
  23. <div class="panel panel-default">
  24. <div class="panel-heading clearfix">
  25. 详情
  26. <div class="btn-group pull-right">
  27. <a href="javascript:history.go(-1);">返回</a>
  28. </div>
  29. </div>
  30. <div class="panel-body">
  31. <div style="margin-bottom: 20px">
  32. 上次到期时间:{$data['data']['start']};
  33. 交款结束时间:{$data['data']['end']};
  34. 备注:{$data['data']['remark']} <br>
  35. 状态:
  36. {if $data['data']['status'] == 0}待审核{/if}
  37. {if $data['data']['status'] == 1}已同意{/if}
  38. {if $data['data']['status'] == 2}已拒绝{/if}
  39. {if $data['data']['status'] == 3}已取消{/if}
  40. <p></p>
  41. <!-- <a href="javascript:;" onclick="onagree(this)" class="btn btn-primary btn-sm">同意</a>-->
  42. <!-- <a href="javascript:;" onclick="ondisagree(this)" class="btn btn-warinig btn-sm">拒绝</a>-->
  43. </div>
  44. </div>
  45. </div>
  46. <div class="panel panel-default">
  47. <!-- nav tabs -->
  48. <ul class="nav nav-tabs" role="tablist">
  49. <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">基本汇总</a></li>
  50. <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">基本明细</a></li>
  51. <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">科目明细</a></li>
  52. </ul>
  53. <div class="tab-content">
  54. <div role="tabpanel" class="tab-pane active" id="home">
  55. <table class="table table-bordered">
  56. <tr>
  57. <th>总金额</th>
  58. <th>总预付款</th>
  59. <th>总实收</th>
  60. <th>现金</th>
  61. <th>支付宝</th>
  62. <th>银行托收</th>
  63. <th>微信</th>
  64. </tr>
  65. <tr>
  66. <td>{$data['data']['money']}</td>
  67. <td>{$data['data']['pre_money']}</td>
  68. <td>{$data['data']['true_money']}</td>
  69. <td>{$data['data']['pay_money1']}</td>
  70. <td>{$data['data']['pay_money3']}</td>
  71. <td>{$data['data']['pay_money4']}</td>
  72. <td>{$data['data']['pay_money5']}</td>
  73. </tr>
  74. </table>
  75. <table class="table table-bordered">
  76. <tr>
  77. <th>收费科目</th>
  78. <th>金额</th>
  79. </tr>
  80. {foreach $data['fees'] as $k=>$v}
  81. <tr>
  82. <td>{$v['fee_title']}</td>
  83. <td>{$v['money']}</td>
  84. </tr>
  85. {/foreach}
  86. </table>
  87. </div>
  88. <div role="tabpanel" class="tab-pane" id="profile">
  89. <table class="table table-bordered">
  90. <tr>
  91. <th>单据号</th>
  92. <th>业主</th>
  93. <th>应收</th>
  94. <th>实收</th>
  95. <th>预付款</th>
  96. <th>支付方式</th>
  97. <th>收款日期</th>
  98. <th>收款人</th>
  99. </tr>
  100. {foreach $data['list'] as $k=>$v}
  101. <tr>
  102. <td>{$v['sn']}</td>
  103. <td>{$v['name']}</td>
  104. <td>{$v['money']}</td>
  105. <td>{$v['true_money']}</td>
  106. <td>{$v['pre_money']}</td>
  107. <td>
  108. {if $v['pay_type'] == 1}现金{/if}
  109. {if $v['pay_type'] == 3}支付宝{/if}
  110. {if $v['pay_type'] == 4}银行托收{/if}
  111. {if $v['pay_type'] == 5}微信{/if}
  112. {if $v['pay_type'] == 6}组合付款{/if}
  113. </td>
  114. <td>{$v['pay_time']}</td>
  115. <td>{$v['payee']}</td>
  116. </tr>
  117. {/foreach}
  118. </table>
  119. </div>
  120. <div role="tabpanel" class="tab-pane" id="messages">
  121. <table class="table table-bordered">
  122. <tr>
  123. <th>单据号</th>
  124. <th>业主</th>
  125. <th>小区</th>
  126. <th>资源名称</th>
  127. <th>资源属性</th>
  128. <th>类型</th>
  129. <th>收费科目</th>
  130. <th>金额</th>
  131. <th>起止日期</th>
  132. <th>收款日期</th>
  133. <th>收款人</th>
  134. </tr>
  135. {foreach $data['logs'] as $k=>$v}
  136. <tr>
  137. <td>{$v['sn']}</td>
  138. <td>{$v['name']}</td>
  139. <td>{$v['area_title']}</td>
  140. <td>{$v['title']}</td>
  141. <td>
  142. {if $v['cate'] == 1}住房{/if}
  143. {if $v['cate'] == 2}商铺{/if}
  144. {if $v['cate'] == 3}营业房{/if}
  145. {if $v['cate'] == 4}储藏室{/if}
  146. {if $v['cate'] == 5}停车位{/if}
  147. </td>
  148. <td>{$v['c_type_name']}</td>
  149. <td>{$v['fee_title']}</td>
  150. <td>{$v['money']}</td>
  151. <td>
  152. {if $v['start']}
  153. {$v['start']} ~ {$v['end']}
  154. {/if}
  155. </td>
  156. <td>{$v['pay_time']}</td>
  157. <td>{$v['payee']}</td>
  158. </tr>
  159. {/foreach}
  160. </table>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. {/block}
  166. {block name="script"}
  167. {/block}