apply-clients 3.2.50 → 3.2.53

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 (282) hide show
  1. package/package.json +4 -3
  2. package/src/AndroidApp.vue +2 -2
  3. package/src/apply.js +7 -0
  4. package/src/components/app_apply/Process/AppExplorationUser.vue +200 -200
  5. package/src/components/app_apply/Process/AppServiceControl.vue +620 -620
  6. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +1 -1
  7. package/src/components/image/tubiao2.png +0 -0
  8. package/src/components/image//347/247/246/345/215/216.png +0 -0
  9. package/src/components/product/Apply/Supervisory/SupervisoryhCart.vue +1 -1
  10. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +104 -7
  11. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +7 -3
  12. package/src/components/product/Ledger/Function/InstallInfoSelect.vue +1 -1
  13. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +11 -4
  14. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +11 -0
  15. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +9 -1
  16. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +56 -14
  17. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +10 -2
  18. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +33 -2
  19. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +149 -2
  20. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +17 -5
  21. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +10 -8
  22. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +13 -6
  23. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +40 -9
  24. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +10 -60
  25. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +4 -4
  26. package/src/components/product/Ledger/Process/ProcessBusiness.vue +8 -0
  27. package/src/components/product/Ledger/Process/ProcessSelect.vue +39 -14
  28. package/src/components/product/Ledger/Process/Service/ServiceControl.vue +747 -639
  29. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingAddingMaterial.vue +330 -0
  30. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +117 -25
  31. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingMaterialDepot.vue +113 -0
  32. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingMaterialList.vue +143 -0
  33. package/src/components/product/Ledger/Supervisory/BatchProcessing.vue +79 -0
  34. package/src/components/product/Ledger/Supervisory/BathProcessinglist.vue +205 -0
  35. package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +8 -0
  36. package/src/components/product/Ledger/Supervisory/Service/PrepareContract.vue +393 -0
  37. package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +2 -7
  38. package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +1 -1
  39. package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +79 -16
  40. package/src/components/product/ServiceView.vue +1 -3
  41. package/dist-android/index.html +0 -3
  42. package/dist-android/static/.gitkeep +0 -0
  43. package/dist-android/static/0.js +0 -2
  44. package/dist-android/static/0.js.map +0 -1
  45. package/dist-android/static/1.js +0 -2
  46. package/dist-android/static/1.js.map +0 -1
  47. package/dist-android/static/10.js +0 -2
  48. package/dist-android/static/10.js.map +0 -1
  49. package/dist-android/static/100.js +0 -2
  50. package/dist-android/static/100.js.map +0 -1
  51. package/dist-android/static/11.js +0 -2
  52. package/dist-android/static/11.js.map +0 -1
  53. package/dist-android/static/12.js +0 -2
  54. package/dist-android/static/12.js.map +0 -1
  55. package/dist-android/static/13.js +0 -2
  56. package/dist-android/static/13.js.map +0 -1
  57. package/dist-android/static/14.js +0 -2
  58. package/dist-android/static/14.js.map +0 -1
  59. package/dist-android/static/15.js +0 -2
  60. package/dist-android/static/15.js.map +0 -1
  61. package/dist-android/static/16.js +0 -2
  62. package/dist-android/static/16.js.map +0 -1
  63. package/dist-android/static/17.js +0 -2
  64. package/dist-android/static/17.js.map +0 -1
  65. package/dist-android/static/18.js +0 -2
  66. package/dist-android/static/18.js.map +0 -1
  67. package/dist-android/static/19.js +0 -2
  68. package/dist-android/static/19.js.map +0 -1
  69. package/dist-android/static/2.js +0 -2
  70. package/dist-android/static/2.js.map +0 -1
  71. package/dist-android/static/20.js +0 -2
  72. package/dist-android/static/20.js.map +0 -1
  73. package/dist-android/static/21.js +0 -2
  74. package/dist-android/static/21.js.map +0 -1
  75. package/dist-android/static/22.js +0 -2
  76. package/dist-android/static/22.js.map +0 -1
  77. package/dist-android/static/23.js +0 -2
  78. package/dist-android/static/23.js.map +0 -1
  79. package/dist-android/static/24.js +0 -2
  80. package/dist-android/static/24.js.map +0 -1
  81. package/dist-android/static/25.js +0 -2
  82. package/dist-android/static/25.js.map +0 -1
  83. package/dist-android/static/26.js +0 -2
  84. package/dist-android/static/26.js.map +0 -1
  85. package/dist-android/static/27.js +0 -2
  86. package/dist-android/static/27.js.map +0 -1
  87. package/dist-android/static/28.js +0 -2
  88. package/dist-android/static/28.js.map +0 -1
  89. package/dist-android/static/29.js +0 -2
  90. package/dist-android/static/29.js.map +0 -1
  91. package/dist-android/static/3.js +0 -2
  92. package/dist-android/static/3.js.map +0 -1
  93. package/dist-android/static/30.js +0 -2
  94. package/dist-android/static/30.js.map +0 -1
  95. package/dist-android/static/31.js +0 -2
  96. package/dist-android/static/31.js.map +0 -1
  97. package/dist-android/static/32.js +0 -2
  98. package/dist-android/static/32.js.map +0 -1
  99. package/dist-android/static/33.js +0 -2
  100. package/dist-android/static/33.js.map +0 -1
  101. package/dist-android/static/34.js +0 -2
  102. package/dist-android/static/34.js.map +0 -1
  103. package/dist-android/static/35.js +0 -2
  104. package/dist-android/static/35.js.map +0 -1
  105. package/dist-android/static/36.js +0 -2
  106. package/dist-android/static/36.js.map +0 -1
  107. package/dist-android/static/37.js +0 -2
  108. package/dist-android/static/37.js.map +0 -1
  109. package/dist-android/static/38.js +0 -2
  110. package/dist-android/static/38.js.map +0 -1
  111. package/dist-android/static/39.js +0 -2
  112. package/dist-android/static/39.js.map +0 -1
  113. package/dist-android/static/4.js +0 -2
  114. package/dist-android/static/4.js.map +0 -1
  115. package/dist-android/static/40.js +0 -2
  116. package/dist-android/static/40.js.map +0 -1
  117. package/dist-android/static/41.js +0 -2
  118. package/dist-android/static/41.js.map +0 -1
  119. package/dist-android/static/42.js +0 -2
  120. package/dist-android/static/42.js.map +0 -1
  121. package/dist-android/static/43.js +0 -2
  122. package/dist-android/static/43.js.map +0 -1
  123. package/dist-android/static/44.js +0 -2
  124. package/dist-android/static/44.js.map +0 -1
  125. package/dist-android/static/45.js +0 -2
  126. package/dist-android/static/45.js.map +0 -1
  127. package/dist-android/static/46.js +0 -2
  128. package/dist-android/static/46.js.map +0 -1
  129. package/dist-android/static/47.js +0 -2
  130. package/dist-android/static/47.js.map +0 -1
  131. package/dist-android/static/48.js +0 -2
  132. package/dist-android/static/48.js.map +0 -1
  133. package/dist-android/static/49.js +0 -2
  134. package/dist-android/static/49.js.map +0 -1
  135. package/dist-android/static/5.js +0 -2
  136. package/dist-android/static/5.js.map +0 -1
  137. package/dist-android/static/50.js +0 -2
  138. package/dist-android/static/50.js.map +0 -1
  139. package/dist-android/static/51.js +0 -2
  140. package/dist-android/static/51.js.map +0 -1
  141. package/dist-android/static/52.js +0 -2
  142. package/dist-android/static/52.js.map +0 -1
  143. package/dist-android/static/53.js +0 -2
  144. package/dist-android/static/53.js.map +0 -1
  145. package/dist-android/static/54.js +0 -2
  146. package/dist-android/static/54.js.map +0 -1
  147. package/dist-android/static/55.js +0 -2
  148. package/dist-android/static/55.js.map +0 -1
  149. package/dist-android/static/56.js +0 -2
  150. package/dist-android/static/56.js.map +0 -1
  151. package/dist-android/static/57.js +0 -2
  152. package/dist-android/static/57.js.map +0 -1
  153. package/dist-android/static/58.js +0 -2
  154. package/dist-android/static/58.js.map +0 -1
  155. package/dist-android/static/59.js +0 -2
  156. package/dist-android/static/59.js.map +0 -1
  157. package/dist-android/static/6.js +0 -2
  158. package/dist-android/static/6.js.map +0 -1
  159. package/dist-android/static/60.js +0 -2
  160. package/dist-android/static/60.js.map +0 -1
  161. package/dist-android/static/61.js +0 -2
  162. package/dist-android/static/61.js.map +0 -1
  163. package/dist-android/static/62.js +0 -2
  164. package/dist-android/static/62.js.map +0 -1
  165. package/dist-android/static/63.js +0 -2
  166. package/dist-android/static/63.js.map +0 -1
  167. package/dist-android/static/64.js +0 -2
  168. package/dist-android/static/64.js.map +0 -1
  169. package/dist-android/static/65.js +0 -2
  170. package/dist-android/static/65.js.map +0 -1
  171. package/dist-android/static/66.js +0 -2
  172. package/dist-android/static/66.js.map +0 -1
  173. package/dist-android/static/67.js +0 -2
  174. package/dist-android/static/67.js.map +0 -1
  175. package/dist-android/static/68.js +0 -2
  176. package/dist-android/static/68.js.map +0 -1
  177. package/dist-android/static/69.js +0 -2
  178. package/dist-android/static/69.js.map +0 -1
  179. package/dist-android/static/7.js +0 -6
  180. package/dist-android/static/7.js.map +0 -1
  181. package/dist-android/static/70.js +0 -2
  182. package/dist-android/static/70.js.map +0 -1
  183. package/dist-android/static/71.js +0 -2
  184. package/dist-android/static/71.js.map +0 -1
  185. package/dist-android/static/72.js +0 -2
  186. package/dist-android/static/72.js.map +0 -1
  187. package/dist-android/static/73.js +0 -2
  188. package/dist-android/static/73.js.map +0 -1
  189. package/dist-android/static/74.js +0 -2
  190. package/dist-android/static/74.js.map +0 -1
  191. package/dist-android/static/75.js +0 -2
  192. package/dist-android/static/75.js.map +0 -1
  193. package/dist-android/static/76.js +0 -2
  194. package/dist-android/static/76.js.map +0 -1
  195. package/dist-android/static/77.js +0 -2
  196. package/dist-android/static/77.js.map +0 -1
  197. package/dist-android/static/78.js +0 -2
  198. package/dist-android/static/78.js.map +0 -1
  199. package/dist-android/static/79.js +0 -2
  200. package/dist-android/static/79.js.map +0 -1
  201. package/dist-android/static/8.js +0 -2
  202. package/dist-android/static/8.js.map +0 -1
  203. package/dist-android/static/80.js +0 -2
  204. package/dist-android/static/80.js.map +0 -1
  205. package/dist-android/static/81.js +0 -2
  206. package/dist-android/static/81.js.map +0 -1
  207. package/dist-android/static/82.js +0 -2
  208. package/dist-android/static/82.js.map +0 -1
  209. package/dist-android/static/83.js +0 -2
  210. package/dist-android/static/83.js.map +0 -1
  211. package/dist-android/static/84.js +0 -2
  212. package/dist-android/static/84.js.map +0 -1
  213. package/dist-android/static/85.js +0 -2
  214. package/dist-android/static/85.js.map +0 -1
  215. package/dist-android/static/86.js +0 -2
  216. package/dist-android/static/86.js.map +0 -1
  217. package/dist-android/static/87.js +0 -2
  218. package/dist-android/static/87.js.map +0 -1
  219. package/dist-android/static/88.js +0 -2
  220. package/dist-android/static/88.js.map +0 -1
  221. package/dist-android/static/89.js +0 -2
  222. package/dist-android/static/89.js.map +0 -1
  223. package/dist-android/static/9.js +0 -3
  224. package/dist-android/static/9.js.map +0 -1
  225. package/dist-android/static/90.js +0 -2
  226. package/dist-android/static/90.js.map +0 -1
  227. package/dist-android/static/91.js +0 -2
  228. package/dist-android/static/91.js.map +0 -1
  229. package/dist-android/static/92.js +0 -2
  230. package/dist-android/static/92.js.map +0 -1
  231. package/dist-android/static/93.js +0 -2
  232. package/dist-android/static/93.js.map +0 -1
  233. package/dist-android/static/94.js +0 -2
  234. package/dist-android/static/94.js.map +0 -1
  235. package/dist-android/static/95.js +0 -2
  236. package/dist-android/static/95.js.map +0 -1
  237. package/dist-android/static/96.js +0 -2
  238. package/dist-android/static/96.js.map +0 -1
  239. package/dist-android/static/97.js +0 -2
  240. package/dist-android/static/97.js.map +0 -1
  241. package/dist-android/static/98.js +0 -2
  242. package/dist-android/static/98.js.map +0 -1
  243. package/dist-android/static/99.js +0 -2
  244. package/dist-android/static/99.js.map +0 -1
  245. package/dist-android/static/app.css +0 -2
  246. package/dist-android/static/app.css.map +0 -1
  247. package/dist-android/static/app.js +0 -80
  248. package/dist-android/static/app.js.map +0 -1
  249. package/dist-android/static/batchleft.png +0 -0
  250. package/dist-android/static/batchright.png +0 -0
  251. package/dist-android/static/bluemainbg.jpg +0 -0
  252. package/dist-android/static/config.json +0 -7
  253. package/dist-android/static/denglu.png +0 -0
  254. package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
  255. package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
  256. package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
  257. package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
  258. package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
  259. package/dist-android/static/huangtengbiaozhi.png +0 -0
  260. package/dist-android/static/jingyin.jpg +0 -0
  261. package/dist-android/static/login_bg.jpg +0 -0
  262. package/dist-android/static/login_title.png +0 -0
  263. package/dist-android/static/login_title1.png +0 -0
  264. package/dist-android/static/loginbg.jpg +0 -0
  265. package/dist-android/static/loginlogo.png +0 -0
  266. package/dist-android/static/main_logo.png +0 -0
  267. package/dist-android/static/mainbg.jpg +0 -0
  268. package/dist-android/static/menulogo.png +0 -0
  269. package/dist-android/static/newmainbg.jpg +0 -0
  270. package/dist-android/static/psicon.png +0 -0
  271. package/dist-android/static/singleleft.png +0 -0
  272. package/dist-android/static/singleright.png +0 -0
  273. package/dist-android/static/treeopen.png +0 -0
  274. package/dist-android/static/treeout.png +0 -0
  275. package/dist-android/static/treeset.png +0 -0
  276. package/dist-android/static/usericon.png +0 -0
  277. package/dist-android/static/workflow_apply.json +0 -766
  278. package/dist-android/static/xinxi.png +0 -0
  279. package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
  280. 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
  281. package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
  282. package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
@@ -0,0 +1,143 @@
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">材料名称:</label>
8
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_qhmaterial_name"
9
+ v-on:keyup.enter="$parent.$parent.search()"
10
+ condition="f_qhmaterial_name like '%{}%'">
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">材料编码:</label>
14
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_qhmaterial_coding"
15
+ v-on:keyup.enter="$parent.$parent.search()"
16
+ condition="f_qhmaterial_coding like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">材料型号:</label>
20
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_qhmaterial_model"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="f_qhmaterial_model like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-3">
25
+ <label class="font_normal_body">材料规格:</label>
26
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料规格' v-model="model.f_qhmaterial_norm"
27
+ v-on:keyup.enter="$parent.$parent.search()"
28
+ condition="f_qhmaterial_norm like '%{}%'">
29
+ </div>
30
+ <div class="form-group col-sm-3">
31
+ <label class="font_normal_body">单&emsp;&emsp;位:</label>
32
+ <input type="text" class="input_search" style="width: 60%" placeholder='单位' v-model="model.f_qhunit"
33
+ v-on:keyup.enter="$parent.$parent.search()"
34
+ condition="f_qhunit like '%{}%'">
35
+ </div>
36
+ <div class="form-group col-sm-3 button-range">
37
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
38
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
39
+ <button class="button_new button_spacing" @click="$parent.$parent.openAddFacility()">添加材料</button>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </criteria>
44
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
45
+ <template partial='head'>
46
+ <tr>
47
+ <th style="white-space: nowrap;">序号</th>
48
+ <th style="white-space: nowrap;">材料编码</th>
49
+ <th style="white-space: nowrap;">材料名称</th>
50
+ <th style="white-space: nowrap;">材料型号</th>
51
+ <th style="white-space: nowrap;">材料规格</th>
52
+ <th style="white-space: nowrap;">单位</th>
53
+ <th style="white-space: nowrap;">备注</th>
54
+ </tr>
55
+ </template>
56
+ <template partial='body'>
57
+ <tr >
58
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
59
+ <nobr><font>{{$index+1}}</font></nobr>
60
+ </td>
61
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
62
+ <nobr><font>{{row.f_qhmaterial_coding}}</font></nobr>
63
+ </td>
64
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
65
+ <nobr><font>{{row.f_qhmaterial_name}}</font></nobr>
66
+ </td>
67
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
68
+ <nobr><font>{{row.f_qhmaterial_model}}</font></nobr>
69
+ </td>
70
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
71
+ <nobr><font>{{row.f_qhmaterial_norm}}</font></nobr>
72
+ </td>
73
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
74
+ <nobr><font>{{row.f_qhunit}}</font></nobr>
75
+ </td>
76
+ <td style="text-align: center;" @click="$parent.$parent.$parent.openViewFacility(row)">
77
+ <nobr><font>{{row.f_qhremarks}}</font></nobr>
78
+ </td>
79
+ </tr>
80
+ </template>
81
+ </data-grid>
82
+ </criteria-paged>
83
+ </template>
84
+
85
+ <script>
86
+ import {PagedList} from 'vue-client'
87
+ import {HttpResetClass} from 'vue-client'
88
+ // Date格式化
89
+ Date.prototype.Format = function (fmt) {
90
+ var o = {
91
+ 'M+': this.getMonth() + 1, // 月份
92
+ 'd+': this.getDate(), // 日
93
+ 'H+': this.getHours(), // 小时
94
+ 'm+': this.getMinutes(), // 分
95
+ 's+': this.getSeconds(), // 秒
96
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
97
+ 'S': this.getMilliseconds() // 毫秒
98
+ }
99
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
100
+ for (var k in o) {
101
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
102
+ }
103
+ return fmt
104
+ }
105
+ export default {
106
+ title: '材料列表',
107
+ props: ['showData'],
108
+ data () {
109
+ return {
110
+ model: new PagedList('rs/sql/getQhMaterial', 30, {
111
+ data: {
112
+ orgid: this.$login.f.orgid
113
+ }
114
+ }),
115
+ criteriaShow: false
116
+ }
117
+ },
118
+ ready () {
119
+ // 调用查询
120
+ this.search()
121
+ },
122
+ methods: {
123
+ // 打开添加设备
124
+ openAddFacility () {
125
+ this.$dispatch('openAddFacility')
126
+ },
127
+ clear () {
128
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
129
+ this.$refs.cp.$refs.cri.model[key] = null
130
+ })
131
+ },
132
+ // 查询
133
+ search () {
134
+ this.$dispatch('search')
135
+ }
136
+ },
137
+ computed: {
138
+ }
139
+ }
140
+ </script>
141
+
142
+ <style scoped>
143
+ </style>
@@ -0,0 +1,79 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div style="height: 95%">
5
+ <ledger-batch-processing-list v-ref:query></ledger-batch-processing-list>
6
+ </div>
7
+ </div>
8
+ </div>
9
+ </template>
10
+
11
+ <script>
12
+ export default {
13
+ title: '终止报建',
14
+ data () {
15
+ return {
16
+ showModal: false,
17
+ data: null
18
+ }
19
+ },
20
+ ready () {
21
+ },
22
+ methods: {
23
+ closeModal () {
24
+ this.showModal = false
25
+ this.data = null
26
+
27
+ this.$refs.query.$refs.cp.$refs.cri.search()
28
+ },
29
+ async confirmModal () {
30
+ let data = {
31
+ data: this.data,
32
+ user: this.$login.f
33
+ }
34
+
35
+ let res = await this.$resetpost(
36
+ `rs/logic/cancelStopApply`,
37
+ {data: data},
38
+ {resolveMsg: null, rejectMsg: '撤销失败!!!'}
39
+ )
40
+
41
+ this.closeModal()
42
+ }
43
+ },
44
+ events: {
45
+ 'search' () {
46
+ this.$refs.query.$refs.cp.$refs.cri.search()
47
+ },
48
+ 'cancelStopApply' (row) {
49
+ this.data = row
50
+
51
+ this.showModal = true
52
+ }
53
+ }
54
+ }
55
+ </script>
56
+
57
+ <style scoped>
58
+ .control-label-justify {
59
+ display: inline-block;
60
+ vertical-align: top;
61
+ width: 110px;
62
+ text-align: justify;
63
+ font-family: PingFang-SC-Bold;
64
+ }
65
+
66
+ .control-label-justify::after {
67
+ content: "";
68
+ display: inline-block;
69
+ width: 100%;
70
+ overflow: hidden;
71
+ height: 0;
72
+ }
73
+ .clearfix:after,.clearfix:before{
74
+ display: table;
75
+ }
76
+ .clearfix:after{
77
+ clear: both;
78
+ }
79
+ </style>
@@ -0,0 +1,205 @@
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">项目名称:</label>
9
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_entry_name like '%{}%'" placeholder='项目名称'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">工程编号:</label>
14
+ <input type="text" class="input_search" style="width: 60%" placeholder='工程编号' v-model="model.f_project_number"
15
+ v-on:keyup.enter="$parent.$parent.search()"
16
+ condition="u.f_project_number like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">CEA&emsp;号:</label>
20
+ <input type="text" class="input_search" style="width: 60%" placeholder='CEA号' v-model="model.f_cea_number"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="u.f_cea_number like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-3 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">走流程</button>
28
+ <div
29
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
31
+ class="button_spacing"
32
+ style="float: right">
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="row" v-show="$parent.$parent.criteriaShow">
37
+ <div class="form-group col-sm-3">
38
+ <label class="font_normal_body">项目类型:</label>
39
+ <v-select
40
+ v-model="model.f_apply_type"
41
+ placeholder='项目类型'
42
+ condition="u.f_apply_type like '%{}%'"
43
+ :value.sync="model.f_apply_type"
44
+ :options='$parent.$parent.applytype'
45
+ class="select select_list"
46
+ :value-single="true"
47
+ @change="$parent.$parent.applyTypeChange()"
48
+ close-on-select ></v-select>
49
+ </div>
50
+ <div class="form-group col-sm-3">
51
+ <label class="font_normal_body">工程类型:</label>
52
+ <v-select
53
+ v-model="model.f_project_type"
54
+ placeholder='工程类型'
55
+ condition="u.f_project_type like '%{}%'"
56
+ :value.sync="model.f_project_type"
57
+ :options='$parent.$parent.projectTypes'
58
+ class="select select_list"
59
+ :value-single="true"
60
+ close-on-select ></v-select>
61
+ </div>
62
+ <div class="form-group col-sm-3">
63
+ <label class="font_normal_body">办理环节:</label>
64
+ <v-select
65
+ v-model="model.defname"
66
+ placeholder='办理环节'
67
+ condition="act.defname = '{}'"
68
+ :value.sync="model.defname"
69
+ :options='$parent.$parent.defnames'
70
+ class="select select_list"
71
+ :value-single="true"
72
+ close-on-select ></v-select>
73
+ </div>
74
+ <div class="form-group col-sm-3">
75
+ <label class="font_normal_body">项目区域:</label>
76
+ <v-select
77
+ v-model="model.f_project_area"
78
+ placeholder='项目区域'
79
+ condition="u.f_project_area = '{}'"
80
+ :value.sync="model.f_project_area"
81
+ :options='$parent.$parent.projectAreas'
82
+ class="select select_list"
83
+ :value-single="true"
84
+ close-on-select ></v-select>
85
+ </div>
86
+ <div class="form-group col-sm-3">
87
+ <label class="font_normal_body">项目地址:</label>
88
+ <input type="text" class="input_search" placeholder='项目地址' v-model="model.f_address"
89
+ v-on:keyup.enter="$parent.$parent.search()"
90
+ style="width: 60%"
91
+ condition="u.f_address like '%{}%'">
92
+ </div>
93
+ </div>
94
+ </div>
95
+ </criteria>
96
+ <data-grid :model="model" optional partial='list' v-ref:grid class="list_area table_sy">
97
+ <template partial='head'>
98
+ <tr>
99
+ <th style="white-space: nowrap;">序号</th>
100
+ <th style="white-space: nowrap;">工程编号</th>
101
+ <th style="white-space: nowrap;">项目名称</th>
102
+ <th style="white-space: nowrap;">CEA号</th>
103
+ <th style="white-space: nowrap;">项目类型</th>
104
+ <th style="white-space: nowrap;">工程类型</th>
105
+ <th style="white-space: nowrap;">办理环节</th>
106
+ <th style="white-space: nowrap;">类型</th>
107
+ <th style="white-space: nowrap;">状态</th>
108
+ </tr>
109
+ </template>
110
+ <template partial='body'>
111
+ <tr>
112
+ <td style="text-align: center;">
113
+ <nobr>{{$index+1}}</nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr>{{row.f_project_number}}</nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr>{{row.f_entry_name}}</nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>{{row.f_cea_number}}</nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr>{{row.f_apply_type}}</nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr>{{row.f_project_type}}</nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr>{{row.defname}}</nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr>{{row.f_type}}</nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>{{row.f_state}}</nobr>
138
+ </td>
139
+ </tr>
140
+ </template>
141
+ </data-grid>
142
+ </criteria-paged>
143
+ </div>
144
+ </template>
145
+ <script>
146
+ import {HttpResetClass, PagedList} from 'vue-client'
147
+ import {isEmpty} from '../../../Util'
148
+ export default {
149
+ title: '终止列表',
150
+ data () {
151
+ return {
152
+ model: new PagedList('rs/sql/getStopApply', 20, {
153
+ data: {
154
+ orgid: this.$login.f.orgid
155
+ }
156
+ }),
157
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目类型')], // 所有报建类型
158
+ projectTypes: [{label: '全部', value: ''}],
159
+ projectAreas: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目区域')], // 所有报建类型
160
+ defnames: [{label: '全部', value: ''}], // 流程节点
161
+ criteriaShow: false
162
+ }
163
+ },
164
+ ready () {
165
+ // 调用查询
166
+ this.search()
167
+ },
168
+ events: {
169
+ },
170
+ methods: {
171
+ // 查询
172
+ search () {
173
+ this.$dispatch('search')
174
+ },
175
+ click (row) {
176
+ this.$dispatch('cancelStopApply', row)
177
+ },
178
+ // 根据项目类型获取对应的流程节点
179
+ applyTypeChange () {
180
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
181
+ let http = new HttpResetClass()
182
+ http.load('POST', 'rs/logic/getDefnameByType', {
183
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
184
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
185
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
186
+ })
187
+
188
+ this.projectTypes = [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}工程类型`)]
189
+ } else {
190
+ this.defnames = [{label: '全部', value: ''}]
191
+ this.projectTypes = [{label: '全部', value: ''}]
192
+ }
193
+ },
194
+ clear () {
195
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
196
+ this.$refs.cp.$refs.cri.model[key] = null
197
+ })
198
+ }
199
+ },
200
+ computed: {
201
+ }
202
+ }
203
+ </script>
204
+ <style scoped>
205
+ </style>
@@ -154,6 +154,14 @@ export default {
154
154
  this.$refs.query.$refs.cp.pager = true
155
155
  // 调用查询
156
156
  this.$refs.query.$refs.cp.$refs.cri.search()
157
+ },
158
+ 'comeback' () {
159
+ // 关闭详细
160
+ this.showtotal = false
161
+ // 显示列表数据
162
+ this.showData = true
163
+ // 显示分页
164
+ this.$refs.query.$refs.cp.pager = true
157
165
  }
158
166
  },
159
167