payments.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. <!-- include '../header' -->
  2. <script src="<?= WEB_SITE_GLOBAL ?>js/payments.js"></script>
  3. <link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css">
  4. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
  5. <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
  6. <script src="<?= WEB_SITE_GLOBAL ?>js/pay.validator.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 '../menu' -->
  14. </ul>
  15. </div>
  16. </div>
  17. <div class="warpContent">
  18. <div class="subMenu fL">
  19. <div class="menuItem">
  20. <!-- include '../admin/receipt_menu' -->
  21. </div>
  22. </div>
  23. <div class="adminContent autoHeight">
  24. <div class="saea-borad">
  25. <div class="borad-menu">
  26. <a href="#inputincome" data-toggle="modal" 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>¥{{statisticsList.statisticsDay.0.inComePrice}}</td>
  34. <th class="taC">本日累计日支出</th><td>¥{{statisticsList.statisticsDay.0.payPrice}}</td></tr>
  35. <tr><th class="taC">{{statisticsList.statisticsMonth.0.month}}月累计日收入</th><td>¥{{statisticsList.statisticsMonth.0.inComePrice}}</td>
  36. <th class="taC">{{statisticsList.statisticsMonth.0.month}}月累计日支出</th><td>¥{{statisticsList.statisticsMonth.0.payPrice}}</td></tr>
  37. <tr><th class="taC">理财存款</th><td>¥{{statisticsList.financingPrice.0.financingPrice}}</td>
  38. <th class="taC">保证金</th><td>{{statisticsList.statisticsBond}}</td></tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. <div class="clearfix">
  43. <legend><div class="fR"><a href="/paymentsAchieve">所有收支</a></div>最近收支</legend>
  44. <table class="table table-bordered table-condensed">
  45. <tbody>
  46. <tr><th class="taC" width="50"></th><th class="taC" width="140">费用类别</th><th class="taC">单号</th><th class="taC">金额</th><th class="taC">到款/支付银行</th><th class="taC">银行到款/支付时间</th><th class="taC">录入时间</th></tr>
  47. <!-- loop list -->
  48. <tr>
  49. <!-- if {{list' value.expensesType}}==1 -->
  50. <th>收入</th>
  51. <td>
  52. <!-- if {{list' value.accountType}}==1 -->
  53. 利息收入
  54. <!-- elseif {{list' value.accountType}}==2 -->
  55. 补贴收入
  56. <!-- elseif {{list' value.accountType}}==3 -->
  57. 纵横知道
  58. <!-- elseif {{list' value.accountType}}==4 -->
  59. 借款收回
  60. <!-- elseif {{list' value.accountType}}==5 -->
  61. 退汇
  62. <!-- elseif {{list' value.accountType}}==6 -->
  63. 其他
  64. <!-- elseif {{list' value.accountType}}==7 -->
  65. 广发理财
  66. <!-- elseif {{list' value.accountType}}==9 -->
  67. 工行理财
  68. <!-- elseif {{list' value.accountType}}==8 -->
  69. 保证金
  70. <!-- elseif {{list' value.accountType}}==10 -->
  71. 理财收入
  72. <!-- endif -->
  73. </td>
  74. <td><a href="#saea-detail5" node-income=waste data-key="{{list' value.aidKey}}" data-toggle="modal">{{list' value.bookSerial}}</a></td>
  75. <td class="taR">¥{{list' value.receivedPrice}}</td>
  76. <td>{{list' value.receivedBank}}</td>
  77. <td>
  78. {{list' value.receivedDate}}
  79. </td>
  80. <td>{{list' value.inputDate}}</td>
  81. <!-- else -->
  82. <th><span class="colRed">支出</span></th>
  83. <td>
  84. <!-- if {{list' value.expenditureType}}==1 -->
  85. 理财本金
  86. <!-- elseif {{list' value.expenditureType}}==2 -->
  87. 总部电话费
  88. <!-- elseif {{list' value.expenditureType}}==3 -->
  89. 缴税
  90. <!-- elseif {{list' value.expenditureType}}==4 -->
  91. 广发理财
  92. <!-- elseif {{list' value.expenditureType}}==6 -->
  93. 工行理财
  94. <!-- elseif {{list' value.expenditureType}}==5 -->
  95. 保证金
  96. <!-- elseif {{list' value.expenditureType}}==7 -->
  97. 理财支出
  98. <!-- endif -->
  99. </td>
  100. <td><a href="#saea-detail4" node-pay=waste data-key="{{list' value.aidKey}}" data-toggle="modal">{{list' value.bookSerial}}</a></td>
  101. <td class="taR">¥{{list' value.expenditurePrice}}</td>
  102. <td>{{list' value.expenditureBank}}</td>
  103. <td>
  104. {{list' value.expenditureDate}}
  105. </td>
  106. <td>{{list' value.inputDate}}</td>
  107. <!-- endif -->
  108. </tr>
  109. <!-- endloop -->
  110. </tbody>
  111. </table>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <!--弹出日常收支 -->
  118. <div class="modal hide fade" id="saea-detail5">
  119. <div class="modal-dialog">
  120. <div class="modal-content">
  121. <div class="modal-header">
  122. <h3>费用详情</h3>
  123. </div>
  124. <div class="modal-body saeaList">
  125. <table class="table table-bordered table-condensed">
  126. <tboay>
  127. <tr>
  128. <th class="taC" colspan="2">收入</th>
  129. </tr>
  130. <tr>
  131. <th class="taC" width="110">收支录入</th>
  132. <td id='IN-wasteStaff'></td>
  133. </tr>
  134. <tr>
  135. <th class="taC">单号</th>
  136. <td id='IN-bookSerial'></td>
  137. </tr>
  138. <tr>
  139. <th class="taC">费用类型</th>
  140. <td id='IN-expenditureMsg'></td>
  141. </tr>
  142. <tr>
  143. <th class="taC">收入金额</th>
  144. <td id='IN-expenditurePrice'></td>
  145. </tr>
  146. <tr>
  147. <th class="taC">收入银行</th>
  148. <td id='IN-expenditureBank'></td>
  149. </tr>
  150. <tr>
  151. <th class="taC">银行收入时间</th>
  152. <td id='IN-expenditureDate'></td>
  153. </tr>
  154. <tr>
  155. <th class="taC">备注</th>
  156. <td id='IN-remarks'></td>
  157. </tr>
  158. </tboay>
  159. </table>
  160. </div>
  161. <div class="modal-footer">
  162. <a href="#" class="button btn-gray" data-dismiss="modal"
  163. aria-hidden="true">关闭</a>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. <!--弹出日常收支 -->
  169. <div class="modal hide fade" id="saea-detail4">
  170. <div class="modal-dialog">
  171. <div class="modal-content">
  172. <div class="modal-header">
  173. <h3>费用详情</h3>
  174. </div>
  175. <div class="modal-body saeaList">
  176. <table class="table table-bordered table-condensed">
  177. <tboay>
  178. <tr>
  179. <th class="taC" width="110">收支录入</th>
  180. <td id='WI-wasteStaff'></td>
  181. </tr>
  182. <tr>
  183. <th class="taC">单号</th>
  184. <td id='WI-bookSerial'></td>
  185. </tr>
  186. <tr>
  187. <th class="taC">费用类型</th>
  188. <td id='WI-expenditureMsg'></td>
  189. </tr>
  190. <tr>
  191. <th class="taC">支出金额</th>
  192. <td id='WI-expenditurePrice'></td>
  193. </tr>
  194. <tr>
  195. <th class="taC">支出银行</th>
  196. <td id='WI-expenditureBank'></td>
  197. </tr>
  198. <tr>
  199. <th class="taC">银行支付时间</th>
  200. <td id='WI-expenditureDate'></td>
  201. </tr>
  202. <tr>
  203. <th class="taC">备注</th>
  204. <td id='WI-remarks'></td>
  205. </tr>
  206. </tboay>
  207. </table>
  208. </div>
  209. <div class="modal-footer">
  210. <a href="#" class="button btn-gray" data-dismiss="modal"
  211. aria-hidden="true">关闭</a>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. <!--弹出(日收支)-->
  217. <div class="modal hide fade" id="inputincome">
  218. <div class="modal-dialog ">
  219. <div class="modal-content">
  220. <div class="modal-header">
  221. <h3>录入日常收支</h3>
  222. </div>
  223. <div class="modal-body saeaList">
  224. <table class="table table-bordered table-condensed">
  225. <tbody>
  226. <tr>
  227. <th class="taC">选择收支</th>
  228. <td>
  229. <select name="payMentsType" node-payMentsSelect>
  230. <option value="INCOME">收入</option>
  231. <option value="EXPENDITURE">支出</option>
  232. </select>
  233. </td>
  234. </tr>
  235. </tbody>
  236. </table>
  237. <div id="INCOMEBox" >
  238. <form action="/paymentsIncomeDo" method="post" id="paymentsIncome" class="nice-validator n-default" novalidate="novalidate">
  239. <table class="table table-bordered table-condensed">
  240. <tbody>
  241. <!--收入-->
  242. <tr>
  243. <th class="taC" colspan="2">收入信息填写</th>
  244. </tr>
  245. <tr>
  246. <th class="taC">费用类型</th>
  247. <td >
  248. <select name="accountType" id="accountType" node-accountTypeSelect>
  249. <option value=''>请选择</option>
  250. <option value='1'>利息收入</option>
  251. <option value='2'>补贴收入</option>
  252. <option value='3'>纵横知道</option>
  253. <option value='4'>借款收回</option>
  254. <option value='5'>退汇</option>
  255. <option value='6'>其他</option>
  256. <option value='7'>广发理财</option>
  257. <option value='9'>工行理财</option>
  258. <option value='8'>保证金</option>
  259. </select>
  260. <p>
  261. <!--利息收入 二级-->
  262. <div node-accountMsg1 style="display:none">
  263. <label class="radio inline"><input name="accountMsg1" checked value="银行存款" type="radio">银行存款</label>
  264. <label class="radio inline"><input name="accountMsg1" value="活期理财收益" type="radio">活期理财收益</label>
  265. <label class="radio inline"><input name="accountMsg1" value="固定理财收益" type="radio">固定理财收益</label>
  266. <label class="radio inline"><input name="accountMsg1" value="个人借款" type="radio">个人借款</label>
  267. </div>
  268. <!--补贴收入 二级-->
  269. <div node-accountMsg2 style="display:none">
  270. <label class="radio inline"><input name="accountMsg2" checked value="社保" type="radio">社保</label>
  271. <label class="radio inline"><input name="accountMsg2" value="财政" type="radio">财政</label>
  272. </div>
  273. <!--借款收回 二级-->
  274. <div node-accountMsg4 style="display:none">
  275. <label class="radio inline"><input name="accountMsg4" checked value="备用金" type="radio">备用金</label>
  276. <label class="radio inline"><input name="accountMsg4" value="私人借款" type="radio">私人借款</label>
  277. </div>
  278. <!--广发理财 二级-->
  279. <div node-accountMsg7 style="display:none">
  280. 可提取余额:¥{{statisticsList.financingPrice.0.financingPrice}}
  281. <br/>
  282. <label class="radio inline"><input name="accountMsg7" value="公司固定" checked type="radio">公司固定</label>
  283. <label class="radio inline"><input name="accountMsg7" value="公司活期" type="radio">公司活期</label>
  284. <label class="radio inline"><input name="accountMsg7" value="个人(GR)" type="radio">个人(GR)</label>
  285. </div>
  286. <!--工行理财 二级-->
  287. <div node-accountMsg9 style="display:none">
  288. 可提取余额:¥{{statisticsList.financingPrice.0.financingPrice}}
  289. <br/>
  290. <label class="radio inline"><input name="accountMsg9" value="公司固定" checked type="radio">公司固定</label>
  291. <label class="radio inline"><input name="accountMsg9" value="公司活期" type="radio">公司活期</label>
  292. <label class="radio inline"><input name="accountMsg9" value="个人(GR)" type="radio">个人(GR)</label>
  293. </div>
  294. </p>
  295. </td>
  296. </tr>
  297. <tr>
  298. <th class="taC">到款金额</th>
  299. <td><input name="receivedPrice" id="receivedPrice" value="0" placeholder="输入开票金额" pattern="[0-9]" min="0" step="0.01" type="number"></td>
  300. </tr>
  301. <tr>
  302. <th class="taC">到款信息</th><td><input name="receivedMsg" id="receivedMsg" value="" type="text"></td>
  303. </tr>
  304. <tr>
  305. <th class="taC">到款银行</th>
  306. <td>
  307. <select name="receivedBank">
  308. <option value="纵横广发">纵横广发</option>
  309. <option value="个人广发">个人广发</option>
  310. <option value="华润银行">华润银行</option>
  311. <option value="纵横工行">纵横工行</option>
  312. </select>
  313. </td>
  314. </tr>
  315. <tr>
  316. <th class="taC">银行到款时间</th><td><input name="receivedDate" id="receivedDate" value="{{date}}" type="date"></td>
  317. </tr>
  318. <tr>
  319. <th class="taC">备注</th>
  320. <td><textarea class="form-control" name="remarks" rows="3"></textarea></td>
  321. </tr>
  322. <!--收入-->
  323. </tbody>
  324. </table>
  325. <div class="modal-footer">
  326. <input type="submit" value="确认录入" class="button">
  327. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  328. </div>
  329. </form>
  330. </div>
  331. <!--支出-->
  332. <div id="EXPENDITUREBox" style="display:none" >
  333. <form action="/paymentsExpenditureDo" method="post" id="paymentsExpenditure" class="nice-validator n-default" novalidate="novalidate">
  334. <table class="table table-bordered table-condensed">
  335. <tbody>
  336. <tr>
  337. <th class="taC" colspan="2">支出信息填写</th>
  338. </tr>
  339. <tr>
  340. <th class="taC">费用类型</th><td>
  341. <select name="expenditureType" id="expenditureType" node-expenditureTypeSelect>
  342. <option value="">请选择</option>
  343. <option value="1">银行手续费</option>
  344. <option value="2">总部电话费</option>
  345. <option value="3">缴税</option>
  346. <option value='4'>广发理财</option>
  347. <option value='6'>工行理财</option>
  348. <option value="5">保证金</option>
  349. </select>
  350. <!--缴税 二级-->
  351. <div node-expenditureMsg3 style="display:none">
  352. <p>
  353. <label class="radio inline"><input name="expenditureMsg3" checked value="增值税" type="radio">增值税</label>
  354. <label class="radio inline"><input name="expenditureMsg3" value="税金附加" type="radio">税金附加</label>
  355. <label class="radio inline"><input name="expenditureMsg3" value="企业所得税" type="radio">企业所得税</label>
  356. </p>
  357. </div>
  358. <div node-expenditureMsg4 style="display:none">
  359. 可提取余额:¥{{statisticsList.financingPrice.0.financingPrice}}
  360. <br/>
  361. <label class="radio inline"><input name="expenditureMsg4" value="公司固定" checked type="radio">公司固定</label>
  362. <label class="radio inline"><input name="expenditureMsg4" value="公司活期" type="radio">公司活期</label>
  363. <label class="radio inline"><input name="expenditureMsg4" value="个人(GR)" type="radio">个人(GR)</label>
  364. </div>
  365. <div node-expenditureMsg6 style="display:none">
  366. 可提取余额:¥{{statisticsList.financingPrice.0.financingPrice}}
  367. <br/>
  368. <label class="radio inline"><input name="expenditureMsg6" value="公司固定" checked type="radio">公司固定</label>
  369. <label class="radio inline"><input name="expenditureMsg6" value="公司活期" type="radio">公司活期</label>
  370. <label class="radio inline"><input name="expenditureMsg6" value="个人(GR)" type="radio">个人(GR)</label>
  371. </div>
  372. </tr>
  373. <tr>
  374. <th class="taC">支出金额</th><td>
  375. <input name="expenditurePrice" id="expenditurePrice" value="0" placeholder="输入开票金额" pattern="[0-9]" min="0" step="0.01" type="number"></td>
  376. </tr>
  377. <tr>
  378. <th class="taC">支出银行</th>
  379. <td>
  380. <select name="expenditureBank" id="expenditureBank">
  381. <option value="纵横广发">纵横广发</option>
  382. <option value="个人广发">个人广发</option>
  383. <option value="华润银行">华润银行</option>
  384. <option value="纵横工行">纵横工行</option>
  385. </select>
  386. </td>
  387. </tr>
  388. <tr>
  389. <th class="taC">银行到款时间</th><td><input name="expenditureDate" id="expenditureDate" value="{{date}}" type="date"></td>
  390. </tr>
  391. <tr>
  392. <th class="taC">备注</th>
  393. <td><textarea class="form-control" name="remarks" rows="3"></textarea></td>
  394. </tr>
  395. <!--支出-->
  396. </tbody>
  397. </table>
  398. <div class="modal-footer">
  399. <input type="submit" value="确认录入" class="button">
  400. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
  401. </div>
  402. </form>
  403. </div>
  404. </div>
  405. </div></div>
  406. </div>
  407. <script type="text/javascript">autoFlashHeight();</script>
  408. </body>