apply-clients 3.2.34 → 3.2.48

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 (286) hide show
  1. package/dist-android/static/15.js +2 -2
  2. package/dist-android/static/23.js +2 -2
  3. package/index.html +1 -1
  4. package/package.json +5 -5
  5. package/src/AndroidApp.vue +10 -9
  6. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  7. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
  8. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  10. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  11. package/src/android-bootstrap/less/.csscomb.json +304 -0
  12. package/src/android-bootstrap/less/.csslintrc +19 -0
  13. package/src/android-bootstrap/less/alerts.less +73 -0
  14. package/src/android-bootstrap/less/badges.less +66 -0
  15. package/src/android-bootstrap/less/bootstrap.less +56 -0
  16. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  17. package/src/android-bootstrap/less/button-groups.less +247 -0
  18. package/src/android-bootstrap/less/buttons.less +173 -0
  19. package/src/android-bootstrap/less/carousel.less +269 -0
  20. package/src/android-bootstrap/less/close.less +34 -0
  21. package/src/android-bootstrap/less/code.less +69 -0
  22. package/src/android-bootstrap/less/component-animations.less +33 -0
  23. package/src/android-bootstrap/less/dropdowns.less +216 -0
  24. package/src/android-bootstrap/less/forms.less +626 -0
  25. package/src/android-bootstrap/less/glyphicons.less +305 -0
  26. package/src/android-bootstrap/less/grid.less +84 -0
  27. package/src/android-bootstrap/less/input-groups.less +167 -0
  28. package/src/android-bootstrap/less/jumbotron.less +52 -0
  29. package/src/android-bootstrap/less/labels.less +64 -0
  30. package/src/android-bootstrap/less/list-group.less +141 -0
  31. package/src/android-bootstrap/less/media.less +66 -0
  32. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  33. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  34. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  35. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  36. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  37. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  38. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  39. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  40. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  41. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  42. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  43. package/src/android-bootstrap/less/mixins/image.less +33 -0
  44. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  45. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  46. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  47. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  48. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  49. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  50. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  51. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  52. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  53. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  54. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  55. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  56. package/src/android-bootstrap/less/mixins/size.less +10 -0
  57. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  58. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  59. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  60. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  61. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  62. package/src/android-bootstrap/less/mixins.less +40 -0
  63. package/src/android-bootstrap/less/modals.less +151 -0
  64. package/src/android-bootstrap/less/navbar.less +660 -0
  65. package/src/android-bootstrap/less/navs.less +302 -0
  66. package/src/android-bootstrap/less/normalize.less +424 -0
  67. package/src/android-bootstrap/less/pager.less +76 -0
  68. package/src/android-bootstrap/less/pagination.less +89 -0
  69. package/src/android-bootstrap/less/panels.less +274 -0
  70. package/src/android-bootstrap/less/popovers.less +131 -0
  71. package/src/android-bootstrap/less/print.less +101 -0
  72. package/src/android-bootstrap/less/progress-bars.less +87 -0
  73. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  74. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  75. package/src/android-bootstrap/less/scaffolding.less +161 -0
  76. package/src/android-bootstrap/less/tables.less +262 -0
  77. package/src/android-bootstrap/less/theme.less +291 -0
  78. package/src/android-bootstrap/less/thumbnails.less +36 -0
  79. package/src/android-bootstrap/less/tooltip.less +102 -0
  80. package/src/android-bootstrap/less/type.less +303 -0
  81. package/src/android-bootstrap/less/utilities.less +55 -0
  82. package/src/android-bootstrap/less/variables.less +896 -0
  83. package/src/android-bootstrap/less/wells.less +29 -0
  84. package/src/apply.js +143 -25
  85. package/src/applyAndroid.js +5 -3
  86. package/src/components/Util.js +5 -5
  87. package/src/components/app_apply/AppServiceView.vue +2 -2
  88. package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
  89. package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
  90. package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
  91. package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
  92. package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
  93. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
  94. package/src/components/image/tubiao.png +0 -0
  95. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
  96. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
  97. package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
  98. package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
  99. package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
  100. package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
  101. package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
  102. package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
  103. package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
  104. package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
  105. package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
  106. package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
  107. package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
  108. package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
  109. package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
  110. package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
  111. package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
  112. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
  113. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
  114. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
  115. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
  116. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
  117. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
  118. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
  119. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
  120. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
  121. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
  122. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
  123. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
  124. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
  125. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
  126. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
  127. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
  128. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
  129. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
  130. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
  131. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
  132. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
  133. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
  134. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
  135. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
  136. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
  137. package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
  138. package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
  139. package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
  140. package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
  141. package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
  142. package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
  143. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
  144. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
  145. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
  146. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
  147. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
  148. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
  149. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
  150. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
  151. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
  152. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
  153. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
  154. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
  155. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
  156. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
  157. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
  158. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
  159. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
  160. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
  161. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
  162. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
  163. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
  164. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
  165. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
  166. package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
  167. package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
  168. package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
  169. package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
  170. package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
  171. package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
  172. package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
  173. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
  174. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
  175. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
  176. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
  177. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
  178. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
  179. package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
  180. package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
  181. package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
  182. package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
  183. package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
  184. package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
  185. package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
  186. package/src/components/product/ServiceView.vue +376 -374
  187. package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
  188. package/src/expandcssAndroid.less +534 -0
  189. package/src/main.js +2 -0
  190. package/static/Functions.js +91 -0
  191. package/static/Jsons.js +784 -0
  192. package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  193. package/static/ManagementControl/echarts10.png +0 -0
  194. package/static/ManagementControl/echarts11.png +0 -0
  195. package/static/ManagementControl/echarts12.png +0 -0
  196. package/static/ManagementControl/echarts13.png +0 -0
  197. package/static/ManagementControl/echarts14.png +0 -0
  198. package/static/ManagementControl/echarts15.png +0 -0
  199. package/static/ManagementControl/echarts16.png +0 -0
  200. package/static/ManagementControl/echarts17.png +0 -0
  201. package/static/ManagementControl/echarts18.png +0 -0
  202. package/static/ManagementControl/echarts4.png +0 -0
  203. package/static/ManagementControl/echarts5.png +0 -0
  204. package/static/ManagementControl/echarts51.png +0 -0
  205. package/static/ManagementControl/echarts6.png +0 -0
  206. package/static/ManagementControl/echarts7.png +0 -0
  207. package/static/ManagementControl/echarts71.png +0 -0
  208. package/static/ManagementControl/echarts8.png +0 -0
  209. package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  210. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  211. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  212. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  213. package/static/class.js +97 -0
  214. package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
  215. package/static/init.js +135 -0
  216. package/static/jcwx.jpg +0 -0
  217. package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  218. package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  219. package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  220. package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  221. package/static/lefticon//345/233/276/345/261/202577.png +0 -0
  222. package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  223. package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  224. package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  225. package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  226. package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  227. package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  228. package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  229. package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  230. package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  231. package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  232. package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  233. package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
  234. package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  235. package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  236. package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  237. package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  238. package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  239. package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  240. package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  241. package/static/loginbg1.jpg +0 -0
  242. package/static/loginbg_jincheng.jpg +0 -0
  243. package/static/loginbgmain.jpg +0 -0
  244. package/static/mainicon/adddevice.png +0 -0
  245. package/static/mainicon/addmeter.png +0 -0
  246. package/static/mainicon/bank.png +0 -0
  247. package/static/mainicon/biaopan.png +0 -0
  248. package/static/mainicon/cad.jpg +0 -0
  249. package/static/mainicon/chaobiaoyuan.png +0 -0
  250. package/static/mainicon/danganguanli.png +0 -0
  251. package/static/mainicon/deletedevice.png +0 -0
  252. package/static/mainicon/excel.jpg +0 -0
  253. package/static/mainicon/huizong.png +0 -0
  254. package/static/mainicon/jibiaoguanli.png +0 -0
  255. package/static/mainicon/jibiaoguanli2.png +0 -0
  256. package/static/mainicon/jiezhang.png +0 -0
  257. package/static/mainicon/loginbg.jpg +0 -0
  258. package/static/mainicon/shouqishoufei.png +0 -0
  259. package/static/mainicon/treeopen.png +0 -0
  260. package/static/mainicon/treeout.png +0 -0
  261. package/static/mainicon/treeset.png +0 -0
  262. package/static/mainicon/word.jpg +0 -0
  263. package/static/mainicon/wulianwang.png +0 -0
  264. package/static/mainicon/yingyechaxun.png +0 -0
  265. package/static/mainicon/zongheyewu.png +0 -0
  266. package/static/newStyle/loginbg-liaoyuan.gif +0 -0
  267. package/static/newStyle/loginbg.gif +0 -0
  268. package/static/newStyle/loginbg1366.gif +0 -0
  269. package/static/newStyle/loginbg_1.gif +0 -0
  270. package/static/newStyle/searchin.png +0 -0
  271. package/static/newStyle/searchout.png +0 -0
  272. package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
  273. package/static/newStyle.7z +0 -0
  274. package/static/newStyle.zip +0 -0
  275. package/static/refresh.png +0 -0
  276. package/static/static.zip +0 -0
  277. package/static/tools.js +246 -0
  278. package/static/treeclose.png +0 -0
  279. package/static/wasm_exec.js +591 -0
  280. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
  281. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  282. package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
  283. package/src/components/product/Process/Processes/printCharge.vue +0 -133
  284. package/src/components/product/Test.vue +0 -36
  285. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  286. package/src/components/product/VueUtils/Tree.vue +0 -330
@@ -0,0 +1,385 @@
1
+ <template>
2
+ <div class="select-overspread" style="background-color: #ffffff;padding: 20px;overflow: scroll">
3
+ <validator name="v">
4
+ <form class="form-horizontal">
5
+ <div class="form-group">
6
+ <div class="col-sm-6 form-group item" :class="[$v.f_cea_number_head.required ? 'has-error' : '']">
7
+ <label class="control-label-justify control-label col-sm-6">调料CEA</label>
8
+ <div class="col-sm-6">
9
+ <input type="text" v-model="model.f_cea_number_head" :value="model.f_cea_number_head" v-show="false" v-validate:f_cea_number_head = "['required']" >
10
+ <input-select
11
+ class="select select_list"
12
+ :value.sync="model.f_cea_number_head"
13
+ v-model="model.f_cea_number_head"
14
+ :options="ceaList"
15
+ :valueSingle="true"></input-select>
16
+ </div>
17
+ </div>
18
+ <div class="col-sm-6 form-group item" :class="[$v.f_cea_number_tail.required ? 'has-error' : '']">
19
+ <label class="control-label-justify control-label col-sm-6">调至CEA</label>
20
+ <div class="col-sm-6">
21
+ <input type="text" v-model="model.f_cea_number_tail" :value="model.f_cea_number_tail" v-show="false" v-validate:f_cea_number_tail = "['required']" >
22
+ <input-select
23
+ class="select select_list"
24
+ :value.sync="model.f_cea_number_tail"
25
+ v-model="model.f_cea_number_tail"
26
+ :options="ceaList"
27
+ @change="changeTail()"
28
+ :valueSingle="true"></input-select>
29
+ </div>
30
+ </div>
31
+
32
+ <div class="col-sm-12">
33
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
34
+ <template partial='head'>
35
+ <tr>
36
+ <th style="white-space: nowrap;">序号</th>
37
+ <th style="white-space: nowrap;">材料名称</th>
38
+ <th style="white-space: nowrap;">材料型号</th>
39
+ <th style="white-space: nowrap;">材料规格</th>
40
+ <th style="white-space: nowrap;">单位</th>
41
+ <th style="white-space: nowrap;">数量</th>
42
+ <th style="white-space: nowrap;">备注</th>
43
+ <th style="white-space: nowrap;">
44
+ <button @click="$parent.$parent.openAdd()" type="button" class="btn btn-info">
45
+ <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
46
+ </button>
47
+ </th>
48
+ </tr>
49
+ </template>
50
+ <template partial='body'>
51
+ <tr>
52
+ <td style="text-align: center;">{{$index+1}}</td>
53
+ <td style="text-align: center;">{{row.f_material_name}}</td>
54
+ <td style="text-align: center;">{{row.f_material_model}}</td>
55
+ <td style="text-align: center;">{{row.f_material_norm}}</td>
56
+ <td style="text-align: center;">{{row.f_unit}}</td>
57
+ <td style="text-align: center;">{{row.f_quantity}}</td>
58
+ <td style="text-align: center;">{{row.f_remarks}}</td>
59
+ <td style="text-align: center;">
60
+ <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.openUpdate($index,row)">修改</button>
61
+ <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.delete($index)">删除</button>
62
+ </td>
63
+ </tr>
64
+ </template>
65
+ </data-grid>
66
+ </div>
67
+
68
+ <div class="col-sm-12 form-group" style="text-align: center">
69
+ <button class="btn btn-primary" @click.prevent="addSeasoningRecord()" :disabled='!$v.valid'>保存</button>
70
+ </div>
71
+ </div>
72
+ </form>
73
+ </validator>
74
+ <validator name="mv">
75
+ <modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
76
+ <header slot="modal-header" class="modal-header">
77
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
78
+ <span class="modal-title"><font size="3">添加材料</font></span>
79
+ </header>
80
+ <article slot="modal-body" class="form-horizontal modal-body clearfix">
81
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
82
+ <label class="control-label col-sm-2">选择材料</label>
83
+ <div class="col-sm-9">
84
+ <input type="text" v-show="false" v-model="material.id" v-validate:material = "['required']" >
85
+ <input-select
86
+ class="select select_list"
87
+ :value.sync="material"
88
+ v-model="material"
89
+ :options="materialList"
90
+ @change="changePickMaterial()"
91
+ :valueSingle="true"></input-select>
92
+ </div>
93
+ </div>
94
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
95
+ <label class="control-label col-sm-2">材料名称</label>
96
+ <div class="col-sm-9">
97
+ <input class="form-control" type="text" :value="material.f_material_name" readonly />
98
+ </div>
99
+ </div>
100
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
101
+ <label class="control-label col-sm-2">材料型号</label>
102
+ <div class="col-sm-9">
103
+ <input class="form-control" type="text" :value="material.f_material_model" readonly/>
104
+ </div>
105
+ </div>
106
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
107
+ <label class="control-label col-sm-2">材料规格</label>
108
+ <div class="col-sm-9">
109
+ <input class="form-control" type="text" :value="material.f_material_norm" readonly/>
110
+ </div>
111
+ </div>
112
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
113
+ <label class="control-label col-sm-2">单&emsp;&emsp;位</label>
114
+ <div class="col-sm-9">
115
+ <input class="form-control" type="text" :value="material.f_unit" readonly/>
116
+ </div>
117
+ </div>
118
+ <div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
119
+ <label class="control-label col-sm-2">库存</label>
120
+ <div class="col-sm-9">
121
+ <input class="form-control" type="number" :value="material.f_stock" readonly/>
122
+ </div>
123
+ </div>
124
+
125
+ <div class="col-sm-12 form-group" :class="[$mv.f_quantity.required ? 'has-error' : '']">
126
+ <label class="control-label col-sm-2">数&emsp;&emsp;量</label>
127
+ <div class="col-sm-9">
128
+ <input class="form-control"
129
+ type="number"
130
+ @change="changePrepareQuantity()"
131
+ v-validate:f_quantity = "{required: true}"
132
+ v-model="material.f_quantity"
133
+ :value="material.f_quantity"/>
134
+ </div>
135
+ </div>
136
+ <div class="col-sm-12 form-group">
137
+ <label class="control-label col-sm-2">备&emsp;&emsp;注</label>
138
+ <div class="col-sm-9">
139
+ <textarea
140
+ class="form-control input_view"
141
+ style="width: 100%;height: 100%"
142
+ rows="2"
143
+ @change="changeRemarks()"
144
+ v-model="material.f_remarks"
145
+ :value="material.f_remarks"
146
+ >
147
+ </textarea>
148
+ </div>
149
+ </div>
150
+
151
+ </article>
152
+ <footer slot="modal-footer" class="modal-footer">
153
+ <button class="btn btn-primary" type="button" @click.prevent="saveOrUpdate()" :disabled='!$mv.valid'>确认</button>
154
+ </footer>
155
+ </modal>
156
+ </validator>
157
+ </div>
158
+ </template>
159
+
160
+ <script>
161
+ import {isEmpty} from '../../../../Util'
162
+ import {HttpResetClass} from 'vue-client'
163
+
164
+ export default {
165
+ title: '材料详细信息',
166
+ data () {
167
+ return {
168
+ ceaList: [],
169
+ model: {
170
+ data: []
171
+ },
172
+ materialList: [],
173
+ showModal: false,
174
+ material: {}
175
+ }
176
+ },
177
+ ready () {
178
+ this.getCEAList()
179
+ },
180
+ methods: {
181
+ addSeasoningRecord () {
182
+ this.$dispatch('addSeasoningRecord', this.model)
183
+ },
184
+ changePickMaterial () {
185
+ if (!isEmpty(this.material.id)) {
186
+ for (const item of this.model.data) {
187
+ if (item.id === this.material.id) {
188
+ this.$showAlert('该物料已经存在,如需再次添加,请进行修改操作!!!', 'warning', 3000)
189
+ this.closeModal()
190
+ break
191
+ }
192
+ }
193
+ }
194
+ },
195
+ async openUpdate (index, material) {
196
+ this.index = index
197
+ this.material = material
198
+
199
+ await this.openAdd()
200
+ },
201
+ async delete (index) {
202
+ this.index = index
203
+ await this.$showMessage('您确定要删除这条记录吗?').then((res) => {
204
+ if (res === 'confirm') {
205
+ this.model.data.splice(this.index, 1)
206
+ }
207
+ })
208
+ this.closeModal()
209
+ },
210
+ saveOrUpdate () {
211
+ if (isEmpty(this.index)) {
212
+ this.model.data.push(this.material)
213
+ } else {
214
+ this.model.data.splice(this.index, 1, this.material)
215
+ }
216
+
217
+ this.closeModal()
218
+ },
219
+ changeRemarks () {
220
+ if (isEmpty(this.material.id)) {
221
+ this.$showAlert('请先选择物料!!!', 'warning', 3000)
222
+ this.material = null
223
+ return
224
+ }
225
+ },
226
+ changePrepareQuantity () {
227
+ if (isEmpty(this.material.id)) {
228
+ this.$showAlert('请先选择物料!!!', 'warning', 3000)
229
+ this.material = null
230
+ return
231
+ }
232
+ if (this.material.f_quantity > this.material.f_stock) {
233
+ this.$showAlert('超出库存数量了!!!', 'warning', 3000)
234
+ this.material.f_quantity = null
235
+ return
236
+ }
237
+ },
238
+ closeModal () {
239
+ this.materialList = []
240
+ this.material = {}
241
+ this.showModal = false
242
+ },
243
+ async getMaterialList () {
244
+ let http = new HttpResetClass()
245
+
246
+ let data = {
247
+ condition: `f_cea_number = '${this.model.f_cea_number_head}'`
248
+ }
249
+
250
+ let res = await http.load('POST','rs/sql/getQinhuaSumMaterial',{data: data},{resolveMsg: null,rejectMsg: '物料查询失败!!!'})
251
+
252
+ res.data.forEach(item => {
253
+ this.materialList.push({
254
+ label: `${item.f_material_name}-${item.f_material_norm}-${item.f_material_model}-${item.f_unit}`,
255
+ value: item
256
+ })
257
+ })
258
+ },
259
+ async openAdd () {
260
+ if (isEmpty(this.model.f_cea_number_head)) {
261
+ this.$showAlert('请先选择调料工程CEA!!!', 'warning', 3000)
262
+ return
263
+ }
264
+
265
+ await this.getMaterialList()
266
+
267
+ if (this.materialList.length <= 0) {
268
+ this.$showAlert('该工程下无物料!!!', 'warning', 3000)
269
+ return
270
+ }
271
+
272
+ this.showModal = true
273
+ },
274
+ changeTail () {
275
+ if (isEmpty(this.model.f_cea_number_tail)) {
276
+ return
277
+ }
278
+ if (isEmpty(this.model.f_cea_number_head)) {
279
+ this.$showAlert('请先选择调料工程CEA!!!', 'warning', 3000)
280
+ this.model.f_cea_number_tail = null
281
+ return
282
+ }
283
+ if (this.model.f_cea_number_head === this.model.f_cea_number_tail) {
284
+ this.$showAlert('无法调向自己!!!', 'warning', 3000)
285
+ this.model.f_cea_number_tail = null
286
+ return
287
+ }
288
+ },
289
+ async getCEAList () {
290
+ let data = {
291
+ tablename: 't_apply',
292
+ condition: `f_cea_number is not null and f_sub_state != '完工'`
293
+ }
294
+
295
+ let res = await this.$resetpost(
296
+ `rs/sql/singleTable`,
297
+ {data: data},
298
+ {resolveMsg: null, rejectMsg: 'CEA号查询失败!!!'}
299
+ )
300
+
301
+ if (res.data.length <= 0) {
302
+ this.$showAlert('暂无工程!!!', 'warning', 3000)
303
+ return
304
+ }
305
+
306
+ res.data.forEach(item => {
307
+ this.ceaList.push({
308
+ 'label': item.f_cea_number,
309
+ 'value': item.f_cea_number
310
+ })
311
+ })
312
+ }
313
+ },
314
+ events: {
315
+ }
316
+ }
317
+ </script>
318
+
319
+ <style scoped>
320
+ .item{
321
+ height: 40px;
322
+ margin-bottom: 20px;
323
+ }
324
+
325
+ th{
326
+ font-size: 15px !important;
327
+ text-align: center !important;
328
+ background-color: #dfedfb!important;
329
+ color: #666666 !important;
330
+ font-family: PINGFANG-BOLD !important;
331
+ font-weight: normal!important;
332
+ }
333
+ /*清除model中的浮动*/
334
+ .clearfix:after,.clearfix:before{
335
+ display: table;
336
+ }
337
+ .clearfix:after{
338
+ clear: both;
339
+ }
340
+
341
+ .input_view{
342
+ padding: 8px;
343
+ background-color: #ffffff;
344
+ border-radius: 2px;
345
+ border: solid 1px #c7c7c7!important;
346
+ color: #333333!important;
347
+ font-size: 15px!important;
348
+ }
349
+
350
+ .input_view[readonly]{
351
+ border: 1px solid #DDD!important;
352
+ /*background-color: #F5F5F5;*/
353
+ color:#ACA899!important;
354
+ }
355
+ .input_view:disabled{
356
+ border: 1px solid #DDD!important;
357
+ /*background-color: #F5F5F5;*/
358
+ color:#ACA899!important;
359
+ }
360
+
361
+ .control-label-justify {
362
+ display: inline-block;
363
+ vertical-align: top;
364
+ width: 110px;
365
+ text-align: justify;
366
+ font-family: PingFang-SC-Bold;
367
+ }
368
+
369
+ .control-label-justify::after {
370
+ content: "";
371
+ display: inline-block;
372
+ width: 70px;
373
+ overflow: hidden;
374
+ height: 0;
375
+ }
376
+
377
+ input::-webkit-outer-spin-button,
378
+ input::-webkit-inner-spin-button {
379
+ -webkit-appearance: none;
380
+ }
381
+
382
+ input[type="number"] {
383
+ -moz-appearance: textfield;
384
+ }
385
+ </style>
@@ -0,0 +1,70 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <seasoning-record-list v-ref:query :show-data="showData"></seasoning-record-list>
6
+ </div>
7
+ <div v-if="showtotal" style="margin-top: 20px;height: 90%" class="">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab header='调料信息'>
10
+ <seasoning-information></seasoning-information>
11
+ </tab>
12
+ </tabset>
13
+ </div>
14
+ </div>
15
+ </div>
16
+ </template>
17
+
18
+ <script>
19
+ import {HttpResetClass} from 'vue-client'
20
+ export default {
21
+ title: '调料记录',
22
+ data () {
23
+ return {
24
+ showData: true,
25
+ showtotal: false
26
+ }
27
+ },
28
+ ready () {
29
+ },
30
+ methods: {
31
+ },
32
+ events: {
33
+ async 'addSeasoningRecord' (model) {
34
+ let data = {
35
+ model: model,
36
+ user: this.$login.f
37
+ }
38
+
39
+ let res = await this.$resetpost(
40
+ `rs/logic/addSeasoningRecord`,
41
+ {data: data}
42
+ )
43
+
44
+ this.$refs.query.search()
45
+ },
46
+ 'openSeasoningMaterial' () {
47
+ this.showData = false
48
+ this.$refs.query.$refs.cp.pager = false
49
+
50
+ this.showtotal = false
51
+ this.$nextTick(() => {
52
+ this.showtotal = true
53
+ })
54
+ },
55
+ 'search' () {
56
+ // 关闭详细
57
+ this.showtotal = false
58
+ // 显示列表数据
59
+ this.showData = true
60
+ // 显示分页
61
+ this.$refs.query.$refs.cp.pager = true
62
+ // 调用查询
63
+ this.$refs.query.$refs.cp.$refs.cri.search()
64
+ }
65
+ }
66
+ }
67
+ </script>
68
+
69
+ <style scoped>
70
+ </style>
@@ -0,0 +1,208 @@
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_cea_number_head"
9
+ v-on:keyup.enter="$parent.$parent.search()"
10
+ condition="f_cea_number_head 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_cea_number_tail"
15
+ v-on:keyup.enter="$parent.$parent.search()"
16
+ condition="f_cea_number_tail 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_material_name"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="f_material_name 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_new button_spacing" @click="$parent.$parent.openSeasoningMaterial()">调料</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
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_material_model"
40
+ v-on:keyup.enter="$parent.$parent.search()"
41
+ condition="f_material_model like '%{}%'">
42
+ </div>
43
+ <div class="form-group col-sm-3">
44
+ <label class="font_normal_body">材料规格:</label>
45
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料规格' v-model="model.f_material_norm"
46
+ v-on:keyup.enter="$parent.$parent.search()"
47
+ condition="f_material_norm like '%{}%'">
48
+ </div>
49
+ <div class="form-group col-sm-3">
50
+ <label class="font_normal_body">单&emsp;&emsp;位:</label>
51
+ <input type="text" class="input_search" style="width: 60%" placeholder='单位' v-model="model.f_unit"
52
+ v-on:keyup.enter="$parent.$parent.search()"
53
+ condition="f_unit like '%{}%'">
54
+ </div>
55
+ <div class="form-group col-sm-3">
56
+ <label for="startDate" class="font_normal_body">开始时间:</label>
57
+ <datepicker id="startDate" placeholder="开始日期"
58
+ style="width: 60%!important;"
59
+ v-model="model.startDate"
60
+ :value.sync="model.startDate"
61
+ :format="'yyyy-MM-dd HH:mm:ss'"
62
+ :show-reset-button="true"
63
+ condition="f_operation_date >= '{}'">
64
+ </datepicker>
65
+ </div>
66
+ <div class="form-group col-sm-3">
67
+ <label for="endDate" class="font_normal_body">结束时间:</label>
68
+ <datepicker id="endDate" placeholder="结束日期"
69
+ style="width: 60%!important;"
70
+ v-model="model.endDate"
71
+ :value.sync="model.endDate"
72
+ :format="'yyyy-MM-dd HH:mm:ss'"
73
+ :show-reset-button="true"
74
+ condition="f_operation_date <= '{}'">
75
+ </datepicker>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </criteria>
80
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
81
+ <template partial='head'>
82
+ <tr>
83
+ <th style="white-space: nowrap;">序号</th>
84
+ <th style="white-space: nowrap;">调料工程</th>
85
+ <th style="white-space: nowrap;">调至工程</th>
86
+ <th style="white-space: nowrap;">材料名称</th>
87
+ <th style="white-space: nowrap;">材料型号</th>
88
+ <th style="white-space: nowrap;">材料规格</th>
89
+ <th style="white-space: nowrap;">单位</th>
90
+ <th style="white-space: nowrap;">数量</th>
91
+ <th style="white-space: nowrap;">时间</th>
92
+ <th style="white-space: nowrap;">备注</th>
93
+ </tr>
94
+ </template>
95
+ <template partial='body'>
96
+ <tr >
97
+ <td style="text-align: center;">
98
+ <nobr><font>{{$index+1}}</font></nobr>
99
+ </td>
100
+ <td style="text-align: center;">
101
+ <nobr><font>{{row.f_cea_number_head}}</font></nobr>
102
+ </td>
103
+ <td style="text-align: center;">
104
+ <nobr><font>{{row.f_cea_number_tail}}</font></nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr><font>{{row.f_material_name}}</font></nobr>
108
+ </td>
109
+ <td style="text-align: center;">
110
+ <nobr><font>{{row.f_material_model}}</font></nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr><font>{{row.f_material_norm}}</font></nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr><font>{{row.f_unit}}</font></nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr><font>{{row.f_quantity}}</font></nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr><font>{{row.f_operation_date}}</font></nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr><font>{{row.f_remarks}}</font></nobr>
126
+ </td>
127
+ </tr>
128
+ </template>
129
+ </data-grid>
130
+ </criteria-paged>
131
+ </template>
132
+
133
+ <script>
134
+ import {PagedList} from 'vue-client'
135
+ import * as morentime from '../../../../Util'
136
+
137
+ let readySomething = async function (self) {
138
+ self.$refs.cp.$refs.cri.model.startDate = self.data ? self.data.startDate : morentime.toStandardDateString() + ' 00:00:00'
139
+ self.$refs.cp.$refs.cri.model.endDate = self.data ? self.data.endDate : morentime.toStandardDateString() + ' 23:59:59'
140
+ }
141
+ // Date格式化
142
+ Date.prototype.Format = function (fmt) {
143
+ var o = {
144
+ 'M+': this.getMonth() + 1, // 月份
145
+ 'd+': this.getDate(), // 日
146
+ 'H+': this.getHours(), // 小时
147
+ 'm+': this.getMinutes(), // 分
148
+ 's+': this.getSeconds(), // 秒
149
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
150
+ 'S': this.getMilliseconds() // 毫秒
151
+ }
152
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
153
+ for (var k in o) {
154
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
155
+ }
156
+ return fmt
157
+ }
158
+
159
+
160
+ export default {
161
+ title: '材料列表',
162
+ props: ['showData'],
163
+ data () {
164
+ return {
165
+ model: new PagedList('rs/sql/getSeasoningRecordList', 30, {
166
+ data: {
167
+ orgid: this.$login.f.orgid
168
+ }
169
+ }),
170
+ criteriaShow: false
171
+ }
172
+ },
173
+ ready () {
174
+ // 调用查询
175
+ this.search(),
176
+ readySomething(this).then(() => {
177
+ this.$emit('ready')
178
+ }).catch((error) => {
179
+ this.$emit('error', error)
180
+ })
181
+ },
182
+ methods: {
183
+ openSeasoningMaterial () {
184
+ this.$dispatch('openSeasoningMaterial')
185
+ },
186
+ clear () {
187
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
188
+ this.$refs.cp.$refs.cri.model[key] = null
189
+ })
190
+ },
191
+ // 查询
192
+ search () {
193
+ this.$dispatch('search')
194
+ }
195
+ },
196
+ computed: {
197
+ }
198
+ }
199
+ </script>
200
+
201
+ <style scoped>
202
+ .warning {
203
+ background-color: #f0ad4e;
204
+ }
205
+ .danger {
206
+ background-color: #d9534f;
207
+ }
208
+ </style>