Bläddra i källkod

fix: 家用工程订单

zh 2 år sedan
förälder
incheckning
21e5b11338
1 ändrade filer med 1 tillägg och 9 borttagningar
  1. 1 9
      src/views/supply/engin/home_list.vue

+ 1 - 9
src/views/supply/engin/home_list.vue

@@ -314,15 +314,6 @@ export default {
     // getList: v2EnginOrderHomeList,
     async getList(...p) {
       this.$refs.pageRef.showTable = false
-      try {
-        const res = await v2EnginOrderHomeCountList(...p)
-        this.numSum.totalC = res.data.totalC
-        this.numSum.amountC = res.data.amountC
-        this.numSum.totalEC = res.data.totalEC
-      } catch (error) {
-        // console.log(error)
-      }
-
       let params = {}
 
       if (this.orderStatusParam === '') {
@@ -346,6 +337,7 @@ export default {
         let res = await v2EnginOrderHomeCountList(params)
         this.numSum.totalC = res.data.totalC
         this.numSum.amountC = res.data.amountC
+        this.numSum.totalEC = res.data.totalEC
       } catch (error) {
         // console.log(error)
       }