invoiceAggregateCompanyDetail.html 7.3 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. <!-- include 'year' -->
  54. </select>&nbsp;
  55. <select name="month" node-invoicetype >
  56. <option value="ALL">全年</option>
  57. {{monthHtml}}
  58. </select>
  59. </li>
  60. <li>
  61. <select name="invoiceElement" node-invoicetype >
  62. <option value="ALL">所有开票内容</option>
  63. <!-- include 'invoiceElement' -->
  64. </select>
  65. </li>
  66. <li>开票数量:<b>{{page.total_data}}</b> 张</li>
  67. <li>开票总计:¥{{ics.invoicePrice}}</li>
  68. <li>应收款总计:<span class="colGreen">¥{{ics.diffPrice}}</span></li>
  69. <li>已入账总计:¥{{ics.receivablesPrice}}</li>
  70. </ul>
  71. </form>
  72. </div>
  73. <div class="saeaList">
  74. <div class="entry autoHeightI2" style="margin-bottom:0;">
  75. <script type="text/javascript">$(document).ready(function() {
  76. // $('#invoiceTable').fixedHeaderTable({ fixedColumns:1 });
  77. });</script>
  78. <table class="table table-bordered table-condensed table-hover fancyTable" id="invoiceTable">
  79. <thead>
  80. <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>
  81. </thead>
  82. <tbody>
  83. <!-- loop list -->
  84. <tr>
  85. <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{list' value.iidKeyK}}" data-toggle="modal">{{list' value.invoiceSerial}}</a></td>
  86. <td>
  87. <!-- if !empty({{list' value.invoiceType}}) -->
  88. <b>¥{{list' value.invoicePrice}}</b><sup>专</sup>
  89. <!-- else -->
  90. <b>¥{{list' value.invoicePrice}}</b>
  91. <!-- endif -->
  92. </td>
  93. <td>
  94. <!-- if !empty({{list' value.invoiceType}}) -->
  95. {{list' value.invoiceCompany}}
  96. <!-- else -->
  97. {{list' value.invoiceTitle}}
  98. <!-- endif -->
  99. </td>
  100. <td>{{list' value.invoiceElement}}</td>
  101. <td>
  102. <!-- loop list' value.irList -->
  103. <a href="#billing" node-invoice='INFO' data-type="receivables" data-isKey="{{list' value' value.iridKeyK}}" data-toggle="modal">{{list' value' value.receivablesSerial}}</a>&nbsp;
  104. <!-- endloop -->
  105. </td>
  106. <td>
  107. <!-- if {{list' value.sumPrice}}==0 -->
  108. <!-- elseif {{list' value.sumPrice}}=={{list' value.invoicePrice}} -->
  109. <b >¥{{list' value.sumPrice}}</b>
  110. <!-- elseif {{list' value.sumPrice}}>{{list' value.invoicePrice}} -->
  111. <b class="colOrange">¥{{list' value.sumPrice}}</b>
  112. <!-- elseif {{list' value.sumPrice}}<{{list' value.invoicePrice}} -->
  113. <b class="colRed">¥{{list' value.sumPrice}}</b>
  114. <!-- endif -->
  115. </td>
  116. <td>{{list' value.diffPrice}}</td>
  117. <td>{{list' value.categoryName}}-{{list' value.userName}}</td>
  118. <td>
  119. {{list' value.printTime}}
  120. </td>
  121. </tr>
  122. <!-- endloop -->
  123. </tbody>
  124. </table>
  125. </div>
  126. </div>
  127. <div class="demandPage">
  128. <ul class="pagination fL">
  129. <!-- if {{page.previous}}==0 -->
  130. <li><a href="javascript:void(0)" title="上一页">&lt;</a></li>
  131. <!-- else -->
  132. <li><a href="/invoiceAggregateCompanyDetail/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
  133. <!-- endif -->
  134. <!-- if {{page.on_page}}>=3 -->
  135. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}" title="上一页">1</a></li>
  136. <li class="point"><span>...</span></li>
  137. <!-- endif -->
  138. {{page.page}}
  139. <!-- if {{page.on_page}}<3 && {{page.total_page}}>5 -->
  140. <li><a href="/invoiceAggregateCompanyDetail/4{{get}}" >4</a></li>
  141. <li><a href="/invoiceAggregateCompanyDetail/5{{get}}" >5</a></li>
  142. <!-- endif -->
  143. <!-- if {{page.total_page}}>3&&{{page.total_page}}!={{page.on_page}} -->
  144. <li class="point"><span>...</span></li>
  145. <!-- endif -->
  146. <!-- if {{page.next}}=={{page.on_page}} -->
  147. <li><a href="javascript:void(0)" title="下一页">&gt;</a></li>
  148. <!-- else -->
  149. <li><a href="/invoiceAggregateCompanyDetail/{{page.next}}{{get}}" title="下一页">&gt;</a></li>
  150. <!-- endif -->
  151. </ul>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. <div loading-msg='true' style="position:absolute; left:50%; top:50%; "></div>
  157. <div class="modal fade" id="invdetail">
  158. <div id="nc"></div>
  159. </div>
  160. <div class="modal fade" id="billing">
  161. <div id="nr"></div>
  162. </div>
  163. <script type="text/javascript">autoFlashHeight();</script>
  164. </body>