invoiceAggregateCompanyDetail.html 10 KB

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