wasteBook.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. <!-- include '../header' -->
  2. <script src="<?= WEB_SITE_GLOBAL ?>js/echarts.common.min.js"></script>
  3. <script src="<?= payments ?>"></script>
  4. <body>
  5. <div class="mainLayout">
  6. <div class="mainMenu">
  7. <div class="menuItem">
  8. <a href="#" class="mLogo">CLD</a>
  9. <ul>
  10. <!-- include '../menu' -->
  11. </ul>
  12. </div>
  13. </div>
  14. <div class="warpContent">
  15. <div class="subMenu fL">
  16. <div class="menuItem">
  17. <!-- include '../admin/receipt_menu' -->
  18. </div>
  19. </div>
  20. <div class="adminContent autoHeight">
  21. <div class="saea-borad">
  22. <div class="borad-menu"></div>
  23. <div class="borad-news">
  24. <div class="saeaList">
  25. <div class="clearfix">
  26. <table class="table table-bordered table-condensed">
  27. <tbody>
  28. <tr>
  29. <th class="taC">(纵横广发)广发存款</th>
  30. <td>¥{{waste.bank.CGBDeposit}}</td>
  31. <th class="taC">(纵横广发)纵横知道款</th>
  32. <td>¥{{waste.bank.HUADeposit}}</td>
  33. </tr>
  34. <tr>
  35. <th colspan="4" class="taC">公司广发合计存款:¥{{CGBDeposit_total}}</th>
  36. </tr>
  37. <tr>
  38. <th class="taC">工行存款</th>
  39. <td>¥{{waste.bank.ICBCDeposit}}</td>
  40. <th class="taC">个人存款</th>
  41. <td>¥{{waste.bank.PersonalDeposit}}</td>
  42. </tr>
  43. <tr>
  44. <th class="taC">工行理财活期</th>
  45. <td>¥{{waste.financial.current.ICBCDeposit}}</td>
  46. <th class="taC">个人理财固定</th>
  47. <td>¥{{waste.financial.fixed.ICBCDeposit}}</td>
  48. </tr>
  49. <tr>
  50. <th class="taC">广发理财活期</th>
  51. <td>¥{{waste.financial.current.CGBDeposit}}</td>
  52. <th class="taC">广发理财固定</th>
  53. <td>¥{{waste.financial.fixed.CGBDeposit}}</td>
  54. </tr>
  55. <tr>
  56. <th colspan="4" class="taC">合计存款:¥{{total}}</th>
  57. </tr>
  58. </tbody>
  59. </table>
  60. </div>
  61. <div class="clearfix">
  62. <div id="chartContainer3" style="height: 300px; width: 100%;">
  63. </div>
  64. </div>
  65. <div class="clearfix">
  66. <legend>
  67. <div class="fR">
  68. <a href="/wasteBookExpenditure">所有支出</a>
  69. </div>
  70. 最近支出
  71. </legend>
  72. <table class="table table-bordered table-condensed">
  73. <tbody>
  74. <tr>
  75. <th class="taC">支出项</th>
  76. <th class="taC">金额</th>
  77. <th class="taC">时间</th>
  78. <th class="taC">单号</th>
  79. </tr>
  80. <!-- loop expenditureList -->
  81. <tr>
  82. <!-- if {{expenditureList' value.accountType}}==5||{{expenditureList' value.accountType}}==9||{{expenditureList' value.accountType}}==10 -->
  83. <td>日常支出({{expenditureList' value.data.expenditureTypeMsg}})</td>
  84. <!-- elseif {{expenditureList' value.accountType}}==1 -->
  85. <td>费用管理(借款)</td>
  86. <!-- elseif {{expenditureList' value.accountType}}==2 -->
  87. <td>费用管理(借款报销)</td>
  88. <!-- elseif {{expenditureList' value.accountType}}==3 -->
  89. <td>费用管理(报销)</td>
  90. <!-- elseif {{expenditureList' value.accountType}}==4 -->
  91. <td>费用管理(对公汇款)</td>
  92. <!-- elseif {{expenditureList' value.accountType}}==12 -->
  93. <td>费用管理( 培训班结算)</td>
  94. <!-- elseif {{expenditureList' value.accountType}}==11 -->
  95. <td>收款退款</td>
  96. <!-- endif -->
  97. <td>¥{{expenditureList' value.accountPriceShow}}</td>
  98. <td>{{expenditureList' value.inputDate}}</td>
  99. <!-- if {{expenditureList' value.accountType}}==5||{{expenditureList' value.accountType}}==9||{{expenditureList' value.accountType}}==10 -->
  100. <td><a href="#saea-detail4" node-pay=waste data-key="{{expenditureList' value.data.aidKey}}" data-toggle="modal">{{expenditureList' value.data.bookSerial}}</a></td>
  101. <!-- elseif {{expenditureList' value.accountType}}==11 -->
  102. <td><a href="#saea-detail11" node-ir11=waste data-key="{{expenditureList' value.data.iridKey}}" data-toggle="modal">{{expenditureList' value.data.receivablesSerial}}</a></td>
  103. <!-- elseif {{expenditureList' value.accountType}}==12 -->
  104. <td><a href="/receiptTrain/info/{{expenditureList' value.data.ridKey7}}.html" data-toggle="modal">{{expenditureList' value.data.receiptOrder}}</a></td>
  105. <!-- else -->
  106. <td><a href="#saea-detail1" node-receipt=waste data-key="{{expenditureList' value.data.ridKey}}" data-accountTypeKey="{{expenditureList' value.accountTypeKey}}" data-toggle="modal">{{expenditureList' value.data.receiptOrder}}</a></td>
  107. <!-- endif -->
  108. </tr>
  109. <!-- endloop -->
  110. </tbody>
  111. </table>
  112. </div>
  113. <div class="clearfix">
  114. <legend>
  115. <div class="fR">
  116. <a href="/wasteBookIncome">所有收入</a>
  117. </div>
  118. 最近收入
  119. </legend>
  120. <table class="table table-bordered table-condensed">
  121. <tbody>
  122. <tr>
  123. <th class="taC">收入项</th>
  124. <th class="taC">金额</th>
  125. <th class="taC">时间</th>
  126. <th class="taC">查看</th>
  127. </tr>
  128. <!-- loop incomeList -->
  129. <tr>
  130. <!-- if {{expenditureList' value.accountType}}==6||{{expenditureList' value.accountType}}==9||{{expenditureList' value.accountType}}==10 -->
  131. <td>日常收入({{expenditureList' value.data.incomeTypeMsg}})</td>
  132. <!-- elseif {{expenditureList' value.accountType}}==7||{{expenditureList' value.accountType}}==8 -->
  133. <td>发票收款</td>
  134. <!-- elseif {{expenditureList' value.accountType}}==1 -->
  135. <td>费用收入(借款)</td>
  136. <!-- elseif {{expenditureList' value.accountType}}==2 -->
  137. <td>费用收入(借款报销)</td>
  138. <!-- elseif {{expenditureList' value.accountType}}==3 -->
  139. <td>费用收入(报销)</td>
  140. <!-- elseif {{expenditureList' value.accountType}}==4 -->
  141. <td>费用收入(对公汇款)</td>
  142. <!-- elseif {{expenditureList' value.accountType}}==12 -->
  143. <td>费用收入( 培训班结算)</td>
  144. <!-- endif -->
  145. <td>¥{{expenditureList' value.accountPriceShow}}</td>
  146. <td>{{expenditureList' value.inputDate}}</td>
  147. <!-- if {{expenditureList' value.accountType}}==6||{{expenditureList' value.accountType}}==9||{{expenditureList' value.accountType}}==10 -->
  148. <td><a href="#saea-detail5" node-income=waste data-key="{{expenditureList' value.data.aidKey}}" data-toggle="modal">{{expenditureList' value.data.bookSerial}}</a></td>
  149. <!-- elseif {{expenditureList' value.accountType}}==7 -->
  150. <td><a href="#saea-detail2" node-ir=waste data-key="{{expenditureList' value.data.iridKey}}" data-toggle="modal">{{expenditureList' value.data.receivablesSerial}}</a></td>
  151. <!-- elseif {{expenditureList' value.accountType}}==8 -->
  152. <td><a href="#saea-detail2" node-i=waste data-key="{{expenditureList' value.data.iidKey}}" data-toggle="modal">{{expenditureList' value.data.invoiceSerial}}</a></td>
  153. <!-- elseif {{expenditureList' value.accountType}}==12 -->
  154. <td><a href="/receiptTrain/info/{{expenditureList' value.data.ridKey7}}.html" data-toggle="modal">{{expenditureList' value.data.receiptOrder}}</a></td>
  155. <!-- elseif {{expenditureList' value.accountType}}==1||{{expenditureList' value.accountType}}==2||{{expenditureList' value.accountType}}==3||{{expenditureList' value.accountType}}==4 -->
  156. <td><a href="#saea-detail1" node-receipt=waste data-key="{{expenditureList' value.data.ridKey}}" data-accountTypeKey="{{expenditureList' value.accountTypeKey}}" data-toggle="modal">{{expenditureList' value.data.receiptOrder}}</a></td>
  157. <!-- endif -->
  158. </tr>
  159. <!-- endloop -->
  160. </tbody>
  161. </table>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!--弹出费用详情 借款报销-->
  170. <div class="modal hide fade" id="saea-detail1">
  171. <div class="modal-dialog">
  172. <div class="modal-content">
  173. <div class="modal-header">
  174. <h3>费用详情</h3>
  175. </div>
  176. <div class="modal-body saeaList">
  177. <div id="wasteReceipt"></div>
  178. </div>
  179. <div class="modal-footer">
  180. <a href="#" class="button btn-gray" data-dismiss="modal"
  181. aria-hidden="true">关闭</a>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. <!--弹出日常收支 -->
  187. <div class="modal hide fade" id="saea-detail4">
  188. <div class="modal-dialog">
  189. <div class="modal-content">
  190. <div class="modal-header">
  191. <h3>费用详情</h3>
  192. </div>
  193. <div class="modal-body saeaList">
  194. <table class="table table-bordered table-condensed">
  195. <tboay>
  196. <tr>
  197. <th class="taC" colspan="2">支出</th>
  198. </tr>
  199. <tr>
  200. <th class="taC" width="110">收支录入</th>
  201. <td id='WI-wasteStaff'></td>
  202. </tr>
  203. <tr>
  204. <th class="taC">单号</th>
  205. <td id='WI-bookSerial'></td>
  206. </tr>
  207. <tr>
  208. <th class="taC">费用类型</th>
  209. <td id='WI-expenditureMsg'></td>
  210. </tr>
  211. <tr>
  212. <th class="taC">支出金额</th>
  213. <td id='WI-expenditurePrice'></td>
  214. </tr>
  215. <tr>
  216. <th class="taC">支出银行</th>
  217. <td id='WI-expenditureBank'></td>
  218. </tr>
  219. <tr>
  220. <th class="taC">银行支付时间</th>
  221. <td id='WI-expenditureDate'></td>
  222. </tr>
  223. <tr>
  224. <th class="taC">备注</th>
  225. <td id='WI-remarks'></td>
  226. </tr>
  227. </tboay>
  228. </table>
  229. </div>
  230. <div class="modal-footer">
  231. <a href="#" class="button btn-gray" data-dismiss="modal"
  232. aria-hidden="true">关闭</a>
  233. </div>
  234. </div>
  235. </div>
  236. </div>
  237. <!--弹出日常收支 -->
  238. <div class="modal hide fade" id="saea-detail5">
  239. <div class="modal-dialog">
  240. <div class="modal-content">
  241. <div class="modal-header">
  242. <h3>费用详情</h3>
  243. </div>
  244. <div class="modal-body saeaList">
  245. <table class="table table-bordered table-condensed">
  246. <tboay>
  247. <tr>
  248. <th class="taC" colspan="2">收入</th>
  249. </tr>
  250. <tr>
  251. <th class="taC" width="110">收支录入</th>
  252. <td id='IN-wasteStaff'></td>
  253. </tr>
  254. <tr>
  255. <th class="taC">单号</th>
  256. <td id='IN-bookSerial'></td>
  257. </tr>
  258. <tr>
  259. <th class="taC">费用类型</th>
  260. <td id='IN-expenditureMsg'></td>
  261. </tr>
  262. <tr>
  263. <th class="taC">收入金额</th>
  264. <td id='IN-expenditurePrice'></td>
  265. </tr>
  266. <tr>
  267. <th class="taC">收入银行</th>
  268. <td id='IN-expenditureBank'></td>
  269. </tr>
  270. <tr>
  271. <th class="taC">银行收入时间</th>
  272. <td id='IN-expenditureDate'></td>
  273. </tr>
  274. <tr>
  275. <th class="taC">备注</th>
  276. <td id='IN-remarks'></td>
  277. </tr>
  278. </tboay>
  279. </table>
  280. </div>
  281. <div class="modal-footer">
  282. <a href="#" class="button btn-gray" data-dismiss="modal"
  283. aria-hidden="true">关闭</a>
  284. </div>
  285. </div>
  286. </div>
  287. </div>
  288. <!-- 弹出收入详情 -->
  289. <div class="modal hide fade" id="saea-detail2">
  290. <div class="modal-dialog">
  291. <div class="modal-content">
  292. <div class="modal-header">
  293. <h3>收款详情</h3>
  294. </div>
  295. <div class="modal-body saeaList">
  296. <table class="table table-bordered table-condensed">
  297. <tboay>
  298. <tr><th class="taC" colspan="2">收入</th></tr>
  299. <tr><th class="taC" width="110">收支录入</th>
  300. <td id='IR-wasteStaff'></td></tr>
  301. <tr><th class="taC">单号</th>
  302. <td id='IR-bookSerial'></td>
  303. </tr>
  304. <tr><th class="taC">到款信息</th>
  305. <td id='IR-expenditureMsg'></td>
  306. </tr>
  307. <tr><th class="taC">收入金额</th>
  308. <td id='IR-expenditurePrice'></td>
  309. </tr>
  310. <tr><th class="taC">收款银行</th>
  311. <td id='IR-expenditureBank'></td>
  312. </tr>
  313. <tr><th class="taC">银行到帐时间</th>
  314. <td id='IR-expenditureDate'></td>
  315. </tr>
  316. </tboay>
  317. </table>
  318. </div>
  319. <div class="modal-footer">
  320. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. <!-- 弹出收入详情 -->
  326. <div class="modal hide fade" id="saea-detail11">
  327. <div class="modal-dialog">
  328. <div class="modal-content">
  329. <div class="modal-header">
  330. <h3>收款详情</h3>
  331. </div>
  332. <div class="modal-body saeaList">
  333. <table class="table table-bordered table-condensed">
  334. <tboay>
  335. <tr><th class="taC" colspan="2">支出</th></tr>
  336. <tr><th class="taC" width="110">支出录入</th>
  337. <td id='IR11-wasteStaff'></td></tr>
  338. <tr><th class="taC">单号</th>
  339. <td id='IR11-bookSerial'></td>
  340. </tr>
  341. <tr><th class="taC">支出信息</th>
  342. <td id='IR11-expenditureMsg'></td>
  343. </tr>
  344. <tr><th class="taC">退款金额</th>
  345. <td id='IR11-expenditurePrice'></td>
  346. </tr>
  347. <tr><th class="taC">支出银行</th>
  348. <td id='IR11-expenditureBank'></td>
  349. </tr>
  350. <tr><th class="taC">银行到帐时间</th>
  351. <td id='IR11-expenditureDate'></td>
  352. </tr>
  353. </tboay>
  354. </table>
  355. </div>
  356. <div class="modal-footer">
  357. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <script type="text/javascript">
  363. autoFlashHeight();
  364. </script>
  365. <script type="text/javascript">
  366. // 基于准备好的dom,初始化echarts图表
  367. var myChart = echarts.init(document.getElementById('chartContainer3'));
  368. var option = {
  369. color : [ "#F56954", "#00A65A", "#3C8DBC" ],
  370. title : {
  371. text : '流水月图表'
  372. },
  373. tooltip : {
  374. trigger : 'axis',
  375. formatter : "{b} <br/>{a}:{c} 元<br/>{a1}:{c1} 元"
  376. },
  377. legend : {
  378. data : [ '支出', '收入' ]
  379. },
  380. toolbox : {
  381. show : true,
  382. feature : {
  383. magicType : {
  384. show : true,
  385. type : [ 'line', 'bar' ]
  386. }
  387. }
  388. },
  389. dataZoom : {
  390. show : true,
  391. start : 0,
  392. end : 100
  393. },
  394. xAxis : [ {
  395. type : 'category',
  396. boundaryGap : true,
  397. data : {{monthStatistics}}
  398. } ],
  399. yAxis : [ {
  400. type : 'value',
  401. axisLabel : {
  402. formatter : '{value} 元'
  403. },
  404. splitArea : {
  405. show : true
  406. }
  407. } ],
  408. series : [ {
  409. name : '支出',
  410. type : 'line',
  411. itemStyle : {
  412. normal : {
  413. lineStyle : {
  414. shadowColor : 'rgba(0,0,0,0.4)',
  415. shadowBlur : 5,
  416. shadowOffsetX : 3,
  417. shadowOffsetY : 3
  418. }
  419. }
  420. },
  421. data : {{expenditureMothStatistics}}
  422. }, {
  423. name : '收入',
  424. type : 'line',
  425. itemStyle : {
  426. normal : {
  427. lineStyle : {
  428. shadowColor : 'rgba(0,0,0,0.4)',
  429. shadowBlur : 5,
  430. shadowOffsetX : 3,
  431. shadowOffsetY : 3
  432. }
  433. }
  434. },
  435. data : {{incomeMothStatistics}}
  436. } ]
  437. };
  438. // 为echarts对象加载数据
  439. myChart.setOption(option);
  440. //3 标段计量分布//
  441. </script>
  442. </body>