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,850 +0,0 @@
1
- <template>
2
- <div class="flex">
3
- <div class="form-inline auto" style="margin-bottom: 5px;">
4
- <form novalidate class="" partial>
5
- <div class="col-sm-10">
6
-
7
- <div class="col-sm-2">
8
- <div class="col-sm-10">
9
- <input type="text" class="form-control" v-model="f_material_operator" v-on:keyup.enter="search"
10
- condition="f_user_name like '{}%'" placeholder="操作人">
11
- </div>
12
- </div>
13
-
14
- <div class="col-sm-1">
15
-
16
- </div>
17
-
18
-
19
- <div class="col-sm-2 ">
20
- <div class="col-sm-11 pull-right" >
21
- <v-select :options="f_effective_state" placeholder='有效状态' condition="f_user_type like '{}%'"
22
- v-model="f_effective_stated" :value.sync="f_effective_stated" close-on-select>
23
- </v-select>
24
- </div>
25
- </div>
26
- <div class="col-sm-2">
27
- <div class="col-sm-11">
28
- <v-select :options="f_picking_state" placeholder='领料状态' condition="f_user_type like '{}%'"
29
- v-model="f_picking_stated" :value.sync="f_picking_stated" close-on-select>
30
- </v-select>
31
- </div>
32
- </div>
33
-
34
- <div class="col-sm-1">
35
- <center>
36
- <div class="col-sm-12 pull-right">
37
- <button type="button" class="btn btn-primary" @click="filterParams(f_material_operator,f_effective_stated,f_picking_stated)">查询</button>
38
- </div>
39
-
40
- </center>
41
- </div>
42
- <!--<div class="col-sm-1">-->
43
- <!--<center>-->
44
-
45
- <!--<div class="col-sm-12 pull-right">-->
46
- <!--<button type="button" class="btn btn-warning add-postition" @click="impexcel()" v-show="edit">导入</button>-->
47
- <!--</div>-->
48
- <!--</center>-->
49
- <!--</div>-->
50
- </div>
51
- </form>
52
-
53
- <!-- <button type="button" class="btn btn-primary" @click="filterParams(param)">查询</button>-->
54
- <!--<button type="button" class="btn btn-warning" @click="add()" v-show="edit">新增</button>-->
55
- <!-- <div class="form-inline" style="float: right">
56
- <button type="button" class="btn btn-warning add-postition" @click="impexcel()" v-show="edit">导入</button>
57
- </div>-->
58
- <div class="col-sm-12 span recordTable " style="margin-top: 10px;min-height: 80px;max-height:200px;">
59
- <partial-view v-ref:single-load>
60
- <data-grid :model="model" v-ref:grid>
61
- <template partial='head'>
62
- <tr>
63
- <th>序号</th>
64
- <th>有效状态</th>
65
- <th>领料状态</th>
66
- <th>报建编号</th>
67
- <th>批次操作人</th>
68
- <th>导入时间</th>
69
- <!--<th >操作</th>-->
70
- </tr>
71
- </template>
72
- <template partial='body' >
73
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{$index+1}}</td>
74
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_effective_state}}</td>
75
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_picking_state}}</td>
76
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_apply_num}}</td>
77
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_material_operator}}</td>
78
- <td @click="$parent.$parent.$parent.showdetail(row.id,$index)">{{row.f_batch_importdate}}</td>
79
-
80
- <!--<td>{{row.f_remarks}}</td>-->
81
- <!--<td v-show="edit"><input type="checkbox" v-model="row.f_pay" @click="$parent.$parent.$parent.paychange(row)"/></td>-->
82
- <!--<td class="flex-around">-->
83
- <!--<button type="button" name="button" class="btn btn-link"-->
84
- <!--@click.stop="$parent.$parent.$parent.tovoid(row)">作废-->
85
- <!--</button>-->
86
- <!---->
87
- <!--</td>-->
88
- </template>
89
- </data-grid>
90
-
91
- </partial-view>
92
- </div>
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
- <div class="col-sm-12 span recordTable " style="margin-top: 10px;min-height: 100px;max-height:300px;" v-if="isShowdetail" >
104
- <p>材料清单
105
- <button type="button" class="close" @click="isShowdetail=false" aria-hidden="true">&times;</button>
106
- </p>
107
- <partial-view v-ref:single-load>
108
- <data-grid :model="batchmodel" v-ref:batchgrid>
109
- <template partial='head'>
110
- <tr>
111
- <th>序号</th>
112
- <th>材料名称</th>
113
- <th>材料类型</th>
114
- <th>材料编码</th>
115
- <th>材料规格</th>
116
- <th>预算数量</th>
117
- <th>累计领取数量</th>
118
- <th>剩余数量</th>
119
- <th>材料单位</th>
120
- <th >领取</th>
121
- <!--<th >操作</th>-->
122
- </tr>
123
- </template>
124
- <template partial='body'style="min-height: 100px;max-height:200px;">
125
- <td>{{$index+1}}</td>
126
- <td>{{row.f_batch_name}}</td>
127
- <td>{{row.f_batch_type}}</td>
128
- <td>{{row.f_batch_code}}</td>
129
- <td>{{row.f_batch_norms}}</td>
130
- <td>{{row.f_budget_num}}</td>
131
- <td>{{row.f_add_receive}}</td>
132
- <td>{{row.f_surplus_num}}</td>
133
- <td>{{row.f_batch_company}}</td>
134
- <!--<td>{{row.f_remarks}}</td>-->
135
- <!--<td v-show="edit"><input type="checkbox" v-model="row.f_pay" @click="$parent.$parent.$parent.paychange(row)"/></td>-->
136
- <td><input type="text" class="form-control" :placeholder=row.f_surplus_num v-model="row.f_receive_num"/></td>
137
- <!--<td class="flex-around">-->
138
- <!--<button type="button" name="button" class="btn btn-link"-->
139
- <!--@click.stop="$parent.$parent.$parent.receiveBatch(row)">领取-->
140
- <!--</button>-->
141
- <!---->
142
- <!--</td>-->
143
- </template>
144
- </data-grid>
145
-
146
- </partial-view>
147
- </div>
148
-
149
-
150
-
151
- <div class="from-group col-sm-11" v-show="edit">
152
- <center>
153
- <!-- <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" >
154
- 保存
155
- </button>-->
156
- <button type="button" @click="commit()" class="btn btn-primary" style="width:80px; margin-left:40px;">
157
- 提交
158
- </button>
159
- <button type="button" @click="lowerhair()" class="btn btn-primary" style="width:80px; margin-left:40px;">
160
- 下发
161
- </button>
162
- <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
163
- 取消
164
- </button>
165
- </center>
166
- </div>
167
- </div>
168
-
169
- <modal :show.sync="show" v-ref:modal backdrop="false">
170
- <header slot="modal-header" class="modal-header">
171
- <button type="button" class="close" @click="close"><span>&times;</span></button>
172
- <h4 class="modal-title">配置</h4>
173
- </header>
174
- <article slot="modal-body" class="modal-body">
175
- <!-- <div class="from-group">
176
- <label>材料类型</label>
177
- <input-select class="input-select" :value.sync="selectItem.f_batch_type" v-model="selectItem.f_batch_type"
178
- v-ref:customertype
179
- :options='fmaterialtype'
180
- @change="fmaterialnames"
181
- close-on-select></input-select>
182
- </div>
183
- <div class="from-group">
184
- <label>材料名称</label>
185
- <input-select class="input-select" :value.sync="selectItem.f_batch_name" v-model="selectItem.f_batch_name"
186
- v-ref:customertype
187
- :options='fmaterialname'
188
- @change="fmaterialspecs"
189
- close-on-select></input-select>
190
- </div>
191
- <div class="from-group">
192
- <label>材料规格</label>
193
- <input-select class="input-select" :value.sync="selectItem.f_batch_norms" v-model="selectItem.f_batch_norms"
194
- v-ref:customertype
195
- :options='fmaterialspec'
196
- @change="fprice"
197
- close-on-select></input-select>
198
- </div>
199
- <div class="from-group">
200
- <label>材料单位</label>
201
- <input-select class="input-select" :value.sync="selectItem.f_batch_company" v-model="selectItem.f_batch_company"
202
- v-ref:customertype
203
- :options='fmaterialprice'
204
- close-on-select></input-select>
205
- </div>
206
- <div class="from-group">
207
- <label>材料编码</label>
208
- <input-select class="input-select" :value.sync="selectItem.f_batch_code" v-model="selectItem.f_batch_code"
209
- v-ref:customertype
210
- :options='fmaterialprice'
211
- close-on-select></input-select>
212
- <input type="text" class="form-control" v-model="selectItem.f_price">
213
- </div>
214
- -->
215
- <div class="from-group">
216
- <label>材料类型</label>
217
- <input type="text" class="form-control" v-model="selectItem.f_batch_type">
218
- </div>
219
- <div class="from-group">
220
- <label>材料名称</label>
221
- <input type="text" class="form-control" v-model="selectItem.f_batch_name">
222
- </div>
223
- <div class="from-group">
224
- <label>材料规格</label>
225
- <input type="text" class="form-control" v-model="selectItem.f_batch_norms">
226
- </div><div class="from-group">
227
- <label>材料单位</label>
228
- <input type="text" class="form-control" v-model="selectItem.f_batch_company">
229
- </div>
230
- <div class="from-group">
231
- <label>材料编码</label>
232
- <input type="text" class="form-control" v-model="selectItem.f_batch_code">
233
- </div>
234
-
235
- <div class="from-group">
236
- <label>材料数量</label>
237
- <input type="text" class="form-control" v-model="selectItem.f_budget_num">
238
- </div>
239
- </article>
240
- <footer slot="modal-footer" class="modal-footer">
241
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
242
- <button v-show="show" type="button" class="btn btn-success" @click='confirm'>确认</button>
243
- </footer>
244
- </modal>
245
- <modal :show.sync="isShow" v-ref:modal backdrop="false">
246
- <header slot="modal-header" class="modal-header">
247
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
248
- <h4 class="modal-title">材料导入</h4>
249
- </header>
250
- <article slot="modal-body" class="modal-body">
251
- <div class="form-group">
252
- <file-upload class="my-file-uploader" name="materialExcel"
253
- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
254
- </div>
255
- </article>
256
-
257
- <footer slot="modal-footer" class="modal-footer"></footer>
258
- </modal>
259
- </div>
260
- </template>
261
-
262
- <script>
263
- import {HttpResetClass} from 'vue-client'
264
- import co from 'co'
265
- let getInfo = async function (self,isbatchdetail,batchid) {
266
- if (!self.selectdata)
267
- return
268
-
269
-
270
-
271
- /* let reset = new HttpResetClass()*/
272
- if (isbatchdetail==1){
273
- let data = {
274
- tablename: 't_material_list',
275
- condition: `f_apply_num = '${self.selectdata.f_apply_num}' and f_batch_id ='${batchid}' `
276
- }
277
- let reset = new HttpResetClass()
278
- await reset.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料信息失败'})
279
- .then((res) => {
280
- console.log('查询完毕')
281
- self.batchmodel.rows = []
282
- self.batchmodel.rows = res.data
283
-
284
- // 备份用于查询
285
- /* self.params = res.data*/
286
- if (self.istoVoidBatch){
287
- console.log('进入istovoidBatch')
288
- let num=0
289
- for (var i = 0; i < self.batchmodel.rows.length; i++) {
290
- num+=self.batchmodel.rows[i].f_add_receive
291
- console.log(i+'f_add_receive'+self.batchmodel.rows[i].f_add_receive)
292
- }
293
- if (num>0){
294
- self.$showMessage('累计领取数量大于0,不能作废!')
295
- }else{
296
- self.$showMessage('作废后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
297
- if (res === 'confirm') {
298
- self.$resetpost('rs/logic/tovoidbatch',{id: row.id}).then((res) => {
299
- getInfo(self,0,0)
300
- })
301
- }
302
- })
303
- }
304
- this.istoVoidBatch=false
305
- }
306
-
307
- })
308
-
309
- } else{
310
-
311
- let data = {
312
- tablename: 't_material_batch',
313
- condition: `f_apply_num = '${self.selectdata.f_apply_num}' `
314
- }
315
- let reset = new HttpResetClass()
316
- await reset.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取材料信息失败'})
317
- .then((res) => {
318
- self.model.rows = []
319
- self.model.rows = res.data
320
- self.params = res.data
321
- })
322
-
323
- }
324
-
325
-
326
-
327
-
328
- }
329
-
330
-
331
- let gen = function* (self, val) {
332
- // let falmodel=[{
333
- // f_effective_state:'有效'
334
- // }]
335
- // let data = {
336
- // tablename: 't_apply',
337
- // parameters: falmodel
338
- // }R
339
- // yield self.$resetpost('rs/logic/save', {data: data})
340
- let data = {
341
- model: {
342
- f_processid: self.selectdata.f_process_id,
343
- },
344
- loginUser: {
345
- id: self.$login.f.id,
346
- name: self.$login.f.name,
347
- ename: self.$login.f.ename
348
- },
349
- employeetemplate: self.employeetemplate,// 指派勘察人员
350
- subdep: '提交'
351
- }
352
- console.log('提交前')
353
- self.$resetpost(`rs/logic/grantnext`,
354
- {data: data})
355
- .then(() => {
356
- self.reset()
357
- })
358
- }
359
- export default {
360
- title: '材料信息',
361
- props: ['selectdata','edit'],
362
- data() {
363
- return {
364
- fmaterialtype: [],
365
- fmaterialname: [],
366
- fmaterialspec: [],
367
- fmaterialprice: [],
368
- headers: {'username': this.$login.f.name, 'blodid': this.selectdata.f_process_id,'fusetype':'报建execl导入材料'},
369
- params: null,
370
- record: {},
371
- selectItem: {},
372
- model: {
373
- rows: []
374
- },
375
- istoVoidBatch:false,
376
- f_material_operator:'',
377
- f_picking_stated: '',
378
- f_effective_stated:'',
379
- f_picking_state:[
380
- {label: '未领完', value: '未领完'},
381
- {label:'已领完', value: '已领完'},
382
- {label:'全部', value: ''}
383
- ],
384
- f_effective_state:[
385
- {label: '有效', value: '有效'},
386
- {label:'无效', value: '无效'},
387
- {label:'全部', value: ''}
388
- ],
389
- batchmodel:{
390
- rows:[]
391
- },
392
- show: false,
393
- isShow: false,
394
- isShowdetail:false,
395
- batchindex:0
396
- }
397
- },
398
- async ready() {
399
- this.load()
400
- getInfo(this,0,0)
401
- },
402
- watch: {
403
- 'selectdata.f_process_id'() {
404
- this.headers.blodid = this.selectdata.f_process_id
405
- getInfo(this,0,0)
406
- },
407
- deep:true
408
- },
409
- computed: {
410
- async fprice(){
411
- if(this.selectItem.f_material_type && this.selectItem.f_material_name && this.selectItem.f_material_spec){
412
- this.fmaterialprice = []
413
- let http = new HttpResetClass()
414
- let data = {
415
- columnname: 'f_price',
416
- tablename: 't_material',
417
- condition: `f_material_type = '${this.selectItem.f_material_type}' and f_material_name = '${this.selectItem.f_material_name}' and f_material_spec = '${this.selectItem.f_material_spec}' ORDER BY f_price desc`
418
- }
419
- let res = await http.load('POST', 'rs/sql/getdistinct', {data: data}, {
420
- resolveMsg: null,
421
- rejectMsg: "获取f_material_type失败"
422
- }, {silent: true})
423
- res.data.forEach((row) => {
424
- let temp = {
425
- label: row.f_price,
426
- value: row.f_price
427
- }
428
- this.fmaterialprice.push(temp)
429
- })
430
- }
431
- },
432
- async fmaterialnames() {
433
- if (this.selectItem.f_material_type) {
434
- this.fmaterialname = []
435
- let f_material_type = this.selectItem.f_material_type
436
- let http = new HttpResetClass()
437
- let data = {
438
- columnname: 'f_material_name',
439
- tablename: 't_material',
440
- condition: `f_material_type = '${f_material_type}'`
441
- }
442
- let res = await http.load('POST', 'rs/sql/getdistinct', {data: data}, {
443
- resolveMsg: null,
444
- rejectMsg: "获取f_material_name失败"
445
- }, {silent: true})
446
- res.data.forEach((row) => {
447
- let temp = {
448
- label: row.f_material_name,
449
- value: row.f_material_name
450
- }
451
- this.fmaterialname.push(temp)
452
- })
453
- }
454
- },
455
- async fmaterialspecs() {
456
- if (this.selectItem.f_material_name) {
457
- this.fmaterialspec = []
458
- let f_material_name = this.selectItem.f_material_name
459
- let http = new HttpResetClass()
460
- let data = {
461
- columnname: 'f_material_spec',
462
- tablename: 't_material',
463
- condition: `f_material_name = '${f_material_name}'`
464
- }
465
- let res = await http.load('POST', 'rs/sql/getdistinct', {data: data}, {
466
- resolveMsg: null,
467
- rejectMsg: "获取f_material_spec失败"
468
- }, {silent: true})
469
- res.data.forEach((row) => {
470
- let temp = {
471
- label: row.f_material_spec,
472
- value: row.f_material_spec
473
- }
474
- this.fmaterialspec.push(temp)
475
- })
476
- }
477
- }
478
- },
479
- methods: {
480
- // 父组件更新子组件属性
481
- updateData(val) {
482
- this.headers.blodid = val.f_process_id
483
- this.selectdata = val
484
- },
485
- showdetail(val,index) {
486
- console.log(val)
487
- this.isShowdetail=true
488
- getInfo(this,1,val)
489
- this.batchindex=index
490
- },
491
- async load(){
492
- let http = new HttpResetClass()
493
- let data = {
494
- columnname: 'f_material_type',
495
- tablename: 't_material',
496
- condition: `1=1`
497
- }
498
- let res = await http.load('POST', 'rs/sql/getdistinct', {data: data}, {
499
- resolveMsg: null,
500
- rejectMsg: null
501
- }, {silent: true})
502
- res.data.forEach((row) => {
503
- let temp = {
504
- label: row.f_material_type,
505
- value: row.f_material_type
506
- }
507
- this.fmaterialtype.push(temp)
508
- })
509
- },
510
-
511
- commit() {
512
- console.log("edit>>>>>",)
513
- //判断当前节点的状态(开始活动/完工)
514
- var entryName = this.model.f_entry_name //项目名称
515
- var ename = this.selectdata.f_entry_name
516
- this.$resetpost('rs/sql/findProcessState', {data: {actid:this.selectdata.actid}}, {
517
- resolveMsg: null,
518
- rejectMsg: '提交错误!'
519
- }).then((res) => {
520
- if (res.data[0].state != '开始活动') {
521
- this.$showMessage("该节点信息已在别处提交,请刷新!")
522
- this.reset()
523
- } else {
524
- //通过数据校验再进行下一步判断
525
- if (this.verification()) {
526
- if(name == null){
527
- //项目名称唯一性判断
528
- this.$resetpost('rs/sql/findByEntryName', {data: {entryName: entryName}}, {
529
- resolveMsg: null,
530
- rejectMsg: '提交错误!'
531
- }).then((res) => {
532
- if (res.data.length > 0) {
533
- console.log('length>0')
534
- this.$showMessage("项目名称不能重复!")
535
- } else {
536
- console.log('length<=0')
537
- let getGen = gen(this, this.model)
538
- console.log('getgen')
539
- co(getGen)
540
- console.log('co(getgen)')
541
- }
542
- })
543
- }else{
544
- let getGen = gen(this, this.model)
545
- co(getGen)
546
- }
547
- }
548
- }
549
- })
550
- },
551
-
552
- lowerhair() {
553
- let greater=true//判断领取数量不能大于剩余数量
554
- let isPicking=true
555
- if (this.batchmodel.rows.length<=0){
556
- this.$showMessage('请选择具体批次进行领料!')
557
- }else{
558
- for (var i = 0; i < this.batchmodel.rows.length; i++) {
559
- // console.log('第'+i+'条的值为:'+this.batchmodel.rows[i].f_receive_num)
560
-
561
- if (this.batchmodel.rows[i].f_surplus_num<this.batchmodel.rows[i].f_receive_num) {
562
- greater=false
563
- this.$showMessage('领取数量不能大于剩余数量')
564
- break
565
- }
566
- this.batchmodel.rows[i].f_receipt_num=Number(this.batchmodel.rows[i].f_receive_num)
567
- this.batchmodel.rows[i].f_detail_operator=this.$login.f.name
568
- this.batchmodel.rows[i].f_add_receive=this.accAdd(Number(this.batchmodel.rows[i].f_add_receive),Number(this.batchmodel.rows[i].f_receive_num))
569
- if (this.batchmodel.rows[i].f_budget_num<this.batchmodel.rows[i].f_add_receive) {
570
- this.batchmodel.rows[i].f_surplus_num=0
571
- }else{
572
- this.batchmodel.rows[i].f_surplus_num=this.accSub(Number(this.batchmodel.rows[i].f_budget_num),Number(this.batchmodel.rows[i].f_add_receive))
573
- }
574
- this.batchmodel.rows[i].f_receive_num= this.batchmodel.rows[i].f_surplus_num
575
-
576
- if ( this.batchmodel.rows[i].f_surplus_num !=0){
577
- isPicking=false
578
- }
579
-
580
- }
581
- if (isPicking) {
582
- this.model.rows[this.batchindex].f_picking_state='已领完'
583
- }
584
-
585
-
586
- if (greater){
587
- let data = {
588
- f_batch_id:this.model.rows[this.batchindex].id,
589
- f_apply_num:this.model.rows[this.batchindex].f_apply_num,
590
- processid:this.model.rows[this.batchindex].processid,
591
- f_filiale:this.model.rows[this.batchindex].f_filiale,
592
- f_parentname:this.model.rows[this.batchindex].f_parentname,
593
- f_sheet_operator:this.$login.f.name,
594
- f_picking_state:this.model.rows[this.batchindex].f_picking_state,
595
- batchmodel:this.batchmodel.rows
596
-
597
- }
598
- this.$resetpost('rs/logic/receipt_batch', data,{resolveMsg: '下发成功', rejectMsg: '下发失败'}).then((res) => {
599
- getInfo(this,0,0)
600
-
601
- })
602
-
603
- }
604
-
605
- }
606
-
607
-
608
- },
609
- accSub(arg1, arg2) {
610
- var r1, r2, m, n;
611
- try { r1 = arg1.toString().split(".")[1].length } catch (e) { r1 = 0 }
612
- try { r2 = arg2.toString().split(".")[1].length } catch (e) { r2 = 0 }
613
- m = Math.pow(10, Math.max(r1, r2));
614
- //last modify by deeka
615
- //动态控制精度长度
616
- n = (r1 >= r2) ? r1 : r2;
617
- return ((arg1 * m - arg2 * m) / m).toFixed(n);
618
- },
619
- reset() {
620
- this.$dispatch('close')
621
- this.$dispatch('selfsearch')
622
- },
623
- accAdd(arg1,arg2){
624
- var r1,r2,m;
625
- try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0}
626
- try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0}
627
- m=Math.pow(10,Math.max(r1,r2))
628
- return (arg1*m+arg2*m)/m
629
- },
630
-
631
- //数据校验
632
- verification() {
633
- /* var isNum = /^(([+]?\d*$)|(^[+]?\d+(\.\d+)?$))/ //非负纯数字
634
- var regex = /.*?[\u4e00-\u9fa5].*?[\u4e00-\u9fa5].*!/ //至少两个汉字
635
- var phoneReg = /^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/ //手机号码正则
636
- var telReg = /0\d{2,3}-\d{7,8}/ //座机正则
637
- if (!this.model.f_entry_name) {
638
- this.$showMessage("项目名称不能为空!")
639
- return false
640
- }*/
641
- return true
642
- },
643
- impexcel() {
644
- this.isShow = true
645
- },
646
- closeFile() {
647
- this.isShow = false
648
- // 将选的文件清空
649
- this.$refs.file.$el.querySelector('input').value = ''
650
- },
651
- // deleteItem(row) {
652
- // this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
653
- // if (res === 'confirm') {
654
- // this.$resetpost('rs/logic/deletebatch', { id: row.id}).then((res) => {
655
- // getInfo(this,0,0)
656
- //
657
- // })
658
- // }
659
- // })
660
- // },
661
- tovoid(row) {
662
- console.log('作废')
663
- if (row.f_effective_state==='有效'){
664
- this.istoVoidBatch=true
665
- getInfo(this,1,row.id)
666
-
667
-
668
-
669
-
670
- }else{
671
- this.$showMessage('此批次不是有效状态,不能作废!')
672
- }
673
-
674
- },
675
- filterParams(f_material_operator,f_effective_stated,f_picking_stated) {
676
- if ((f_material_operator && f_material_operator !== "")||
677
- (f_picking_stated && f_picking_stated !== "")&&(f_effective_stated && f_effective_stated !== "")) {
678
- let temp = []
679
- for (var i = 0; i < this.params.length; i++) {
680
- this.model.rows = this.params
681
- if (this.model.rows[i].f_material_operator.includes(f_material_operator)
682
- &&this.model.rows[i].f_effective_state.includes(f_effective_stated)&&
683
- this.model.rows[i].f_picking_state.includes(f_picking_stated)
684
- ) {
685
- temp.push(this.model.rows[i])
686
- }
687
- }
688
-
689
- this.model.rows=[]
690
- this.model.rows = temp
691
- } else {
692
- this.model.rows = this.params
693
- }
694
- },
695
- add() {
696
- this.show = true
697
- },
698
- // 修改按钮
699
- modifyParam(row) {
700
- this.$set('selectItem.id', row.id)
701
- this.$set('selectItem.f_batch_id', row.f_batch_id)
702
- this.$set('selectItem.f_revenue_id', row.f_revenue_id)
703
- this.$set('selectItem.f_budget_num', row.f_budget_num)
704
- this.$set('selectItem.f_surplus_num', row.f_surplus_num)
705
- this.$set('selectItem.f_batch_type', row.f_batch_type)
706
- this.$set('selectItem.f_batch_code', row.f_batch_code)
707
- this.$set('selectItem.f_batch_name', row.f_batch_name)
708
- this.$set('selectItem.f_batch_norms', row.f_batch_norms)
709
- this.$set('selectItem.f_batch_company', row.f_batch_company)
710
- this.$set('selectItem.f_apply_num', row.f_apply_num)
711
- this.$set('selectItem.f_filiale', row.f_filiale)
712
- this.$set('selectItem.f_parentname', row.f_parentname)
713
- this.$set('selectItem.f_material_operator', row.f_material_operator)
714
- this.$set('selectItem.f_batch_importdate', row.f_batch_importdate)
715
-
716
- this.show = true
717
-
718
- },
719
- receiveBatch(row) {
720
- console.log(row.f_receive_num)
721
- },
722
- // 缴费情况修改
723
- paychange(row) {
724
- let http = new HttpResetClass()
725
- row.f_pay=!row.f_pay
726
- http.load('POST','rs/logic/saveentity', {data:{tablename:'t_material',parameters:row}}, {
727
- resolveMsg: null,
728
- rejectMsg: "缴费状态更新失败"
729
- }, {silent: true})
730
- },
731
- confirm() {
732
- /* // 无主键为插入
733
- if (!this.selectItem.f_uuuid) {
734
- this.selectItem.f_type = '报建'
735
- this.selectItem.f_uuuid = this.selectdata.f_process_id
736
- let data = {
737
- tablename: 't_material',
738
- parameters: this.selectItem
739
- }
740
- this.$resetpost('rs/logic/save', {data: data}).then((res) => {
741
- this.show = false
742
- // 如果没有id,需要在数组中添加
743
- getInfo(this,0,0)
744
- this.selectItem = {}
745
- })
746
- } else { // 有主键为更新
747
- let data = {
748
- tablename: 't_material',
749
- parameters: this.selectItem
750
- }
751
- this.$resetpost('rs/logic/saveentity', {data: data}).then((res) => {
752
- this.show = false
753
- // 如果没有id,需要在数组中添加
754
- getInfo(this,0,0)
755
- this.selectItem = {}
756
- })
757
- }*/
758
- let data = {
759
- tablename: 't_material_list',
760
- parameters: this.selectItem
761
- }
762
- let this1=this
763
- this.$resetpost('rs/logic/saveentity', {data: data}).then((res) => {
764
- this.show = false
765
- // 如果没有id,需要在数组中添加
766
- getInfo(this,1,this.selectItem.f_batch_id)
767
- this.selectItem = {}
768
-
769
- })
770
- },
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
- // 关闭模态框
779
- close() {
780
- this.show = false
781
- this.selectItem = {}
782
- }
783
- // modify (row, key) {
784
- // this.value = row
785
- // this.key = key
786
- // },
787
- // clear (row, key) {
788
- // if (this.key) {
789
- // this.model.rows[key] = this.value
790
- // this.value = null
791
- // this.key = null
792
- // }
793
- // }
794
- }
795
- ,
796
- events: {
797
- onFileUpload: function (file, res) {
798
- if (!this.selectdata.f_process_id) {
799
- this.$showMessage("数据异常,导入失败")
800
- return
801
- }
802
- let data = {
803
- tablename: 'f_material',
804
- filepath: res.f_downloadpath,
805
- processid: this.selectdata.f_process_id,
806
- f_apply_num: this.selectdata.f_apply_num,
807
- f_filiale:this.selectdata.f_filiale,
808
- f_parentname:this.$login.f.f_parentname,
809
- f_material_operator:this.$login.f.name
810
- /* processid:this.selectdata.f_processid*/
811
- }
812
-
813
-
814
-
815
- this.$resetpost('rs/logic/materialImport', data, {resolveMsg: '上传成功', rejectMsg: '上传失败'}).then((res) => {
816
- /* this.model.rows = res.data.data
817
- for (var i = 0; i < res.data.data.length; i++) {
818
- res.data.data[i].t_material.f_pay = res.data.data[i].t_material.t_pay?true:false
819
- this.model.rows.push(res.data.data[i].t_material)
820
- }*/
821
- // _this.load()
822
-
823
- getInfo(this,0,0)
824
- console.log('dddddddd', this)
825
- this.closeFile()
826
- })
827
- }
828
- }
829
- }
830
- </script>
831
- <style scoped>
832
- .recordTable table tr th {
833
- font-weight: bold;
834
- }
835
-
836
- .recordTable table tr:hover {
837
- background-color: rgb(230, 230, 230);
838
- }
839
-
840
- td {
841
- text-align: center !important
842
- }
843
-
844
- .input-select {
845
- width: 100%;
846
- height: 34px;
847
- align-content: center;
848
- margin-top: 10px;
849
- }
850
- </style>