Browse Source

no message

linwenxin 9 months ago
parent
commit
26ab82e2ab

+ 12 - 12
src/views/workOrder/workOrderPool/detailModule/workOrderInfo/buttons/processFeedback.vue

@@ -329,18 +329,6 @@ export default {
       ]
     }
   },
-  created() {
-    serviceCategoryListMinus({
-      pageNum: 1,
-      pageSize: -1,
-      params: [
-        { param: 'type_attribute', compare: '=', value: 'DED' },
-        { param: 'status', compare: '=', value: 'ON' }
-      ]
-    }).then(res => {
-      this.serviceCategoryListMinusData = res.data.records
-    })
-  },
   methods: {
     jisuanzhi() {
       var recycPayAmount = 0
@@ -352,6 +340,17 @@ export default {
     open() {
       this.formDialog = true
 
+      serviceCategoryListMinus({
+        pageNum: 1,
+        pageSize: -1,
+        params: [
+          { param: 'type_attribute', compare: '=', value: 'DED' },
+          { param: 'status', compare: '=', value: 'ON' }
+        ]
+      }).then(res => {
+        this.serviceCategoryListMinusData = res.data.records
+      })
+
       changeOrderGetOrderProduct({
         id: this.orderInfo.id
       }).then(res => {
@@ -364,6 +363,7 @@ export default {
             otherImgs: []
           }
         })
+        console.log(this.huishouwangongList)
       })
       // this.huishouwangongList = (this.orderInfo?.orderProducts || []).map(item => {
       //   return {