invoice.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. <!-- include 'header' -->
  2. <link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css">
  3. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
  4. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
  5. <script src="<?= WEB_SITE_GLOBAL ?>js/invoice.validator.js"></script>
  6. <script src="<?= WEB_SITE_GLOBAL ?>js/invoice.js"></script>
  7. <body>
  8. <div class="mainLayout">
  9. <div class="mainMenu">
  10. <div class="menuItem">
  11. <a href="/" class="mLogo">CLD</a>
  12. <ul>
  13. <!-- include 'menuReceipt' -->
  14. </ul>
  15. </div>
  16. </div>
  17. <div class="warpContent">
  18. <div class="subMenu fL">
  19. <div class="menuItem">
  20. <!-- include 'invoiceMenu' -->
  21. </div>
  22. </div>
  23. <div class="adminContent autoHeight">
  24. <div class="saea-borad">
  25. <div class="borad-menu">
  26. <a href="/invoiceAdd" class="invoice">申请开票</a>
  27. </div>
  28. <div class="borad-news">
  29. <div class="saeaList">
  30. <div class="clearfix">
  31. <table class="table table-bordered table-condensed">
  32. <tbody>
  33. <tr><th class="taC">本月累计开票</th><td>¥3999.00</td><th class="taC">本月累计入账</th><td>¥3999.00</td></tr>
  34. <tr><th class="taC">10月累计开票</th><td>¥838,273.00</td><th class="taC">10月累计入账</th><td>¥838,273.00</td></tr>
  35. <tr><th class="taC">今年累计开票</th><td>¥209,484,765.00</td><th class="taC">今年累计入账</th><td>¥209,484,765.00</td></tr>
  36. </tbody>
  37. </table>
  38. </div>
  39. <div class="clearfix">
  40. <legend><div class="fR"></div>待处理</legend>
  41. <!-- if !empty({{invoiceList.handleInvoice}}) -->
  42. <table class="table table-bordered table-condensed">
  43. <tbody>
  44. <tr><th class="taC" width="70">状态</th><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC">处理时间</th><th class="taC" width="120">操作</th></tr>
  45. <!-- loop invoiceList.handleInvoice -->
  46. <tr>
  47. <td>
  48. <!-- if {{pendingInvoice' value.status}}==3 -->
  49. <span class="colOrange">已退回</span>
  50. <!-- elseif {{pendingInvoice' value.status}}==4 -->
  51. <span class="colRed">已终止</span>
  52. <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==0 -->
  53. <span class="colBlue">已出票</span>
  54. <!-- if {{pendingInvoice' value.doPost}}==1 -->
  55. <a href="#shipping" data-toggle="modal">邮寄</a>
  56. <!-- endif -->
  57. <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==2 -->
  58. <span class="colRed">已退票</span>
  59. <!-- endif -->
  60. </td>
  61. <td>
  62. <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
  63. {{pendingInvoice' value.invoiceCompany}}
  64. <!-- else -->
  65. {{pendingInvoice' value.invoiceTitle}}
  66. <!-- endif -->
  67. </td>
  68. <td><!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
  69. <b>¥{{pendingInvoice' value.invoicePrice}}</b><sup>专</sup>
  70. <!-- else -->
  71. <b>¥{{pendingInvoice' value.invoicePrice}}</b>
  72. <!-- endif --></td>
  73. <td>
  74. <a href="#invdetail" data-toggle="modal">{{invoiceList' value.invoiceSerial}}</a>
  75. </td>
  76. <td>{{invoiceList' value.OperationLog.username}} {{invoiceList' value.OperationLog.date}}</td>
  77. <td width="">
  78. <!-- if {{pendingInvoice' value.status}}==3 -->
  79. <div class="btn-group">
  80. <a class="button btn-red btn-inline" diss-data="{{pendingInvoice' value.iidKey}}" node-invoice="droppedInvoice" data-toggle="modal" href="#invalid">终止开票</a>
  81. <a class="button btn-inline" href="/invoiceEdit/{{pendingInvoice' value.iidKeyUrl}}.html">重新提交</a>
  82. </div>
  83. <!-- elseif {{pendingInvoice' value.status}}==4 -->
  84. <a class="button btn-gray btn-block" href="/invoiceDelDo/{{pendingInvoice' value.iidKeyUrl}}.do">从待处理移除</a>
  85. <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==0 -->
  86. <div class="btn-group">
  87. <a class="button btn-red btn-inline" diss-data="{{pendingInvoice' value.iidKey}}" node-invoice="untreadInvoice" href="#return" data-toggle="modal">申请退票</a>
  88. <a class="button btn-green" diss-data="{{pendingInvoice' value.iidKey}}" node-receivalbles="bind" href="#recorded" data-toggle="modal">发票核销</a>
  89. </div>
  90. <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==2 -->
  91. <a class="button btn-gray btn-block" href="/invoiceDelDo/{{pendingInvoice' value.iidKeyUrl}}.do">从待处理移除</a>
  92. <!-- endif -->
  93. </td>
  94. </tr>
  95. <!-- endloop -->
  96. </tbody>
  97. </table>
  98. <!-- else -->
  99. <blockquote><p class="colGray">暂时没有需要处理的发票 </p></blockquote>
  100. <!-- endif -->
  101. </div>
  102. <div class="clearfix">
  103. <legend><div class="fR"></div>处理中</legend>
  104. <!-- if !empty({{invoiceList.pendingInvoice}}) -->
  105. <table class="table table-bordered table-condensed">
  106. <tbody>
  107. <tr><th class="taC" width="70">状态</th><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC">处理时间</th></tr>
  108. <!-- loop invoiceList.pendingInvoice -->
  109. <tr>
  110. <td>
  111. <!-- if {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==0 -->
  112. <span class="colBlue">出票中</span>
  113. <!-- elseif {{pendingInvoice' value.status}}==1 -->
  114. <span class="">审核中</span>
  115. <!-- elseif {{pendingInvoice' value.status}}==2 and {{pendingInvoice' value.printStatus}}==1 and {{pendingInvoice' value.untreadStatus}}==1 -->
  116. <span class="colRed">退票中</span>
  117. <!-- endif -->
  118. </td>
  119. <td>
  120. <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
  121. {{pendingInvoice' value.invoiceCompany}}
  122. <!-- else -->
  123. {{pendingInvoice' value.invoiceTitle}}
  124. <!-- endif -->
  125. </td>
  126. <td>
  127. <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
  128. <b>¥{{pendingInvoice' value.invoicePrice}}</b><sup>专</sup>
  129. <!-- else -->
  130. <b>¥{{pendingInvoice' value.invoicePrice}}</b>
  131. <!-- endif --></td>
  132. <td><a href="#invdetail" data-toggle="modal">{{invoiceList' value.invoiceSerial}}</a></td>
  133. <td>{{invoiceList' value.OperationLog.username}} {{invoiceList' value.OperationLog.date}}</td>
  134. </tr>
  135. <!-- endloop -->
  136. </tbody>
  137. </table>
  138. <!-- else -->
  139. <blockquote><p class="colGray">暂时没有正在处理的发票 </p></blockquote>
  140. <!-- endif -->
  141. </div>
  142. <div class="clearfix">
  143. <!-- if !empty({{receivablesList.bindClaim}}) -->
  144. <legend><div class="fR"><a href="invoice-billing-all.html">查看更多</a></div>最近入账</legend>
  145. <table class="table table-bordered table-condensed">
  146. <tbody>
  147. <tr><th class="taC">开票单位(抬头)</th><th class="taC" width="90">开票金额</th><th class="taC">开票流水号</th><th class="taC" width="90">收款金额</th><th class="taC">收款流水号</th><th class="taC">处理时间</th></tr>
  148. <!-- loop receivablesList.bindClaim -->
  149. <tr>
  150. <td>
  151. <!-- if !empty({{receivablesList' value.invoice.invoiceType}}) -->
  152. {{receivablesList' value.invoice.invoiceCompany}}
  153. <!-- else -->
  154. {{receivablesList' value.invoice.invoiceTitle}}
  155. <!-- endif --></td>
  156. <td>
  157. <!-- if !empty({{pendingInvoice' value.invoiceType}}) -->
  158. <b>¥{{receivablesList' value.invoice.invoicePrice}}</b><sup>专</sup>
  159. <!-- else -->
  160. <b>¥{{receivablesList' value.invoice.invoicePrice}}</b>
  161. <!-- endif -->
  162. </td>
  163. <td><a href="#invdetail" data-toggle="modal">{{receivablesList' value.invoice.invoiceSerial}}</a></td>
  164. <td><b>¥{{receivablesList' value.receivablesPrice}}</b></td>
  165. <td><a href="#billing" data-toggle="modal">{{receivablesList' value.receivablesSerial}}</a></td>
  166. <td>{{receivablesList' value.invoice.userName}} {{receivablesList' value.invoice.updateTime}}</td>
  167. </tr>
  168. <!-- endloop -->
  169. </tbody>
  170. </table>
  171. <!-- else -->
  172. <blockquote><p class="colGray">暂时没有入账完成的收款</p></blockquote>
  173. <!-- endif -->
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </div>
  181. <!--弹出(发票详情)-->
  182. <div class="modal hide fade" id="invdetail">
  183. <div class="modal-dialog modal-lg">
  184. <div class="modal-content">
  185. <div class="modal-header">
  186. <h3>发票单详情</h3>
  187. </div>
  188. <div class="modal-body saeaList">
  189. <table class="table table-bordered table-condensed">
  190. <tbody>
  191. <tr>
  192. <th class="taC" width="150">开票流水号</th><td>#F20160316001</td>
  193. <th class="taC" width="150">提交时间</th><td>2016-03-01 12:30:01</td>
  194. </tr>
  195. <tr>
  196. <th class="taC" width="150">所在办事处</th><td>广东办(刘飞)</td>
  197. <th class="taC" width="150">备注</th><td></td>
  198. </tr>
  199. <tr>
  200. <th class="taC">开票金额</th><td><b class="colOrange" style="font-size:18px">¥20000.00</b></td>
  201. <th class="taC">开票内容</th><td>纵横公路工程造价管理系统V9.0</td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. <table class="table table-bordered table-condensed">
  206. <tbody>
  207. <tr>
  208. <th colspan="4" class="taC">增值税普通发票</th>
  209. </tr>
  210. <tr>
  211. <th class="taC" width="150">发票抬头</th><td colspan="3">珠海纵横创建软件有限公司</td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. <table class="table table-bordered table-condensed">
  216. <tbody>
  217. <tr>
  218. <th colspan="4" class="taC">增值税专用发票</th>
  219. </tr>
  220. <tr>
  221. <th class="taC" width="150">单位名称</th><td>珠海纵横创建软件有限公司</td>
  222. <th class="taC" width="150">纳税人识别码</th><td>1212123123123</td>
  223. </tr>
  224. <tr>
  225. <th class="taC">注册地址</th><td>广东省珠海市香洲区银桦路8号24D</td>
  226. <th class="taC">注册电话</th><td>0756-34324</td>
  227. </tr>
  228. <tr>
  229. <th class="taC">开户银行</th><td>广发银行</td>
  230. <th class="taC">银行账户</th><td>234324234</td>
  231. </tr>
  232. </tbody>
  233. </table>
  234. <table class="table table-bordered table-condensed">
  235. <tbody>
  236. <tr>
  237. <th colspan="4" class="taC">邮寄信息</th>
  238. </tr>
  239. <tr>
  240. <th class="taC" width="150">收件人</th><td>陈工</td>
  241. <th class="taC" width="150">收件人手机/电话</th><td>12345678901</td>
  242. </tr>
  243. <tr>
  244. <th class="taC" width="150">收件地址</th><td colspan="3">广东省珠海市XXX路XXX号</td>
  245. </tr>
  246. <tr>
  247. <th class="taC" width="150">邮寄物品</th><td colspan="3">合同x1、锁套装x1</td>
  248. </tr>
  249. </tbody>
  250. </table>
  251. </div>
  252. <div class="modal-footer">
  253. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  254. </div>
  255. </div></div>
  256. </div>
  257. <!--弹出发票详情-->
  258. <!--弹出收款-->
  259. <div class="modal hide fade" id="billing">
  260. <div class="modal-dialog modal-lg">
  261. <div class="modal-content">
  262. <div class="modal-header">
  263. <h3>收款单详情</h3>
  264. </div>
  265. <div class="modal-body saeaList">
  266. <table class="table table-bordered table-condensed">
  267. <tbody>
  268. <tr>
  269. <th class="taC">收款流水号</th><td>#SK20160316001</td>
  270. <th class="taC">录入收款</th><td>张少珊 2015-04-12 11:30:02</td>
  271. </tr>
  272. <tr>
  273. <th class="taC">收款金额</th><td><b>¥200000.00</b></td>
  274. <th class="taC">收款信息</th><td>陈宇</td>
  275. </tr>
  276. <tr>
  277. <th class="taC">收款银行</th><td>广发银行珠海分行柠溪支行</td>
  278. <th class="taC">银行到帐</th><td>2016-04-11</td>
  279. </tr>
  280. <tr>
  281. <th class="taC">认领收款</th><td colspan="3">张少珊 转入 陈特 2015-04-12 11:30:02</td>
  282. </tr>
  283. </tbody></table>
  284. </div>
  285. <div class="modal-footer">
  286. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  287. </div>
  288. </div></div>
  289. </div>
  290. <!--弹出收款-->
  291. <!--弹出终止-->
  292. <div class="modal hide fade" id="invalid">
  293. <form action="/invoiceDroppedDo" method="post" name="droppedInvoice">
  294. <input type="hidden" name='droppedIidKey' value="">
  295. <div class="modal-dialog ">
  296. <div class="modal-content">
  297. <div class="modal-header">
  298. <h3>是否终止该发票</h3>
  299. </div>
  300. <div class="modal-body">
  301. 终止后该发票申请将无法继续审批。
  302. </div>
  303. <div class="modal-footer">
  304. <input type="submit" class="button" value="是的">
  305. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  306. </div>
  307. </div></div>
  308. </form>
  309. </div>
  310. <!--终止-->
  311. <!--弹出 退票-->
  312. <div class="modal hide fade" id="return">
  313. <form action="/invoiceUntreadDo" method="post" name="untreadInvoice">
  314. <input type="hidden" name='untreadIidKey' value="">
  315. <div class="modal-dialog ">
  316. <div class="modal-content">
  317. <div class="modal-header">
  318. <h3>申请退票</h3>
  319. </div>
  320. <div class="modal-body saeaList">
  321. <table class="table table-bordered table-condensed">
  322. <tbody>
  323. <tr>
  324. <th class="taC"><span class="colRed">*</span>退票原因</th>
  325. <td>
  326. <textarea class="span4" name="untreadReason" placeholder="请详细填写退票原因"></textarea>
  327. </td>
  328. </tr>
  329. <tr>
  330. <th class="taC"><span class="colRed">*</span>是否邮寄</th>
  331. <td><label class="radio inline"><input name="untreadPost" node-untread='post' value="1" checked type="radio">是</label>
  332. <label class="radio inline"><input name="untreadPost" value="0" type="radio">否</label>
  333. </td>
  334. </tr>
  335. </tbody>
  336. </table>
  337. <table post-box='ture' class="table table-bordered table-condensed">
  338. <tbody>
  339. <tr>
  340. <th colspan="2" class="taC">退票邮寄信息</th>
  341. </tr>
  342. <tr>
  343. <th class="taC" width="100"><span class="colRed">*</span>快递公司</th><td>
  344. <select name="untreadCompany">
  345. <!-- loop expressList -->
  346. <option value="{{expressList' value.company}}:{{expressList' value.com}}">{{expressList' value.company}}</option>
  347. <!-- endloop -->
  348. </select>
  349. </td>
  350. </tr>
  351. <tr>
  352. <th class="taC" width="100"><span class="colRed">*</span>快递单号</th>
  353. <td><input type="text" name="untreadNumber" placeholder="请正确填写单号,方便跟踪查询。"></td>
  354. </tr>
  355. <tr>
  356. <th class="taC" width="100"><span class="colRed">*</span>邮寄物品</th>
  357. <td><textarea class="span4" name="untreadItems" placeholder="请详细填写邮寄回总部的快递包含什么物件。"></textarea>
  358. </td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. </div>
  363. <div class="modal-footer">
  364. <input type="submit" class="button" value="确认提交">
  365. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  366. </div>
  367. </div></div>
  368. </form>
  369. </div>
  370. <!--退票-->
  371. <!--弹出入账-->
  372. <div class="modal hide fade" id="recorded">
  373. <div class="modal-dialog modal-lg">
  374. <div class="modal-content">
  375. <div class="modal-header">
  376. <h3>发票入账</h3>
  377. </div>
  378. <form action="/invoiceEnterReceivables" method="post" >
  379. <input type="hidden" name="key" value="">
  380. <input type="hidden" name="invoiceKey" value="">
  381. <div class="modal-body">
  382. <p class="alert">1.收款入账 &gt; 2.发票核销 &gt; 3.获取销售提成</p>
  383. <p node-loading='true' class="alert hide" >入账处理中...</p>
  384. <table node-enter="receivables" class="table table-bordered table-condensed">
  385. <thead>
  386. <tr><th colspan="5" class="taC">已入账收款</th></tr>
  387. <tr><th>金额</th><th>到款信息</th><th>到款银行</th><th>到款时间</th><th>入账操作</th></tr></thead>
  388. <tbody box-enter="true">
  389. </tbody>
  390. </table>
  391. <p node-msg='true' class="alert alert-erro hide">收款金额超出开票金额 ¥2000.00元,请谨慎操作。</p>
  392. <table class="table table-bordered table-condensed">
  393. <thead><th>金额</th><th>到款信息</th><th>到款银行</th><th>到款时间</th><th>入账操作</th></thead>
  394. <tbody data-invoice="myReceivables" >
  395. </tbody>
  396. </table>
  397. </div>
  398. <div class="modal-footer">
  399. <input type="submit" class="button" value="确定核销">
  400. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  401. </div>
  402. </div></div>
  403. </form>
  404. </div>
  405. <!--入账-->
  406. <!--弹出邮寄-->
  407. <div class="modal hide fade" id="shipping">
  408. <div class="modal-dialog ">
  409. <div class="modal-content">
  410. <div class="modal-header">
  411. <h3>邮寄物品</h3>
  412. </div>
  413. <div class="modal-body">
  414. <p>申请物品:发票×1、软件锁套装x1</p>
  415. <p>邮寄物品:<b>发票×1、软件锁套装x1</b></p>
  416. <p>顺丰速运:01239812382398</p>
  417. <br>
  418. <ul>
  419. <li>• 2016-04-09 20:16:17【珠海市】圆通速递 广东省珠海市收件员 已揽件</li>
  420. <li>• 2016-04-09 20:16:17【珠海市】广东省珠海市香洲区2派件员:陈华辉 13676058042正在为您派件</li>
  421. </ul>
  422. </div>
  423. <div class="modal-footer">
  424. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  425. </div>
  426. </div></div>
  427. </div>
  428. <!--邮寄-->
  429. <script type="text/javascript">autoFlashHeight();</script>
  430. </body>