wasteBook.html 16 KB

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