receiptTrainEdi.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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="<?= receipt ?>"></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 '../admin/menuReceipt' -->
  13. </ul>
  14. </div>
  15. </div>
  16. <div class="warpContent">
  17. <div class="subMenu fL">
  18. <div class="menuItem">
  19. <!-- include '../admin/receipt_menu' -->
  20. </div>
  21. </div>
  22. <div class="adminContent autoHeight" style="height: 821px;">
  23. <!-- include 'receiptTrainApprovalForm' -->
  24. <div class="borad-news">
  25. <div class="subNav">
  26. <!-- include 'receiptTrainMenu' -->
  27. </div>
  28. <div class="saeaList" <!-- if {{trainEdiType}}!='INFO' --> style="display:none" <!-- endif --> >
  29. <form action="/receiptTrainInfoEdiDo" name="receiptTrainAdd" method="post">
  30. <input type="hidden" name="rid" value="{{receiptDetail.ridKey}}">
  31. <input type="hidden" name="rtid" value="{{receiptTrainingDetail.rtidKey}}">
  32. <legend>培训班信息</legend>
  33. <table class="table table-bordered table-condensed">
  34. <tbody>
  35. <tr>
  36. <th colspan="4" class="taC">培训班信息</th>
  37. </tr>
  38. <tr>
  39. <th class="taC" width="150"><span class="colRed" title="必填">*</span>培训班名称</th>
  40. <td><input placeholder="必填" name="trainName" id='trainName' value='{{receiptTrainingDetail.trainName}}' type="text"></td>
  41. <th class="taC" width="150"><span class="colRed" title="必填">*</span>所在办事处</th>
  42. <td>
  43. <select name="cid" class="span2">
  44. <!-- loop category -->
  45. <option <!-- if {{category' value.cid}} == {{receiptDetail.cid}} --> selected <!-- endif --> value="{{category' value.cidKey}}" >{{category' value.title}}</option>
  46. <!-- endloop -->
  47. </select>
  48. </td>
  49. </tr>
  50. <tr>
  51. <th class="taC"><span class="colRed" title="必填">*</span>开班时间</th>
  52. <td><input placeholder="必填" name="trainStartDate" id="trainStartDate" value='{{receiptTrainingDetail.trainStartDate}}' type="date"></td>
  53. <th class="taC"><span class="colRed" title="必填">*</span>结束时间</th>
  54. <td><input placeholder="必填" name="trainEndDate" id="trainEndDate" value='{{receiptTrainingDetail.trainEndDate}}' type="date"></td>
  55. </tr>
  56. <tr>
  57. <th class="taC"><span class="colRed" title="必填">*</span>参加人数</th>
  58. <td><input name="participants" id="participants" value="{{receiptTrainingDetail.participants}}" placeholder="输入数量" pattern="[0-9]" type="number" min="1" step="1" aria-required="true" class="n-valid">
  59. </td>
  60. <th class="taC"><span class="colRed" title="必填">*</span>免费参加人数</th>
  61. <td><input name="freeParticipants" id="freeParticipants" value="{{receiptTrainingDetail.freeParticipants}}" placeholder="必填" placeholder="输入数量" pattern="[0-9]" type="number" min="1" step="1" aria-required="true" class="n-valid"></td>
  62. </tr>
  63. <tr>
  64. <th class="taC"><span class="colRed" title="必填">*</span>培训班地址</th>
  65. <td colspan="3"><input placeholder="必填" name="trainAddress" id="trainAddress" value="{{receiptTrainingDetail.trainAddress}}" type="text"></td>
  66. </tr>
  67. <tr>
  68. <th class="taC">备注</th><td colspan="3"><textarea placeholder="选填项" name="trainRemarks" id="trainRemarks" style="width:600px">{{receiptTrainingDetail.trainRemarks}}</textarea></td>
  69. </tr>
  70. <tr>
  71. <th colspan="4" class="taC">审批信息</th>
  72. </tr>
  73. <tr>
  74. <th class="taC"><span class="colRed" title="必填">*</span>审批组
  75. </th>
  76. <td>
  77. <select name="verify" id="verify">
  78. <option value="" >请选择审批组</option>
  79. <!-- loop veList -->
  80. <option <!-- if {{receiptDetail.verify}}=={{veList' value.vid}} --> selected <!-- endif --> value="{{veList' value.vid}}" >{{veList' value.description}}(
  81. {{veList' value.staff}}
  82. )</option>
  83. <!-- endloop -->
  84. </select>
  85. </td>
  86. </tr>
  87. <tr>
  88. <th colspan="4" class="taC">汇款信息</th>
  89. </tr>
  90. <tr>
  91. <th class="taC"><span class="colRed" title="必填">*</span>汇款人户名
  92. </th><td><input type="text" name="remittanceName" id="remittanceName" placeholder="请输入汇款人户名" value="{{receiptDetail.remittanceName}}"></td>
  93. <th class="taC"><span class="colRed" title="必填">*</span>汇款银行</th>
  94. <td>
  95. <select node-rbt name="remittanceBankType">
  96. <option <!-- if 0 == {{receiptDetail.remittanceBankType}} --> selected <!-- endif --> value="0">广发银行</option>
  97. <option <!-- if 1 == {{receiptDetail.remittanceBankType}} --> selected <!-- endif --> value="1">其他</option>
  98. </select>
  99. </td>
  100. </tr>
  101. <tr>
  102. <th class="taC"><span class="colRed" title="必填">*</span>汇款开户银行名称
  103. </th><td><input type="text" placeholder="请输入汇款开户银行名称" name="bankName" id="bankName" value="{{receiptDetail.bankName}}"></td>
  104. <th class="taC"><span class="colRed" title="必填">*</span>汇款帐号</th>
  105. <td><input type="text" placeholder="请输入汇款帐号" id="bankNumber" name="bankNumber" value="{{receiptDetail.bankNumber}}"></td>
  106. </tr>
  107. <tr node-cn <!-- if 0 == {{receiptDetail.remittanceBankType}} --> style="display:none" <!-- endif --> >
  108. <th class="taC"><span class="colRed" title="必填">*</span>联行号
  109. <div class="tipContent"><span class="tipGray">?</span><div class="tipConactive"><p>1.如果不是公司广发,务必填上银行联行号</p><p>2.如不清楚银行联行号请咨询报销查款专用 QQ:2870766094</p></div></div></th>
  110. <td><input type="text" placeholder="请输入联行号" id="coupletNumber" name="coupletNumber" value="{{receiptDetail.coupletNumber}}"></td>
  111. <th class="taC"></th><td></td>
  112. </tr>
  113. </tbody>
  114. </table>
  115. <p class="taR">
  116. <input type="submit" value="保存修改" class="button">
  117. </p>
  118. </form>
  119. </div>
  120. <!-- 汇总表 -->
  121. <div class="saeaList" <!-- if {{trainEdiType}}!='COLLECT' --> style="display:none" <!-- endif -->>
  122. <legend>汇总表</legend>
  123. <table class="table table-condensed table-hover table-bordered" >
  124. <tbody><tr>
  125. <th class="taC" rowspan="2">汇总项目</th><th class="taC" colspan="2">收入按开票金额计算</th><th class="taC" colspan="2">收入按入账金额计算</th>
  126. </tr><tr>
  127. <th class="taC">金额</th><th class="taC" rowspan="2">占比</th><th class="taC">金额</th><th class="taC" rowspan="2">占比</th>
  128. </tr>
  129. <tr>
  130. <th>收入</th>
  131. <td class="taR">{{invoiceTrainingDetail.invoiceTotalAmount}}</td>
  132. <td class="taR">{{invoiceTrainingDetail.invoiceArriveAmount}}</td>
  133. </tr>
  134. <tr>
  135. <th>支出</th>
  136. <td class="taR">{{total}}</td>
  137. <td class="taR">{{invoicetotalProportion}}%</td>
  138. <td class="taR">{{total}}</td>
  139. <td class="taR">{{totalProportion}}%</td>
  140. </tr>
  141. <tr>
  142. <th>利润</th>
  143. <td class="taR"><b>{{invoiceProfit}}</b></td>
  144. <td class="taR">{{invoiceprofitProportion}}%</td>
  145. <td class="taR"><b>{{profit}}</b></td>
  146. <td class="taR">{{profitProportion}}%</td>
  147. </tr>
  148. <tr>
  149. <td colspan="5" class="taC colGray">收入-支出=利润</td>
  150. </tr>
  151. <tr>
  152. <th>公司利润</th>
  153. <td class="taR">{{invoiceCompanyProfit}}</td>
  154. <td class="taR">{{invoicecompanyProfitProportion}}%</td>
  155. <td class="taR">{{companyProfit}}</td>
  156. <td class="taR">{{companyProfitProportion}}%</td>
  157. </tr>
  158. <tr>
  159. <th>办事处利润</th>
  160. <td class="taR">{{invoiceCategoryProfit}}</td>
  161. <td class="taR">{{invoicecategoryProportion}}%</td>
  162. <td class="taR">{{categoryProfit}}</td>
  163. <td class="taR">{{categoryProportion}}%</td>
  164. </tr>
  165. <tr>
  166. <th>公司收款</th>
  167. <td class="taR">{{invoiceTrainingDetail.invoiceCompanyAmount}}</td>
  168. <td class="taR">{{invoiceTotalAmountProportionB}}%</td>
  169. <td class="taR">{{invoiceTrainingDetail.invoiceCompanyAmount}}</td>
  170. <td class="taR">{{invoiceTotalAmountProportion}}%</td>
  171. </tr>
  172. <tr>
  173. <td colspan="5" class="taC colGray">收入×40%=办事处利润&nbsp;&nbsp;&nbsp;收入×60%=公司利润</td>
  174. </tr>
  175. <tr>
  176. <th>备用金(借款)</th>
  177. <td class="taR">{{receiptLoanDetail.sum}}</td>
  178. <td class="taR">{{invoicesumProportion}}%</td>
  179. <td class="taR">{{receiptLoanDetail.sum}}</td>
  180. <td class="taR">{{sumProportion}}%</td>
  181. </tr>
  182. <tr>
  183. <th>办事处收款</th>
  184. <td class="taR">{{invoiceTrainingDetail.RIAmount}}</td>
  185. <td class="taR">{{invoiceRIAmountProportion}}%</td>
  186. <td class="taR">{{invoiceTrainingDetail.RIAmount}}</td>
  187. <td class="taR">{{RIAmountProportion}}%</td>
  188. </tr>
  189. <tr>
  190. <th>办事处实际支出</th>
  191. <td class="taR">{{categoryActualExpenditure}}</td>
  192. <td class="taR">{{ICAEP}}%</td>
  193. <td class="taR">{{categoryActualExpenditure}}</td>
  194. <td class="taR">{{categoryActualExpenditureProportion}}%</td>
  195. </tr>
  196. <tr>
  197. <th>付总部款</th>
  198. <td class="taR"><b>{{payment}}</b></td>
  199. <td class="taR">{{invoicepaymentProportion}}%</td>
  200. <td class="taR"><b>{{payment}}</b></td>
  201. <td class="taR">{{paymentProportion}}%</td>
  202. </tr>
  203. <tr>
  204. <td colspan="5" class="taC colGray">备用金+办事处收款-办事处实际支出=付总部款</td>
  205. </tr>
  206. <tr><td colspan="5">学员:{{receiptTrainingDetail.participantsTotal}}人(缴费{{receiptTrainingDetail.participants}}&nbsp;免费{{receiptTrainingDetail.freeParticipants}})&nbsp;&nbsp;&nbsp;讲师:{{lectureCount}} 人</td></tr>
  207. </tbody></table>
  208. <table class="table table-bordered table-condensed table-hover">
  209. <tbody>
  210. <tr>
  211. <th class="taC" colspan="4">项目</th><th class="taC">金额</th><th class="taC" >占入账金额比例</th>
  212. </tr>
  213. <!-- loop aiList -->
  214. <!-- if {{aiList' key}}==0 -->
  215. <tr>
  216. <th rowspan="{{aiCount}}" width="20">支出明细</th><th colspan="2">{{aiList' value.name}}</th>
  217. <td colspan="2" class="taR">{{aiList' value.priceFormat}}</td><td>{{aiList' value.proportion}}%</td>
  218. </tr>
  219. <!-- elseif {{aiList' value.name}}=='讲课费' -->
  220. <tr>
  221. <th rowspan="3" colspan="2">讲课费</th><td class="taC colGray">外聘</td>
  222. <td class="taR">{{aiList' value.outsideTaxPrice}}</td>
  223. <td>{{aiList' value.outsideTaxProportion}}%</td>
  224. </tr>
  225. <tr>
  226. <td class="taC colGray">外聘(不计税)</td><td class="taR">{{aiList' value.outsideNoTaxPrice}}</td>
  227. <td>{{aiList' value.outsideNoTaxProportion}}%</td>
  228. </tr>
  229. <tr>
  230. <td class="taC colGray">员工</td><td class="taR">{{aiList' value.insidePrice}}</td>
  231. <td>{{aiList' value.insideProportion}}%</td>
  232. </tr>
  233. <!-- elseif {{aiList' value.name}}=='办公费' -->
  234. <tr>
  235. <th rowspan="2" colspan="2">{{aiList' value.name}}</th>
  236. <td class="taC colGray">办事处支出</td><td class="taR">{{aiList' value.categoryPrice}}</td><td>{{aiList' value.categoryProportion}}%</td>
  237. </tr>
  238. <tr>
  239. <td class="taC colGray">公司支出</td><td class="taR">{{aiList' value.companyPrice}}</td><td>{{aiList' value.companyProportion}}%</td>
  240. </tr>
  241. <!-- elseif {{aiList' value.name}}=='邮寄费' -->
  242. <tr>
  243. <th rowspan="2" colspan="2">{{aiList' value.name}}</th>
  244. <td class="taC colGray">办事处支出</td><td class="taR">{{aiList' value.categoryPrice}}</td><td>{{aiList' value.categoryProportion}}%</td>
  245. </tr>
  246. <tr>
  247. <td class="taC colGray">公司支出</td><td class="taR">{{aiList' value.companyPrice}}</d><td>{{aiList' value.companyProportion}}%</td>
  248. </tr>
  249. <!-- else -->
  250. <tr>
  251. <th colspan="2">{{aiList' value.name}}</th><td colspan="2" class="taR">{{aiList' value.priceFormat}}</td><td>{{aiList' value.proportion}}%</td>
  252. </tr>
  253. <!-- endif -->
  254. <!-- endloop -->
  255. <tr>
  256. <th colspan="2">小计</th><td colspan="2" class="taR">{{total}}</td>
  257. <td>{{totalProportion}}%</td>
  258. </tr>
  259. </tbody>
  260. </table>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. <!--弹出-->
  266. <div class="modal hide fade" id="addCallout">
  267. <div class="modal-header">
  268. <h3>添加批注</h3>
  269. </div>
  270. <div class="modal-body">
  271. <form class="">
  272. <div class="control-group">
  273. <div class="controls clearfix">
  274. <label>
  275. 批注内容
  276. </label>
  277. <textarea rows="8" class="span6"></textarea>
  278. </div>
  279. </div>
  280. </form>
  281. </div>
  282. <div class="modal-footer">
  283. <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">取消</a>
  284. <a href="#" class="button">确定</a>
  285. </div>
  286. </div>
  287. <!--弹出内容-->
  288. <script type="text/javascript">autoFlashHeight();</script>
  289. </body>