0
0

detail2.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. {if $data['data']['status'] == 0}
  42. <a href="{:url('agree',[],'')}/id/{$data['data']['id']}" class="confirm ajax-get" data-confirm="确定要同意吗?" data-reload="1"><span class="btn btn-sm btn-primary" title="同意">同意</span></a>
  43. <a href="{:url('disagree',[],'')}/id/{$data['data']['id']}" class="confirm ajax-get" data-confirm="确定要拒绝吗?" data-reload="1"><span class="btn btn-sm btn-danger" title="拒绝">拒绝</span></a>
  44. {/if}
  45. </div>
  46. </div>
  47. </div>
  48. <div class="panel panel-default">
  49. <!-- nav tabs -->
  50. <ul class="nav nav-tabs" role="tablist">
  51. <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">基本汇总</a></li>
  52. <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">基本明细</a></li>
  53. <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">科目明细</a></li>
  54. <li role="presentation">
  55. <a href="{:url('detail2print',[],'')}/id/{$data['data']['id']}">打印</a>
  56. </li>
  57. </ul>
  58. <div class="tab-content">
  59. <div role="tabpanel" class="tab-pane active" id="home">
  60. <table class="table table-bordered">
  61. <tr>
  62. <th>总金额</th>
  63. <th>总预付款</th>
  64. <th>总实收</th>
  65. <th>现金</th>
  66. <th>支付宝</th>
  67. <th>银行托收</th>
  68. <th>微信</th>
  69. </tr>
  70. <tr>
  71. <td>{$data['data']['money']}</td>
  72. <td>{$data['data']['pre_money']}</td>
  73. <td>{$data['data']['true_money']}</td>
  74. <td>{$data['data']['pay_money1']}</td>
  75. <td>{$data['data']['pay_money3']}</td>
  76. <td>{$data['data']['pay_money4']}</td>
  77. <td>{$data['data']['pay_money5']}</td>
  78. </tr>
  79. </table>
  80. <table class="table table-bordered">
  81. <tr>
  82. <th>收费科目</th>
  83. <th>金额</th>
  84. </tr>
  85. {foreach $data['fees'] as $k=>$v}
  86. <tr>
  87. <td>{$v['fee_title']}</td>
  88. <td>{$v['money']}</td>
  89. </tr>
  90. {/foreach}
  91. </table>
  92. </div>
  93. <div role="tabpanel" class="tab-pane" id="profile">
  94. <table class="table table-bordered">
  95. <tr>
  96. <th>单据号</th>
  97. <th>业主</th>
  98. <th>应收</th>
  99. <th>实收</th>
  100. <th>预付款</th>
  101. <th>支付方式</th>
  102. <th>收款日期</th>
  103. <th>收款人</th>
  104. </tr>
  105. {foreach $data['list'] as $k=>$v}
  106. <tr>
  107. <td>{$v['sn']}</td>
  108. <td>{$v['name']}</td>
  109. <td>{$v['money']}</td>
  110. <td>{$v['true_money']}</td>
  111. <td>{$v['pre_money']}</td>
  112. <td>
  113. {if $v['pay_type'] == 1}现金{/if}
  114. {if $v['pay_type'] == 3}支付宝{/if}
  115. {if $v['pay_type'] == 4}银行托收{/if}
  116. {if $v['pay_type'] == 5}微信{/if}
  117. {if $v['pay_type'] == 6}组合付款{/if}
  118. </td>
  119. <td>{$v['pay_time']}</td>
  120. <td>{$v['payee']}</td>
  121. </tr>
  122. {/foreach}
  123. </table>
  124. <div>
  125. 总应收:{$data['data']['money']}元;总实收:{$data['data']['true_money']}元;总预付款:{$data['data']['pre_money']}元;
  126. </div>
  127. </div>
  128. <div role="tabpanel" class="tab-pane" id="messages">
  129. <table class="table table-bordered">
  130. <tr>
  131. <th>单据号</th>
  132. <th>业主</th>
  133. <th>小区</th>
  134. <th>资源名称</th>
  135. <th>资源属性</th>
  136. <th>类型</th>
  137. <th>收费科目</th>
  138. <th>金额</th>
  139. <th>起止日期</th>
  140. <th>收款日期</th>
  141. <th>收款人</th>
  142. </tr>
  143. {foreach $data['logs'] as $k=>$v}
  144. <tr>
  145. <td>{$v['sn']}</td>
  146. <td>{$v['name']}</td>
  147. <td>{$v['area_title']}</td>
  148. <td>{$v['title']}</td>
  149. <td>
  150. {if $v['cate'] == 1}住房{/if}
  151. {if $v['cate'] == 2}商铺{/if}
  152. {if $v['cate'] == 3}营业房{/if}
  153. {if $v['cate'] == 4}储藏室{/if}
  154. {if $v['cate'] == 5}停车位{/if}
  155. </td>
  156. <td>{$v['c_type_name']}</td>
  157. <td>{$v['fee_title']}</td>
  158. <td>{$v['money']}</td>
  159. <td>
  160. {if $v['start']}
  161. {$v['start']} ~ {$v['end']}
  162. {/if}
  163. </td>
  164. <td>{$v['pay_time']}</td>
  165. <td>{$v['payee']}</td>
  166. </tr>
  167. {/foreach}
  168. </table>
  169. <div>
  170. 总金额:{$data['data']['money']+$data['data']['pre_money']}元;总预付款:{$data['data']['pre_money']}元;现金:{$data['data']['pay_money1']}元;支付宝:{$data['data']['pay_money3']}元;银行托收:{$data['data']['pay_money4']}元;微信:{$data['data']['pay_money5']}元;
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. {/block}
  177. {block name="script"}
  178. {/block}