invoiceAggregateCompanyDetail.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. <tr>
  93. <td>汇总</td>
  94. <td>
  95. <b>{{totalPrice.invoicePrice}}</b>
  96. </td>
  97. <td></td>
  98. <td></td>
  99. <td></td>
  100. <td></td>
  101. <td>{{totalPrice.receivePrice}}</td>
  102. <td>{{totalPrice.receivablesPrice}}</td>
  103. <td></td>
  104. <td></td>
  105. </tr>
  106. <!-- loop list -->
  107. <tr>
  108. <td><a href="#invdetail" node-invoice='INFO' data-isKey="{{list' value.iidKeyK}}" data-toggle="modal">{{list' value.invoiceSerial}}</a></td>
  109. <td>
  110. <!-- if !empty({{list' value.invoiceType}}) -->
  111. <b>¥{{list' value.invoicePrice}}</b><sup>专</sup>
  112. <!-- else -->
  113. <b>¥{{list' value.invoicePrice}}</b>
  114. <!-- endif -->
  115. </td>
  116. <td>
  117. <!-- if !empty({{list' value.invoiceType}}) -->
  118. {{list' value.invoiceCompany}}
  119. <!-- else -->
  120. {{list' value.invoiceTitle}}
  121. <!-- endif -->
  122. </td>
  123. <td>{{list' value.invoiceElement}}</td>
  124. <td>{{list' value.invoiceNo}}</td>
  125. <td>
  126. <!-- loop list' value.irList -->
  127. <a href="#billing" node-invoice='INFO' data-type="receivables" data-isKey="{{list' value' value.iridKeyK}}" data-toggle="modal">{{list' value' value.receivablesSerial}}</a>&nbsp;
  128. <!-- endloop -->
  129. </td>
  130. <td>
  131. <!-- if {{list' value.sumPrice}}==0 -->
  132. <!-- elseif {{list' value.sumPrice}}=={{list' value.invoicePrice}} -->
  133. <b >¥{{list' value.sumPrice}}</b>
  134. <!-- elseif {{list' value.sumPrice}}>{{list' value.invoicePrice}} -->
  135. <b class="colOrange">¥{{list' value.sumPrice}}</b>
  136. <!-- elseif {{list' value.sumPrice}}<{{list' value.invoicePrice}} -->
  137. <b class="colRed">¥{{list' value.sumPrice}}</b>
  138. <!-- endif -->
  139. </td>
  140. <td>
  141. <!-- if {{list' value.diffPrice}}!=0 -->
  142. {{list' value.diffPrice}}
  143. <!-- endif -->
  144. </td>
  145. <td>{{list' value.categoryName}}-{{list' value.userName}}</td>
  146. <td>
  147. {{list' value.printTime}}
  148. </td>
  149. </tr>
  150. <!-- endloop -->
  151. <tr>
  152. <td>汇总</td>
  153. <td>
  154. <b>{{totalPrice.invoicePrice}}</b>
  155. </td>
  156. <td></td>
  157. <td></td>
  158. <td></td>
  159. <td></td>
  160. <td>{{totalPrice.receivePrice}}</td>
  161. <td>{{totalPrice.receivablesPrice}}</td>
  162. <td></td>
  163. <td></td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. </div>
  168. </div>
  169. <div class="demandPage">
  170. <ul class="pagination fL">
  171. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}">&laquo;</a></li>
  172. <!-- if {{page.previous}}==0 -->
  173. <li><a href="javascript:void(0)" title="上一页">&lt;</a></li>
  174. <!-- else -->
  175. <li><a href="/invoiceAggregateCompanyDetail/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
  176. <!-- endif -->
  177. <!-- if {{page.on_page}}>=3 -->
  178. <li><a href="/invoiceAggregateCompanyDetail/1{{get}}" title="上一页">1</a></li>
  179. <li class="point"><span>...</span></li>
  180. <!-- endif -->
  181. {{page.page}}
  182. <!-- if {{page.on_page}}<3 && {{page.total_page}}>5 -->
  183. <li><a href="/invoiceAggregateCompanyDetail/4{{get}}" >4</a></li>
  184. <li><a href="/invoiceAggregateCompanyDetail/5{{get}}" >5</a></li>
  185. <!-- endif -->
  186. <!-- if {{page.total_page}}>3&&{{page.total_page}}!={{page.on_page}} -->
  187. <li class="point"><span>...</span></li>
  188. <!-- endif -->
  189. <!-- if {{page.next}}=={{page.on_page}} -->
  190. <li><a href="javascript:void(0)" title="下一页">&gt;</a></li>
  191. <!-- else -->
  192. <li><a href="/invoiceAggregateCompanyDetail/{{page.next}}{{get}}" title="下一页">&gt;</a></li>
  193. <!-- endif -->
  194. <li><a href="/invoiceAggregateCompanyDetail/{{page.total_page}}{{get}}">&raquo;</a></li>
  195. </ul>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. <div loading-msg='true' style="position:absolute; left:50%; top:50%; "></div>
  201. <div class="modal fade" id="invdetail">
  202. <div id="nc"></div>
  203. </div>
  204. <div class="modal fade" id="billing">
  205. <div id="nr"></div>
  206. </div>
  207. <script type="text/javascript">autoFlashHeight();</script>
  208. </body>