invoiceAggregateCompanyDetail.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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>
  68. <div class="search">
  69. <div class="input-append">
  70. <input class="span3" placeholder="发票号或抬头搜索" type="text" name="titleORno" value="{{titleORnoEn}}" >
  71. <input type="submit" class="btn btn-small" value="搜索">
  72. </div>
  73. </div>
  74. </li>
  75. <li>开票数量:<b>{{page.total_data}}</b> 张</li>
  76. <li>开票总计:¥{{ics.invoicePrice}}</li>
  77. <li>应收款总计:<span class="colGreen">¥{{ics.diffPrice}}</span></li>
  78. <li>已入账总计:¥{{ics.receivablesPrice}}</li>
  79. </ul>
  80. </form>
  81. </div>
  82. <div class="saeaList">
  83. <div class="entry" style="margin-bottom:0;">
  84. <script type="text/javascript">$(document).ready(function() {
  85. // $('#invoiceTable').fixedHeaderTable({ fixedColumns:1 });
  86. });</script>
  87. <table class="table table-bordered table-condensed table-hover fancyTable" id="invoiceTable">
  88. <thead>
  89. <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><th class="taC">出票时间</th></tr>
  90. </thead>
  91. <tbody>
  92. <!-- loop list -->
  93. <tr>
  94. <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{list' value.iidKeyK}}" data-toggle="modal">{{list' value.invoiceSerial}}</a></td>
  95. <td>
  96. <!-- if !empty({{list' value.invoiceType}}) -->
  97. <b>¥{{list' value.invoicePrice}}</b><sup>专</sup>
  98. <!-- else -->
  99. <b>¥{{list' value.invoicePrice}}</b>
  100. <!-- endif -->
  101. </td>
  102. <td>
  103. <!-- if !empty({{list' value.invoiceType}}) -->
  104. {{list' value.invoiceCompany}}
  105. <!-- else -->
  106. {{list' value.invoiceTitle}}
  107. <!-- endif -->
  108. </td>
  109. <td>{{list' value.invoiceElement}}</td>
  110. <td>{{list' value.invoiceNo}}</td>
  111. <td>
  112. <!-- loop list' value.irList -->
  113. <a href="#billing" node-invoice='INFO' data-type="receivables" data-isKey="{{list' value' value.iridKeyK}}" data-toggle="modal">{{list' value' value.receivablesSerial}}</a>&nbsp;
  114. <!-- endloop -->
  115. </td>
  116. <td>
  117. <!-- if {{list' value.sumPrice}}==0 -->
  118. <!-- elseif {{list' value.sumPrice}}=={{list' value.invoicePrice}} -->
  119. <b >¥{{list' value.sumPrice}}</b>
  120. <!-- elseif {{list' value.sumPrice}}>{{list' value.invoicePrice}} -->
  121. <b class="colOrange">¥{{list' value.sumPrice}}</b>
  122. <!-- elseif {{list' value.sumPrice}}<{{list' value.invoicePrice}} -->
  123. <b class="colRed">¥{{list' value.sumPrice}}</b>
  124. <!-- endif -->
  125. </td>
  126. <td>
  127. <!-- if {{list' value.diffPrice}}!=0 -->
  128. {{list' value.diffPrice}}
  129. <!-- endif -->
  130. </td>
  131. <td>{{list' value.categoryName}}-{{list' value.userName}}</td>
  132. <td>
  133. {{list' value.printTime}}
  134. </td>
  135. </tr>
  136. <!-- endloop -->
  137. </tbody>
  138. </table>
  139. </div>
  140. </div>
  141. <div class="demandPage">
  142. <ul class="pagination fL">
  143. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}">&laquo;</a></li>
  144. <!-- if {{page.previous}}==0 -->
  145. <li><a href="javascript:void(0)" title="上一页">&lt;</a></li>
  146. <!-- else -->
  147. <li><a href="/invoiceAggregateCompanyDetail/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
  148. <!-- endif -->
  149. <!-- if {{page.on_page}}>=3 -->
  150. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}" title="上一页">1</a></li>
  151. <li class="point"><span>...</span></li>
  152. <!-- endif -->
  153. {{page.page}}
  154. <!-- if {{page.on_page}}<3 && {{page.total_page}}>5 -->
  155. <li><a href="/invoiceAggregateCompanyDetail/4{{get}}" >4</a></li>
  156. <li><a href="/invoiceAggregateCompanyDetail/5{{get}}" >5</a></li>
  157. <!-- endif -->
  158. <!-- if {{page.total_page}}>3&&{{page.total_page}}!={{page.on_page}} -->
  159. <li class="point"><span>...</span></li>
  160. <!-- endif -->
  161. <!-- if {{page.next}}=={{page.on_page}} -->
  162. <li><a href="javascript:void(0)" title="下一页">&gt;</a></li>
  163. <!-- else -->
  164. <li><a href="/invoiceAggregateCompanyDetail/{{page.next}}{{get}}" title="下一页">&gt;</a></li>
  165. <!-- endif -->
  166. <li><a href="/invoiceAggregateCompanyDetail/{{page.total_page}}{{get}}">&raquo;</a></li>
  167. </ul>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. <div loading-msg='true' style="position:absolute; left:50%; top:50%; "></div>
  173. <div class="modal fade" id="invdetail">
  174. <div id="nc"></div>
  175. </div>
  176. <div class="modal fade" id="billing">
  177. <div id="nr"></div>
  178. </div>
  179. <script type="text/javascript">autoFlashHeight();</script>
  180. </body>