invoiceAggregateCompanyDetail.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <!-- include 'header' -->
  2. <script src="<?= WEB_SITE_GLOBAL ?>js/invoice.js"></script>
  3. <link href="<?= WEB_SITE_GLOBAL ?>css/datepicker.min.css" rel="stylesheet" type="text/css">
  4. <script src="<?= WEB_SITE_GLOBAL ?>js/datepicker.min.js"></script>
  5. <script src="<?= WEB_SITE_GLOBAL ?>js/datepicker.zh.js"></script>
  6. <body>
  7. <div class="mainLayout">
  8. <div class="mainMenu">
  9. <div class="menuItem">
  10. <a href="#" class="mLogo">CLD</a>
  11. <ul>
  12. <!-- include 'menuReceipt' -->
  13. </ul>
  14. </div>
  15. </div>
  16. <div class="warpContent">
  17. <div class="subMenu fL">
  18. <div class="menuItem">
  19. <!-- include 'invoiceMenu' -->
  20. </div>
  21. </div>
  22. <div class="adminContent autoHeight">
  23. <legend>
  24. 全年开票应收款汇总
  25. </legend>
  26. <div class="demandCate">
  27. <form action="/invoiceAggregateCompanyDetail/1/{{status}}" id="iaa" method="get">
  28. <ul class="cateList">
  29. <li>
  30. <select onchange="javascript:location.href=this.value;">
  31. <option <!-- if {{status}}=='All' --> selected <!-- endif --> value="/invoiceAggregateCompanyDetail">所有</option>
  32. <option <!-- if {{status}}=='UNRECORD' --> selected <!-- endif --> value="/invoiceAggregateCompanyDetail/1/UNRECORD">未入账</option>
  33. <option <!-- if {{status}}=='RECORD' --> selected <!-- endif --> value="/invoiceAggregateCompanyDetail/1/RECORD">已入账</option>
  34. <option <!-- if {{status}}=='PARTRECORD' --> selected <!-- endif --> value="/invoiceAggregateCompanyDetail/1/PARTRECORD">部分入账</option>
  35. </select>
  36. </li>
  37. <li>
  38. <select name="cidKey" node-invoicetype >
  39. <option <!-- if {{cidKey}}=='' --> selected <!-- endif --> value="ALL" >所有</option>
  40. <!-- loop categoryList -->
  41. <option <!-- if {{categoryList' value.cidKey}}=={{cidKey}} --> selected <!-- endif --> value="{{categoryList' value.cidKey}}">{{categoryList' value.title}}</option>
  42. <!-- endloop -->
  43. </select>&nbsp;
  44. <select name="sidKey" node-invoicetype>
  45. <option <!-- if {{sid}}=='' --> selected <!-- endif --> value="ALL" >所有</option>
  46. <!-- loop staffList -->
  47. <option <!-- if {{staffList' value.sid}}=={{sid}} --> selected <!-- endif --> value="{{staffList' value.sidKey}}">{{staffList' value.username}}</option>
  48. <!-- endloop -->
  49. </select>
  50. </li>
  51. <li>
  52. <select name="year" node-invoicetype >
  53. <option value="ALL">所有</option>
  54. <!-- include 'year' -->
  55. </select>&nbsp;
  56. <select name="month" node-invoicetype >
  57. <option value="ALL">全年</option>
  58. {{monthHtml}}
  59. </select>
  60. </li>
  61. <li>
  62. <select name="invoiceElement" node-invoicetype >
  63. <option value="ALL">所有开票内容</option>
  64. <!-- include 'invoiceElement' -->
  65. </select>
  66. </li>
  67. <li>开票数量:<b>{{page.total_data}}</b> 张</li>
  68. <li>开票总计:¥{{ics.invoicePrice}}</li>
  69. <li>应收款总计:<span class="colGreen">¥{{ics.diffPrice}}</span></li>
  70. <li>已入账总计:¥{{ics.receivablesPrice}}</li>
  71. </ul>
  72. </form>
  73. </div>
  74. <div class="saeaList">
  75. <div class="entry" style="margin-bottom:0;">
  76. <script type="text/javascript">$(document).ready(function() {
  77. // $('#invoiceTable').fixedHeaderTable({ fixedColumns:1 });
  78. });</script>
  79. <table class="table table-bordered table-condensed table-hover fancyTable" id="invoiceTable">
  80. <thead>
  81. <tr><th class="taC">开票流水号</th><th class="taC">开票金额</th><th class="taC">开票单位(抬头)</th><th class="taC">开票内容</th><th class="taC">收款流水号</th><th class="taC">收款金额</th><th class="taC">应收款金额</th><th class="taC">申请人</th><th class="taC">出票时间</th></tr>
  82. </thead>
  83. <tbody>
  84. <!-- loop list -->
  85. <tr>
  86. <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{list' value.iidKeyK}}" data-toggle="modal">{{list' value.invoiceSerial}}</a></td>
  87. <td>
  88. <!-- if !empty({{list' value.invoiceType}}) -->
  89. <b>¥{{list' value.invoicePrice}}</b><sup>专</sup>
  90. <!-- else -->
  91. <b>¥{{list' value.invoicePrice}}</b>
  92. <!-- endif -->
  93. </td>
  94. <td>
  95. <!-- if !empty({{list' value.invoiceType}}) -->
  96. {{list' value.invoiceCompany}}
  97. <!-- else -->
  98. {{list' value.invoiceTitle}}
  99. <!-- endif -->
  100. </td>
  101. <td>{{list' value.invoiceElement}}</td>
  102. <td>
  103. <!-- loop list' value.irList -->
  104. <a href="#billing" node-invoice='INFO' data-type="receivables" data-isKey="{{list' value' value.iridKeyK}}" data-toggle="modal">{{list' value' value.receivablesSerial}}</a>&nbsp;
  105. <!-- endloop -->
  106. </td>
  107. <td>
  108. <!-- if {{list' value.sumPrice}}==0 -->
  109. <!-- elseif {{list' value.sumPrice}}=={{list' value.invoicePrice}} -->
  110. <b >¥{{list' value.sumPrice}}</b>
  111. <!-- elseif {{list' value.sumPrice}}>{{list' value.invoicePrice}} -->
  112. <b class="colOrange">¥{{list' value.sumPrice}}</b>
  113. <!-- elseif {{list' value.sumPrice}}<{{list' value.invoicePrice}} -->
  114. <b class="colRed">¥{{list' value.sumPrice}}</b>
  115. <!-- endif -->
  116. </td>
  117. <td>
  118. <!-- if {{list' value.diffPrice}}!=0 -->
  119. {{list' value.diffPrice}}
  120. <!-- endif -->
  121. </td>
  122. <td>{{list' value.categoryName}}-{{list' value.userName}}</td>
  123. <td>
  124. {{list' value.printTime}}
  125. </td>
  126. </tr>
  127. <!-- endloop -->
  128. </tbody>
  129. </table>
  130. </div>
  131. </div>
  132. <div class="demandPage">
  133. <ul class="pagination fL">
  134. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}">&laquo;</a></li>
  135. <!-- if {{page.previous}}==0 -->
  136. <li><a href="javascript:void(0)" title="上一页">&lt;</a></li>
  137. <!-- else -->
  138. <li><a href="/invoiceAggregateCompanyDetail/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
  139. <!-- endif -->
  140. <!-- if {{page.on_page}}>=3 -->
  141. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}" title="上一页">1</a></li>
  142. <li class="point"><span>...</span></li>
  143. <!-- endif -->
  144. {{page.page}}
  145. <!-- if {{page.on_page}}<3 && {{page.total_page}}>5 -->
  146. <li><a href="/invoiceAggregateCompanyDetail/4{{get}}" >4</a></li>
  147. <li><a href="/invoiceAggregateCompanyDetail/5{{get}}" >5</a></li>
  148. <!-- endif -->
  149. <!-- if {{page.total_page}}>3&&{{page.total_page}}!={{page.on_page}} -->
  150. <li class="point"><span>...</span></li>
  151. <!-- endif -->
  152. <!-- if {{page.next}}=={{page.on_page}} -->
  153. <li><a href="javascript:void(0)" title="下一页">&gt;</a></li>
  154. <!-- else -->
  155. <li><a href="/invoiceAggregateCompanyDetail/{{page.next}}{{get}}" title="下一页">&gt;</a></li>
  156. <!-- endif -->
  157. <li><a href="/invoiceAggregateCompanyDetail/{{page.total_page}}{{get}}">&raquo;</a></li>
  158. </ul>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. <div loading-msg='true' style="position:absolute; left:50%; top:50%; "></div>
  164. <div class="modal fade" id="invdetail">
  165. <div id="nc"></div>
  166. </div>
  167. <div class="modal fade" id="billing">
  168. <div id="nr"></div>
  169. </div>
  170. <script type="text/javascript">autoFlashHeight();</script>
  171. </body>