apply-clients 4.0.67 → 4.1.0-weinan

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/dist-android/index.html +3 -0
  2. package/dist-android/static/.gitkeep +0 -0
  3. package/dist-android/static/0.js +2 -0
  4. package/dist-android/static/0.js.map +1 -0
  5. package/dist-android/static/1.js +2 -0
  6. package/dist-android/static/1.js.map +1 -0
  7. package/dist-android/static/10.js +2 -0
  8. package/dist-android/static/10.js.map +1 -0
  9. package/dist-android/static/100.js +2 -0
  10. package/dist-android/static/100.js.map +1 -0
  11. package/dist-android/static/11.js +2 -0
  12. package/dist-android/static/11.js.map +1 -0
  13. package/dist-android/static/12.js +2 -0
  14. package/dist-android/static/12.js.map +1 -0
  15. package/dist-android/static/13.js +2 -0
  16. package/dist-android/static/13.js.map +1 -0
  17. package/dist-android/static/14.js +2 -0
  18. package/dist-android/static/14.js.map +1 -0
  19. package/dist-android/static/15.js +2 -0
  20. package/dist-android/static/15.js.map +1 -0
  21. package/dist-android/static/16.js +2 -0
  22. package/dist-android/static/16.js.map +1 -0
  23. package/dist-android/static/17.js +2 -0
  24. package/dist-android/static/17.js.map +1 -0
  25. package/dist-android/static/18.js +2 -0
  26. package/dist-android/static/18.js.map +1 -0
  27. package/dist-android/static/19.js +2 -0
  28. package/dist-android/static/19.js.map +1 -0
  29. package/dist-android/static/2.js +2 -0
  30. package/dist-android/static/2.js.map +1 -0
  31. package/dist-android/static/20.js +2 -0
  32. package/dist-android/static/20.js.map +1 -0
  33. package/dist-android/static/21.js +2 -0
  34. package/dist-android/static/21.js.map +1 -0
  35. package/dist-android/static/22.js +2 -0
  36. package/dist-android/static/22.js.map +1 -0
  37. package/dist-android/static/23.js +2 -0
  38. package/dist-android/static/23.js.map +1 -0
  39. package/dist-android/static/24.js +2 -0
  40. package/dist-android/static/24.js.map +1 -0
  41. package/dist-android/static/25.js +2 -0
  42. package/dist-android/static/25.js.map +1 -0
  43. package/dist-android/static/26.js +2 -0
  44. package/dist-android/static/26.js.map +1 -0
  45. package/dist-android/static/27.js +2 -0
  46. package/dist-android/static/27.js.map +1 -0
  47. package/dist-android/static/28.js +2 -0
  48. package/dist-android/static/28.js.map +1 -0
  49. package/dist-android/static/29.js +2 -0
  50. package/dist-android/static/29.js.map +1 -0
  51. package/dist-android/static/3.js +2 -0
  52. package/dist-android/static/3.js.map +1 -0
  53. package/dist-android/static/30.js +2 -0
  54. package/dist-android/static/30.js.map +1 -0
  55. package/dist-android/static/31.js +2 -0
  56. package/dist-android/static/31.js.map +1 -0
  57. package/dist-android/static/32.js +2 -0
  58. package/dist-android/static/32.js.map +1 -0
  59. package/dist-android/static/33.js +2 -0
  60. package/dist-android/static/33.js.map +1 -0
  61. package/dist-android/static/34.js +2 -0
  62. package/dist-android/static/34.js.map +1 -0
  63. package/dist-android/static/35.js +2 -0
  64. package/dist-android/static/35.js.map +1 -0
  65. package/dist-android/static/36.js +2 -0
  66. package/dist-android/static/36.js.map +1 -0
  67. package/dist-android/static/37.js +2 -0
  68. package/dist-android/static/37.js.map +1 -0
  69. package/dist-android/static/38.js +2 -0
  70. package/dist-android/static/38.js.map +1 -0
  71. package/dist-android/static/39.js +2 -0
  72. package/dist-android/static/39.js.map +1 -0
  73. package/dist-android/static/4.js +2 -0
  74. package/dist-android/static/4.js.map +1 -0
  75. package/dist-android/static/40.js +2 -0
  76. package/dist-android/static/40.js.map +1 -0
  77. package/dist-android/static/41.js +2 -0
  78. package/dist-android/static/41.js.map +1 -0
  79. package/dist-android/static/42.js +2 -0
  80. package/dist-android/static/42.js.map +1 -0
  81. package/dist-android/static/43.js +2 -0
  82. package/dist-android/static/43.js.map +1 -0
  83. package/dist-android/static/44.js +2 -0
  84. package/dist-android/static/44.js.map +1 -0
  85. package/dist-android/static/45.js +2 -0
  86. package/dist-android/static/45.js.map +1 -0
  87. package/dist-android/static/46.js +2 -0
  88. package/dist-android/static/46.js.map +1 -0
  89. package/dist-android/static/47.js +2 -0
  90. package/dist-android/static/47.js.map +1 -0
  91. package/dist-android/static/48.js +2 -0
  92. package/dist-android/static/48.js.map +1 -0
  93. package/dist-android/static/49.js +2 -0
  94. package/dist-android/static/49.js.map +1 -0
  95. package/dist-android/static/5.js +2 -0
  96. package/dist-android/static/5.js.map +1 -0
  97. package/dist-android/static/50.js +2 -0
  98. package/dist-android/static/50.js.map +1 -0
  99. package/dist-android/static/51.js +2 -0
  100. package/dist-android/static/51.js.map +1 -0
  101. package/dist-android/static/52.js +2 -0
  102. package/dist-android/static/52.js.map +1 -0
  103. package/dist-android/static/53.js +2 -0
  104. package/dist-android/static/53.js.map +1 -0
  105. package/dist-android/static/54.js +2 -0
  106. package/dist-android/static/54.js.map +1 -0
  107. package/dist-android/static/55.js +2 -0
  108. package/dist-android/static/55.js.map +1 -0
  109. package/dist-android/static/56.js +2 -0
  110. package/dist-android/static/56.js.map +1 -0
  111. package/dist-android/static/57.js +2 -0
  112. package/dist-android/static/57.js.map +1 -0
  113. package/dist-android/static/58.js +2 -0
  114. package/dist-android/static/58.js.map +1 -0
  115. package/dist-android/static/59.js +2 -0
  116. package/dist-android/static/59.js.map +1 -0
  117. package/dist-android/static/6.js +2 -0
  118. package/dist-android/static/6.js.map +1 -0
  119. package/dist-android/static/60.js +2 -0
  120. package/dist-android/static/60.js.map +1 -0
  121. package/dist-android/static/61.js +2 -0
  122. package/dist-android/static/61.js.map +1 -0
  123. package/dist-android/static/62.js +2 -0
  124. package/dist-android/static/62.js.map +1 -0
  125. package/dist-android/static/63.js +2 -0
  126. package/dist-android/static/63.js.map +1 -0
  127. package/dist-android/static/64.js +2 -0
  128. package/dist-android/static/64.js.map +1 -0
  129. package/dist-android/static/65.js +2 -0
  130. package/dist-android/static/65.js.map +1 -0
  131. package/dist-android/static/66.js +2 -0
  132. package/dist-android/static/66.js.map +1 -0
  133. package/dist-android/static/67.js +2 -0
  134. package/dist-android/static/67.js.map +1 -0
  135. package/dist-android/static/68.js +2 -0
  136. package/dist-android/static/68.js.map +1 -0
  137. package/dist-android/static/69.js +2 -0
  138. package/dist-android/static/69.js.map +1 -0
  139. package/dist-android/static/7.js +6 -0
  140. package/dist-android/static/7.js.map +1 -0
  141. package/dist-android/static/70.js +2 -0
  142. package/dist-android/static/70.js.map +1 -0
  143. package/dist-android/static/71.js +2 -0
  144. package/dist-android/static/71.js.map +1 -0
  145. package/dist-android/static/72.js +2 -0
  146. package/dist-android/static/72.js.map +1 -0
  147. package/dist-android/static/73.js +2 -0
  148. package/dist-android/static/73.js.map +1 -0
  149. package/dist-android/static/74.js +2 -0
  150. package/dist-android/static/74.js.map +1 -0
  151. package/dist-android/static/75.js +2 -0
  152. package/dist-android/static/75.js.map +1 -0
  153. package/dist-android/static/76.js +2 -0
  154. package/dist-android/static/76.js.map +1 -0
  155. package/dist-android/static/77.js +2 -0
  156. package/dist-android/static/77.js.map +1 -0
  157. package/dist-android/static/78.js +2 -0
  158. package/dist-android/static/78.js.map +1 -0
  159. package/dist-android/static/79.js +2 -0
  160. package/dist-android/static/79.js.map +1 -0
  161. package/dist-android/static/8.js +2 -0
  162. package/dist-android/static/8.js.map +1 -0
  163. package/dist-android/static/80.js +2 -0
  164. package/dist-android/static/80.js.map +1 -0
  165. package/dist-android/static/81.js +2 -0
  166. package/dist-android/static/81.js.map +1 -0
  167. package/dist-android/static/82.js +2 -0
  168. package/dist-android/static/82.js.map +1 -0
  169. package/dist-android/static/83.js +2 -0
  170. package/dist-android/static/83.js.map +1 -0
  171. package/dist-android/static/84.js +2 -0
  172. package/dist-android/static/84.js.map +1 -0
  173. package/dist-android/static/85.js +2 -0
  174. package/dist-android/static/85.js.map +1 -0
  175. package/dist-android/static/86.js +2 -0
  176. package/dist-android/static/86.js.map +1 -0
  177. package/dist-android/static/87.js +2 -0
  178. package/dist-android/static/87.js.map +1 -0
  179. package/dist-android/static/88.js +2 -0
  180. package/dist-android/static/88.js.map +1 -0
  181. package/dist-android/static/89.js +2 -0
  182. package/dist-android/static/89.js.map +1 -0
  183. package/dist-android/static/9.js +3 -0
  184. package/dist-android/static/9.js.map +1 -0
  185. package/dist-android/static/90.js +2 -0
  186. package/dist-android/static/90.js.map +1 -0
  187. package/dist-android/static/91.js +2 -0
  188. package/dist-android/static/91.js.map +1 -0
  189. package/dist-android/static/92.js +2 -0
  190. package/dist-android/static/92.js.map +1 -0
  191. package/dist-android/static/93.js +2 -0
  192. package/dist-android/static/93.js.map +1 -0
  193. package/dist-android/static/94.js +2 -0
  194. package/dist-android/static/94.js.map +1 -0
  195. package/dist-android/static/95.js +2 -0
  196. package/dist-android/static/95.js.map +1 -0
  197. package/dist-android/static/96.js +2 -0
  198. package/dist-android/static/96.js.map +1 -0
  199. package/dist-android/static/97.js +2 -0
  200. package/dist-android/static/97.js.map +1 -0
  201. package/dist-android/static/98.js +2 -0
  202. package/dist-android/static/98.js.map +1 -0
  203. package/dist-android/static/99.js +2 -0
  204. package/dist-android/static/99.js.map +1 -0
  205. package/dist-android/static/app.css +2 -0
  206. package/dist-android/static/app.css.map +1 -0
  207. package/dist-android/static/app.js +80 -0
  208. package/dist-android/static/app.js.map +1 -0
  209. package/dist-android/static/batchleft.png +0 -0
  210. package/dist-android/static/batchright.png +0 -0
  211. package/dist-android/static/bluemainbg.jpg +0 -0
  212. package/dist-android/static/config.json +7 -0
  213. package/dist-android/static/denglu.png +0 -0
  214. package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
  215. package/dist-android/static/glyphicons-halflings-regular.svg +288 -0
  216. package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
  217. package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
  218. package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
  219. package/dist-android/static/huangtengbiaozhi.png +0 -0
  220. package/dist-android/static/jingyin.jpg +0 -0
  221. package/dist-android/static/login_bg.jpg +0 -0
  222. package/dist-android/static/login_title.png +0 -0
  223. package/dist-android/static/login_title1.png +0 -0
  224. package/dist-android/static/loginbg.jpg +0 -0
  225. package/dist-android/static/loginlogo.png +0 -0
  226. package/dist-android/static/main_logo.png +0 -0
  227. package/dist-android/static/mainbg.jpg +0 -0
  228. package/dist-android/static/menulogo.png +0 -0
  229. package/dist-android/static/newmainbg.jpg +0 -0
  230. package/dist-android/static/psicon.png +0 -0
  231. package/dist-android/static/singleleft.png +0 -0
  232. package/dist-android/static/singleright.png +0 -0
  233. package/dist-android/static/treeopen.png +0 -0
  234. package/dist-android/static/treeout.png +0 -0
  235. package/dist-android/static/treeset.png +0 -0
  236. package/dist-android/static/usericon.png +0 -0
  237. package/dist-android/static/workflow_apply.json +766 -0
  238. package/dist-android/static/xinxi.png +0 -0
  239. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  240. package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
  241. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  242. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
  243. package/index.html +26 -17
  244. package/package.json +13 -7
  245. package/src/App.vue +11 -114
  246. package/src/apply.js +49 -157
  247. package/src/applyAndroid.js +41 -49
  248. package/src/bootstrap/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  249. package/src/bootstrap/guandao1.png +0 -0
  250. package/src/bootstrap/less/aofeng/animate.min.css +11 -0
  251. package/src/bootstrap/less/aofeng/standard.less +2121 -0
  252. package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +686 -0
  253. package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
  254. package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +2650 -0
  255. package/src/bootstrap/less/aofeng/themeOne.less +14 -0
  256. package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
  257. package/src/bootstrap/less/aofeng/themeTwo.less +3 -0
  258. package/src/bootstrap/less/bootstrap.less +9 -0
  259. package/src/bootstrap/less/forms.less +2 -2
  260. package/src/bootstrap/less/glyphicons.less +2 -2
  261. package/src/bootstrap/less/less.7z +0 -0
  262. package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
  263. package/src/bootstrap/less/manageStyle/manageStyle.less +1102 -0
  264. package/src/bootstrap/less/manageStyle/qinhuaStyle.less +116 -0
  265. package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
  266. package/src/bootstrap/less/manageStyle/telephoneanaly.less +92 -0
  267. package/src/bootstrap/less/navs.less +2 -3
  268. package/src/bootstrap/less/stand.less +207 -0
  269. package/src/bootstrap/less/standard.less +503 -0
  270. package/src/bootstrap/less/systemStyle.less +860 -0
  271. package/src/bootstrap/less/themeOne.less +36 -0
  272. package/src/bootstrap/less/themeTwo.less +29 -0
  273. package/src/bootstrap/less/variables.less +2 -1
  274. package/src/components/Util.js +4 -0
  275. package/src/components/app_apply/AppChargeManagement.vue +637 -0
  276. package/src/components/app_apply/ApplyApp.vue +5 -65
  277. package/src/components/app_apply/ApplyDownList.vue +2 -2
  278. package/src/components/app_apply/ApplyInfo.vue +1 -1
  279. package/src/components/app_apply/ApplyToDoList.vue +6 -42
  280. package/src/components/app_apply/ApplyUserInfo.vue +1 -1
  281. package/src/components/app_apply/FieldExploration.vue +2 -2
  282. package/src/components/app_apply/PlaceControler.vue +3 -7
  283. package/src/components/app_apply/ServiceControl.vue +11 -755
  284. package/src/components/app_apply/ServiceView.vue +16 -363
  285. package/src/components/app_apply/Ventilation.vue +2 -2
  286. package/src/components/image/doc.jpg +0 -0
  287. package/src/components/image/excel.jpg +0 -0
  288. package/src/components/image/pdf.jpg +0 -0
  289. package/src/components/image//345/233/276/345/261/20212.png +0 -0
  290. package/src/components/image//345/233/276/345/261/20213.png +0 -0
  291. package/src/components/image//345/233/276/345/261/20216.png +0 -0
  292. package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
  293. package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
  294. package/src/components/image//346/244/255/345/234/2062.png +0 -0
  295. package/src/components/image//346/244/255/345/234/2065.png +0 -0
  296. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  297. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
  298. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
  299. package/src/components/image//347/273/2044.png +0 -0
  300. package/src/components/image//347/273/2045.png +0 -0
  301. package/src/components/image//347/273/2046.png +0 -0
  302. package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
  303. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -0
  304. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -0
  305. package/src/components/product/Function/InstallFunction.vue +120 -101
  306. package/src/components/product/Function/InstallInfoSelect.vue +267 -212
  307. package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -579
  308. package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
  309. package/src/components/product/Function/functions/ApplyRecordCancel.vue +81 -114
  310. package/src/components/product/Function/functions/StopInstall.vue +76 -92
  311. package/src/components/product/Process/ExplorationSelect.vue +377 -463
  312. package/src/components/product/Process/ExplorationUser.vue +101 -110
  313. package/src/components/product/Process/Processes/InstallationDetails.vue +513 -0
  314. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  315. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1555 -0
  316. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  317. package/src/components/product/Process/Processes/chargeManagement.vue +540 -0
  318. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  319. package/src/components/product/Process/Processes/printCharge.vue +130 -0
  320. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  321. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  322. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  323. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -0
  324. package/src/components/product/Process/Service/ServiceControl.vue +1222 -0
  325. package/src/components/product/Process/ShowBackReason.vue +21 -6
  326. package/src/components/product/ServiceView.vue +584 -605
  327. package/src/components/product/Stop/StopApply.vue +101 -0
  328. package/src/components/product/Stop/StopApplyList.vue +257 -0
  329. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +140 -153
  330. package/src/components/product/Supervisory/SupervisoryControl.vue +103 -139
  331. package/src/components/product/Supervisory/SupervisoryList.vue +145 -374
  332. package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -75
  333. package/src/components/product/Test.vue +40 -0
  334. package/src/components/product/VueUtils/ApplyUpload.vue +261 -0
  335. package/src/components/product/VueUtils/Tree.vue +330 -0
  336. package/src/expandcss.less +571 -0
  337. package/src/main.js +8 -15
  338. package/src/stores/ApplyLoadParams.js +1 -2
  339. package/src/stores/PagedListLogic.js +173 -0
  340. package/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  341. package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  342. package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  343. package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  344. package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  345. package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  346. package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  347. package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  348. package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  349. package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  350. package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  351. package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  352. package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  353. package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  354. package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  355. package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  356. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  357. package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  358. package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  359. package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  360. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  361. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  362. package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  363. package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  364. package/static/imgerror.jpg +0 -0
  365. package/static/newStyle/clear.png +0 -0
  366. package/static/newStyle/fife.png +0 -0
  367. package/static/newStyle/hidden.png +0 -0
  368. package/static/newStyle/label-clear.png +0 -0
  369. package/static/newStyle/left-img.png +0 -0
  370. package/static/newStyle/list_ok.png +0 -0
  371. package/static/newStyle/login-check.png +0 -0
  372. package/static/newStyle/login-con.png +0 -0
  373. package/static/newStyle/login-do.gif +0 -0
  374. package/static/newStyle/login-f.png +0 -0
  375. package/static/newStyle/login-info.png +0 -0
  376. package/static/newStyle/login-left.png +0 -0
  377. package/static/newStyle/login-org.png +0 -0
  378. package/static/newStyle/login-pwd.png +0 -0
  379. package/static/newStyle/login-user.png +0 -0
  380. package/static/newStyle/loginbg.gif +0 -0
  381. package/static/newStyle/loginbg1280.gif +0 -0
  382. package/static/newStyle/loginbg1366.gif +0 -0
  383. package/static/newStyle/setting.png +0 -0
  384. package/static/newStyle/setting1.png +0 -0
  385. package/static/newStyle/shirk.png +0 -0
  386. package/static/newStyle/stretch_bottom.png +0 -0
  387. package/static/newStyle/stretch_left.png +0 -0
  388. package/static/newStyle/stretch_right.png +0 -0
  389. package/static/newStyle/stretch_top.png +0 -0
  390. package/static/newStyle/system-off.png +0 -0
  391. package/ApplyClient.iml +0 -9
  392. package/src/assets//345/210/240/351/231/244.png +0 -0
  393. package/src/assets//346/212/245/350/243/205/344/270/232/345/212/241/347/253/226/345/261/2173.png +0 -0
  394. package/src/components/Utils.js +0 -301
  395. package/src/components/app_apply/AppBatchItem.vue +0 -501
  396. package/src/components/app_apply/AppImageUpload.vue +0 -402
  397. package/src/components/app_apply/PaperFeePic.vue +0 -867
  398. package/src/components/product/AllRecord.vue +0 -189
  399. package/src/components/product/Bill/BillGZK.vue +0 -78
  400. package/src/components/product/Bill/BillGZKMakeInfo.vue +0 -58
  401. package/src/components/product/Bill/BillGZKRecordInfo.vue +0 -199
  402. package/src/components/product/Bill/BillJLB.vue +0 -57
  403. package/src/components/product/Bill/BillJLBMakeInfo.vue +0 -37
  404. package/src/components/product/Bill/BillJLBRecordInfo.vue +0 -187
  405. package/src/components/product/Bill/BillKTK.vue +0 -57
  406. package/src/components/product/Bill/BillKTKMakeInfo.vue +0 -39
  407. package/src/components/product/Bill/BillKTKRecordInfo.vue +0 -193
  408. package/src/components/product/Bill/BillQRK.vue +0 -63
  409. package/src/components/product/Bill/BillQRKMakeInfo.vue +0 -79
  410. package/src/components/product/Bill/BillQRKRecordInfo.vue +0 -199
  411. package/src/components/product/Bill/BillSelect.vue +0 -66
  412. package/src/components/product/Bill/BillXSD.vue +0 -77
  413. package/src/components/product/Bill/BillXSDMakeInfo.vue +0 -206
  414. package/src/components/product/Bill/BillXSDRecordInfo.vue +0 -199
  415. package/src/components/product/Function/InstallInfoDown.vue +0 -78
  416. package/src/components/product/Function/functions/AddContract.vue +0 -256
  417. package/src/components/product/Function/functions/AllSelect.vue +0 -59
  418. package/src/components/product/Function/functions/InstallFee.vue +0 -661
  419. package/src/components/product/Function/functions/InstallFeeInfo.vue +0 -97
  420. package/src/components/product/Function/functions/PreparationFee.vue +0 -223
  421. package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
  422. package/src/components/product/Function/functions/ReduceFee.vue +0 -143
  423. package/src/components/product/Function/functions/UpdateFee.vue +0 -229
  424. package/src/components/product/Function/functions/material_recording.vue +0 -237
  425. package/src/components/product/ImageUpload.vue +0 -575
  426. package/src/components/product/ImageUpload1.vue +0 -623
  427. package/src/components/product/Process/FireSelect.vue +0 -424
  428. package/src/components/product/Process/FireShunt.vue +0 -142
  429. package/src/components/product/Process/InstallationHouse.vue +0 -142
  430. package/src/components/product/Process/InstallationSelect.vue +0 -437
  431. package/src/components/product/Process/ModifyUserFiles.vue +0 -460
  432. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -111
  433. package/src/components/product/Process/Processes/BatchItem.vue +0 -507
  434. package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +0 -251
  435. package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +0 -172
  436. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -773
  437. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -711
  438. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -298
  439. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -850
  440. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  441. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  442. package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2112
  443. package/src/components/product/Process/applymaterialManage.vue +0 -369
  444. package/src/components/product/Statistics/ApplyPaySearch/ApplyCheckBill.vue +0 -420
  445. package/src/components/product/Statistics/ApplyPaySearch/ApplyFinishSearch.vue +0 -365
  446. package/src/components/product/Statistics/ApplyPaySearch/ApplyPayBill4.vue +0 -582
  447. package/src/components/product/Statistics/ApplyPaySearch/ApplyPaySearch.vue +0 -363
  448. package/src/components/product/Statistics/ApplyPaySearch/MaterialSummary.vue +0 -373
  449. package/src/components/product/Statistics/ApplyStatisticsROOT.vue +0 -51
  450. package/src/components/product/Supervisory/SupervisoryBaseInfo.vue +0 -126
  451. package/src/components/product/VueUtils/ApplyAvatarUpload.vue +0 -125
  452. package/src/components/product/VueUtils/TabButton.vue +0 -149
  453. package/src/components/product/VueUtils/Tabs.vue +0 -67
  454. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -258
  455. package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +0 -77
  456. package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +0 -116
  457. package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +0 -77
  458. package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +0 -70
  459. package/src/components/product/material.vue +0 -32
@@ -1,630 +0,0 @@
1
- <template>
2
- <div class="col-sm-12 auto select-overspread">
3
- <div class="auto select-overspread">
4
- <div class="panel panel-info">
5
- <div class="panel-heading auto">
6
- <h3 class="panel-title">预付扣款</h3>
7
- </div>
8
- </div>
9
- </div>
10
-
11
- <span class="col-sm-1"></span><span class="col-sm-3">预付款总金额:{{sum}}元</span><span class="col-sm-3">预付款余额:{{subcost}}元</span>
12
- <button type="button" class="btn btn-warning col-sm-3 col-sm-offset-3" @click="add()">新增扣款</button>
13
- <div class="col-sm-12" style="height: auto">
14
- <div class="form-inline auto" style="margin-bottom: 5px;">
15
- </div>
16
- <div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 500px">
17
- <partial-view v-ref:single-load>
18
- <data-grid :model="model" v-ref:grid>
19
- <template partial='head'>
20
- <tr>
21
- <th>序号</th>
22
- <th>扣款金额(元)</th>
23
- <th>金额大写</th>
24
- <th>收费项</th>
25
- <th>缴费类型</th>
26
- <th>收费人员</th>
27
- <th>日期</th>
28
- <th>备注</th>
29
- <!--<th>操作</th>-->
30
- </tr>
31
- </template>
32
- <template partial='body'>
33
- <td style="text-align: center">{{$index+1}}</td>
34
- <td style="text-align: center">{{row.f_fee}}</td>
35
- <td style="text-align: center">{{row.f_capital}}</td>
36
- <td style="text-align: center">
37
- <nobr>{{row.f_charging_item}}</nobr>
38
- </td>
39
- <td style="text-align: center">{{row.f_payfee_way}}</td>
40
- <td style="text-align: center">{{row.f_operator}}</td>
41
- <td style="text-align: center">{{row.f_payfeedate}}</td>
42
- <td style="text-align: center">{{row.f_payfee_remarks}}</td>
43
- <!--<td class="flex-around">-->
44
- <!--&lt;!&ndash;<button type="button" name="button" class="btn btn-link"&ndash;&gt;-->
45
- <!--&lt;!&ndash;@click.stop="$parent.$parent.$parent.modifyParam(row,'修改')">修改&ndash;&gt;-->
46
- <!--&lt;!&ndash;</button>&ndash;&gt;-->
47
- <!--<button type="button" name="button" class="btn btn-link"-->
48
- <!--@click.stop="$parent.$parent.$parent.deleteItem(row)">删除-->
49
- <!--</button>-->
50
- <!--</td>-->
51
- </template>
52
- </data-grid>
53
- </partial-view>
54
- </div>
55
- </div>
56
-
57
- <!--<div class="form-group col-sm-12">-->
58
- <!--<div class="col-sm-2">-->
59
- <!--<label class="control-label col-sm-12">收费备注:</label>-->
60
- <!--</div>-->
61
- <!--<div class="col-sm-10">-->
62
- <!--<textarea class="form-control" rows="3" v-model="model.f_payfee_remarks"></textarea>-->
63
- <!--</div>-->
64
- <!--</div>-->
65
- <div class="form-group col-sm-12">
66
- <div class="col-sm-6">
67
- <label class="control-label col-sm-4">分公司:</label>
68
- <div class="col-sm-8">
69
- <input class="form-control" type="text" v-model="model.f_filiale" disabled>
70
- </div>
71
- </div>
72
- <div class="col-sm-6">
73
- <label class="control-label col-sm-4">操作日期:</label>
74
- <div class="col-sm-8">
75
- <input class="form-control" type="text" v-model="model.f_payfee_date" disabled>
76
- </div>
77
- </div>
78
- </div>
79
- <div class="form-group col-sm-12">
80
- <div class="col-sm-6">
81
- <label class="control-label col-sm-4">部门:</label>
82
- <div class="col-sm-8">
83
- <input class="form-control" type="text" v-model="model.f_payfee_department" disabled>
84
- </div>
85
- </div>
86
- <div class="col-sm-6">
87
- <label class="control-label col-sm-4">操作人:</label>
88
- <div class="col-sm-8">
89
- <input class="form-control" type="text" v-model="model.f_payfee_operator" disabled>
90
- </div>
91
- </div>
92
- </div>
93
- <!--<div class="from-group col-sm-12">-->
94
- <!--<center>-->
95
- <!--<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;"-->
96
- <!--:disabled="$v.invalid">-->
97
- <!--保存-->
98
- <!--</button>-->
99
- <!--<button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:50px;">-->
100
- <!--撤销-->
101
- <!--</button>-->
102
- <!--</center>-->
103
- <!--</div>-->
104
- <modal :show.sync="showpay" v-ref:modal backdrop="false">
105
- <header slot="modal-header" class="modal-header">
106
- <button type="button" class="close" @click="close"><span>&times;</span></button>
107
- <h4 class="modal-title">新增收费</h4>
108
- </header>
109
- <article slot="modal-body" class="modal-body">
110
- <div v-if="showpay">
111
- <validator name="validator">
112
- <div class="from-group">
113
- <label>总金额(元)</label>
114
- <input type="text" class="form-control" v-model="addItem.f_fee" readonly>
115
- </div>
116
- <div class="from-group">
117
- <label>总金额大写</label>
118
- <input type="text" class="form-control" v-model="getCapital" readonly>
119
- </div>
120
- <!--<div class="from-group">-->
121
- <!--<label>交费日期</label>-->
122
- <!--<div>-->
123
- <!--<datepicker width="600.76px;"-->
124
- <!--:value.sync="addItem.f_payfeedate"-->
125
- <!--:format="'yyyy-MM-dd'"-->
126
- <!--v-model="addItem.f_payfeedate" readonly="readonly"-->
127
- <!--:show-reset-button="reset">-->
128
- <!--</datepicker>-->
129
- <!--</div>-->
130
- <!--</div>-->
131
- <div class="from-group">
132
- <label>收费项 </label>
133
- <div>
134
- <label v-for="item in charging_item"><input type="checkbox"
135
- @change="checkedValue($index)"/>{{item.label}} </label>
136
- </div>
137
- </div>
138
- <div class="from-group" v-if="!infee.f_apply_type.includes('个人')">
139
- <label>缴费户数 :</label>
140
- <input type="text" v-model="addItem.f_pay_number">
141
- </div>
142
- <div class="from-group">
143
- <label>其它费用名称:</label>
144
- <input class="form-control" v-model="addItem.f_payfee_name">
145
- <div>
146
- <label>其它费用金额(元):</label>
147
- <input class="form-control" v-model="addItem.f_payfee_money">
148
- </div>
149
- </div>
150
- <div class="from-group">
151
- <label>缴费类型</label>
152
- <v-select :options="jiaofei"
153
- v-validate:addItem.f_payfee_way[0] v-model="addItem.f_payfee_way"
154
- :value.sync="addItem.f_payfee_way" close-on-select>
155
- </v-select>
156
- </div>
157
- </validator>
158
- </div>
159
- </article>
160
- <footer slot="modal-footer" class="modal-footer">
161
- <button v-show="showpay" type="button" class="btn btn-default" @click='close'>取消</button>
162
- <button v-show="showpay" type="button" class="btn btn-success" @click='confirm'>确认</button>
163
- </footer>
164
- </modal>
165
- <billxsd v-show="false" v-ref:billxsdx :billinfo="billinfo" :billselect="billselect" :info="info"></billxsd>
166
- </div>
167
- </template>
168
- <script>
169
- import {DataModel} from 'vue-client'
170
- import {HttpResetClass} from 'vue-client'
171
- import InputAndSelect from "vue-client/src/vue-strap/src/InputAndSelect";
172
- import * as Util from '../../../Util'
173
-
174
- let gen = function* (self, val) {
175
- val.f_actualfee_type = val.f_actualfee_type[0]
176
- val.f_bill_type = val.f_bill_type[0]
177
- yield self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_apply',parameters:val}})
178
- delete val.id
179
- self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_record',parameters:val}})
180
- .then(() => {
181
- self.reset()
182
- })
183
- }
184
- export default {
185
- components: {InputAndSelect},
186
- title: '报装收费',
187
- data() {
188
- return {
189
- f_billnumber: '',
190
- temp: [], // 票据信息
191
- billinfo: {}, // 票据信息
192
- number: {}, // 单值表获取的销售单编号信息
193
- sum: 0, // 总共预付款
194
- billinfo: null, // 打印票据准备
195
- billselect: {f_process_id:this.infee.f_process_id}, // 打印票据准备
196
- info: null, // 打印票据准备
197
- charging_item: [{label: '开户费', value: false},
198
- {label: '入户安装费', value: false},
199
- {label: '人工费', value: false},
200
- {label: '改管费', value: false},
201
- {label: '材料费', value: false},
202
- {label: '设备安装费', value: false}],
203
- showpay: false, // 新增收费模态框开关
204
- addItem: {
205
- f_fee: 0,
206
- f_pay_number: 1, // 缴费户数默认为1
207
- f_payfee_money: 0, // 其它费用
208
- }, // 模态框数据
209
- model: {
210
- f_payfee_operator: '',
211
- f_payfee_department: '',
212
- f_filiale: '',
213
- f_payfee_date: '',
214
- rows: [] // 付费数据数组
215
- }
216
- }
217
- },
218
- props: ['infee'],
219
- ready() {
220
- this.load() // 初始化数据
221
- this.model.f_payfee_operator = this.$login.f.name
222
- this.model.f_payfee_department = this.$login.f.f_parentname
223
- this.model.f_filiale = this.$login.f.f_fengongsi
224
- this.model.f_payfee_date = this.$login.toStandardDateString()
225
- },
226
- methods: {
227
- // 选中
228
- checkedValue(index) {
229
- this.charging_item[index].value = !this.charging_item[index].value
230
- if (this.charging_item[index].label === '开户费' && this.charging_item[index].value === true) {
231
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
232
- this.infee.f_account_cost = this.infee.f_account_cost ? this.infee.f_account_cost : 0
233
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number))
234
-
235
- // 加入到票据中
236
- let bill = {
237
- f_commodity_name: this.charging_item[index].label,
238
- f_price: this.infee.f_account_cost,
239
- f_quantity: this.addItem.f_pay_number,
240
- f_money: Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number),
241
- f_sale_money: Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number)
242
- }
243
- this.temp.push(bill)
244
- } else if (this.charging_item[index].label === '开户费' && this.charging_item[index].value === false) {
245
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number))
246
- this.temp.forEach((item, x) => {
247
- if (item.f_commodity_name === this.charging_item[index].label) {
248
- this.temp.splice(x, 1)
249
- }
250
- })
251
- }
252
- if (this.charging_item[index].label === '入户安装费' && this.charging_item[index].value === true) {
253
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
254
- this.infee.f_construction_cost = this.infee.f_construction_cost ? this.infee.f_construction_cost : 0
255
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number))
256
-
257
- // 加入到票据中
258
- let bill = {
259
- f_commodity_name: this.charging_item[index].label,
260
- f_price: this.infee.f_construction_cost,
261
- f_quantity: this.addItem.f_pay_number,
262
- f_money: Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number),
263
- f_sale_money: Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number)
264
- }
265
- this.temp.push(bill)
266
- } else if (this.charging_item[index].label === '入户安装费' && this.charging_item[index].value === false) {
267
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number))
268
- this.temp.forEach((item, x) => {
269
- if (item.f_commodity_name === this.charging_item[index].label) {
270
- this.temp.splice(x, 1)
271
- }
272
- })
273
- }
274
- if (this.charging_item[index].label === '材料费' && this.charging_item[index].value === true) {
275
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
276
- this.infee.f_material_cost = this.infee.f_material_cost ? this.infee.f_material_cost : 0
277
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number))
278
-
279
- // 加入到票据中
280
- let bill = {
281
- f_commodity_name: this.charging_item[index].label,
282
- f_price: this.infee.f_material_cost,
283
- f_quantity: this.addItem.f_pay_number,
284
- f_money: Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number),
285
- f_sale_money: Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number)
286
- }
287
- this.temp.push(bill)
288
- } else if (this.charging_item[index].label === '材料费' && this.charging_item[index].value === false) {
289
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number))
290
- this.temp.forEach((item, x) => {
291
- if (item.f_commodity_name === this.charging_item[index].label) {
292
- this.temp.splice(x, 1)
293
- }
294
- })
295
- }
296
- if (this.charging_item[index].label === '人工费' && this.charging_item[index].value === true) {
297
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
298
- this.infee.f_labor_cost = this.infee.f_labor_cost ? this.infee.f_labor_cost : 0
299
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number))
300
-
301
- // 加入到票据中
302
- let bill = {
303
- f_commodity_name: this.charging_item[index].label,
304
- f_price: this.infee.f_labor_cost,
305
- f_quantity: this.addItem.f_pay_number,
306
- f_money: Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number),
307
- f_sale_money: Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number)
308
- }
309
- this.temp.push(bill)
310
- } else if (this.charging_item[index].label === '人工费' && this.charging_item[index].value === false) {
311
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number))
312
- this.temp.forEach((item, x) => {
313
- if (item.f_commodity_name === this.charging_item[index].label) {
314
- this.temp.splice(x, 1)
315
- }
316
- })
317
- }
318
- if (this.charging_item[index].label === '改管费' && this.charging_item[index].value === true) {
319
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
320
- this.infee.f_change_pipeline_cost = this.infee.f_change_pipeline_cost ? this.infee.f_change_pipeline_cost : 0
321
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number))
322
-
323
- // 加入到票据中
324
- let bill = {
325
- f_commodity_name: this.charging_item[index].label,
326
- f_price: this.infee.f_change_pipeline_cost,
327
- f_quantity: this.addItem.f_pay_number,
328
- f_money: Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number),
329
- f_sale_money: Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number)
330
- }
331
- this.temp.push(bill)
332
- } else if (this.charging_item[index].label === '改管费' && this.charging_item[index].value === false) {
333
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number))
334
- this.temp.forEach((item, x) => {
335
- if (item.f_commodity_name === this.charging_item[index].label) {
336
- this.temp.splice(x, 1)
337
- }
338
- })
339
- }
340
- if (this.charging_item[index].label === '设备安装费' && this.charging_item[index].value === true) {
341
- this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
342
- this.infee.f_sbaz_cost = this.infee.f_sbaz_cost ? this.infee.f_sbaz_cost : 0
343
- this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number))
344
-
345
- // 加入到票据中
346
- let bill = {
347
- f_commodity_name: this.charging_item[index].label,
348
- f_price: this.infee.f_sbaz_cost,
349
- f_quantity: this.addItem.f_pay_number,
350
- f_money: Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number),
351
- f_sale_money: Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number)
352
- }
353
- this.temp.push(bill)
354
- } else if (this.charging_item[index].label === '设备安装费' && this.charging_item[index].value === false) {
355
- this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number))
356
- this.temp.forEach((item, x) => {
357
- if (item.f_commodity_name === this.charging_item[index].label) {
358
- this.temp.splice(x, 1)
359
- }
360
- })
361
- }
362
- },
363
- // 小写转换大写
364
- smalltoBIG(n) {
365
- let fraction = ['角', '分'];
366
- let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
367
- let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
368
- let head = n < 0 ? '欠' : '';
369
- n = Math.abs(n);
370
-
371
- let s = '';
372
-
373
- for (var i = 0; i < fraction.length; i++) {
374
- s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
375
- }
376
- s = s || '整';
377
- n = Math.floor(n);
378
-
379
- for (var i = 0; i < unit[0].length && n > 0; i++) {
380
- let p = '';
381
- for (var j = 0; j < unit[1].length && n > 0; j++) {
382
- p = digit[n % 10] + unit[1][j] + p;
383
- n = Math.floor(n / 10);
384
- }
385
- s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
386
- }
387
- return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
388
- }
389
- ,
390
- //新增收费 开启模态框
391
- add() {
392
- this.addItem.f_fee = 0
393
- this.showpay = true
394
- }
395
- ,
396
- // 关闭模态框
397
- close() {
398
- this.showpay = false
399
- this.addItem.f_fee = 0
400
- this.addItem.f_capital = ''
401
- this.addItem.f_payfee_name = ''
402
- this.addItem.f_payfee_money = 0
403
- this.addItem.f_pay_number = 1
404
- for (let i = 0; i < this.charging_item.length; i++) {
405
- this.charging_item[i].value = false
406
- }
407
- },
408
- // 处理数字,例如: 1 转换成 001
409
- handle() {
410
- while (this.number.value.length < 3) {
411
- this.number.value = '0' + this.number.value
412
- }
413
- },
414
- // 输入金额校验
415
- check(){
416
- let re = /^[+-]?\d+(\.\d+)?$/ //判断字符串是否为数字
417
- if (!re.test(this.addItem.f_payfee_money)){
418
- this.$showMessage("请输入数字")
419
- this.addItem.f_payfee_money=''
420
- return false
421
- }
422
- return true
423
- },
424
- // 模态框确定按钮保存数据
425
- async confirm() {
426
- if(this.check()===false){
427
- return
428
- }
429
- // 构造字符串
430
- let str = ''
431
- for (let i = 0; i < this.charging_item.length; i++) {
432
- if (this.charging_item[i].value === true) {
433
- str += this.charging_item[i].label
434
- str += ','
435
- }
436
- }
437
- // this.addItem.f_payfeedate = Util.toStandardDateString()
438
- this.addItem.f_charging_item = str.substring(0, str.length - 1) // 去掉最后一个逗号
439
- this.addItem.f_payfee_way = typeof this.addItem.f_payfee_way === 'object' ? this.addItem.f_payfee_way[0] : ''
440
- this.addItem.processid = this.infee.f_process_id
441
- this.addItem.applyid = this.infee.f_apply_num
442
- this.addItem.f_operator = this.$login.f.name
443
- this.addItem.f_department = this.$login.f.f_parentname
444
- this.addItem.f_filiale = this.$login.f.f_fengongsi
445
- this.addItem.f_fee = Number(this.addItem.f_fee)
446
-
447
- this.addItem.f_payfee_remarks = this.addItem.f_payfee_money ? '其它费用(' + this.addItem.f_payfee_name + '):' + this.addItem.f_payfee_money + '元' : ''
448
- // this.model.rows.push(this.addItem)
449
- let http = new HttpResetClass()
450
- await http.load('POST', 'rs/logic/saveentity', {data:{tablename:'t_paydetail',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: "添加失败"})
451
-
452
- // 组织数据打印票据
453
- let http2 = new HttpResetClass()
454
- let data2 = {
455
- tablename: 't_singlevalue',
456
- condition: `name = '销售单编号'`
457
- }
458
- let res2 = await http2.load('POST', 'rs/sql/singleTable', {data: data2}, {
459
- resolveMsg: null,
460
- rejectMsg: "获取销售单编号失败"
461
- }, {silent: true})
462
- this.number = res2.data[0]
463
- this.handle()
464
- // let temp = {}
465
- // let data = {
466
- // condition: '1=1',
467
- // this.billinfo= {
468
- // f_billnumber: 'XS-' + Util.toStandardDateString2() + '-' + this.number.value,
469
- // f_date: Util.toStandardDateString(),
470
- // f_remark: ' ',
471
- // f_username: this.$login.f.name
472
- // },
473
- this.$refs.billxsdx.billinfo = {
474
- f_billnumber: 'XS-' + Util.toStandardDateString2() + '-' + this.number.value,
475
- f_date: Util.toStandardDateString(),
476
- f_remark: ' ',
477
- f_username: this.$login.f.name
478
- }
479
- this.f_billnumber = 'XS-' + Util.toStandardDateString2() + '-' + this.number.value
480
- this.$refs.billxsdx.info = this.temp
481
- // }
482
- // }
483
- this.$refs.billxsdx.load()
484
- setTimeout(()=>{
485
- this.$refs.billxsdx.billprint()
486
- },5000)
487
- // t_pay
488
- // http = new HttpResetClass()
489
- // await http.load('POST', 'rs/logic/insertpaydipetail', this.addItem, {resolveMsg: null, rejectMsg: "添加失败"})
490
-
491
- // let bill = await new DataModel('rs/report/xiaoshoudan', {data})
492
- // http = new HttpResetClass()
493
- // await http.load('POST', 'rs/report/xiaoshoudan', data, {resolveMsg: null, rejectMsg: "票据打印失败"})
494
-
495
- this.updateNumber()
496
- this.close()
497
- this.load()
498
- },
499
- // 更新 单据编号
500
- async updateNumber() {
501
- let http = new HttpResetClass()
502
- this.number.value = String(Number(this.number.value) + 1)
503
- await http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {
504
- resolveMsg: null,
505
- rejectMsg: "存储销售单编号失败"
506
- })
507
- http = new HttpResetClass()
508
- let billinfo = Object.assign({}, this.infee, this.temp)
509
- delete billinfo.id
510
- // 票据类型
511
- billinfo.f_bill_type = '销售单'
512
- billinfo.f_billnumber = this.f_billnumber
513
- billinfo.f_date = Util.toStandardDateString(),
514
- billinfo.f_username = this.$login.f.name
515
- billinfo.f_remark = ' '
516
- for(let i = 0;i<this.temp.length;i++){
517
- this.temp[i].f_sale_money=String(this.temp[i].f_sale_money)
518
- }
519
- let data = {
520
- billinfo: billinfo,
521
- array: this.temp
522
- }
523
- await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: "票据记录存储失败"})
524
- }
525
- ,
526
- // 获取数据
527
- async load() {
528
- let http = new HttpResetClass()
529
- let data = {
530
- columnname: 'f_preparation_fee',
531
- tablename: 't_preparationfee',
532
- condition: `processid = '${this.infee.f_process_id}'`
533
- }
534
- let res = await
535
- http.load('POST', 'rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '获取总金额失败'})
536
- this.sum = Math.round(res.data[0].f_preparation_fee * 100) / 100;
537
- data = {
538
- tablename: 't_paydetail',
539
- condition: `processid = '${this.infee.f_process_id}'`
540
- }
541
-
542
- res = await
543
- http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取付款数据失败'})
544
- // 去除付款时间的时分秒
545
- for (var i = 0; i < res.data.length; i++) {
546
- res.data[i].f_payfeedate = res.data[i].f_payfeedate.substring(0, 11)
547
- }
548
- this.model.rows = res.data
549
- }
550
- ,
551
- }
552
- ,
553
- watch: {
554
- 'addItem.f_pay_number'() {
555
- let sum = 0
556
- this.charging_item.forEach((item) => {
557
- if (item.value == true) {
558
- if (item.label === '开户费') {
559
- sum += Number(this.infee.f_account_cost)
560
- }
561
- if (item.label === '入户安装费') {
562
- sum += Number(this.infee.f_construction_cost)
563
- }
564
- if (item.label === '材料费') {
565
- sum += Number(this.infee.f_material_cost)
566
- }
567
- if (item.label === '人工费') {
568
- sum += Number(this.infee.f_labor_cost)
569
- }
570
- if (item.label === '改管费') {
571
- sum += Number(this.infee.f_change_pipeline_cost)
572
- }
573
- if (item.label === '设备安装费') {
574
- sum += Number(this.infee.f_sbaz_cost)
575
- }
576
- }
577
- })
578
- if (this.addItem.f_pay_number) {
579
- this.addItem.f_fee = (Number(sum) * Number(this.addItem.f_pay_number)) + Number(this.addItem.f_payfee_money)
580
- } else {
581
- this.addItem.f_fee = Number(sum) + Number(this.addItem.f_payfee_money)
582
- }
583
-
584
- }
585
- ,
586
- 'addItem.f_payfee_money'(new_v, old_v) {
587
- if (old_v && !isNaN(Number(old_v))) {
588
- this.addItem.f_fee = Number(this.addItem.f_fee) - Number(old_v)
589
- }
590
- if (new_v && !isNaN(Number(new_v))) {
591
- this.addItem.f_fee = Number(this.addItem.f_fee) + Number(new_v)
592
- }
593
- }
594
- }
595
- ,
596
- computed: {
597
- // 计算大写
598
- getCapital() {
599
- if (this.addItem.f_fee) {
600
- this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_fee))
601
- }
602
- return this.addItem.f_capital
603
- },
604
- subcost() {
605
- let temp = this.sum;
606
- for (var i = 0; i < this.model.rows.length; i++) {
607
- temp = Number(temp) - Number(this.model.rows[i].f_fee)
608
- }
609
- return temp
610
- },
611
- // totalcost () {
612
- // this.model.f_total_cost = Number(this.model.f_construction_cost) + Number(this.model.f_material_cost)
613
- // + Number(this.model.f_labor_cost) + Number(this.model.f_change_pipeline_cost)
614
- // + Number(this.model.f_sbaz_cost) - Number(this.model.f_jmhj_cost)
615
- // return this.model.f_total_cost
616
- // },
617
- feeoptions() {
618
- return this.$appdata.getParam('费用类型')
619
- }
620
- ,
621
- dayin() {
622
- return this.$appdata.getParam('打印格式')
623
- }
624
- ,
625
- jiaofei() {
626
- return this.$appdata.getParam('缴费类型')
627
- }
628
- }
629
- }
630
- </script>