فهرست منبع

Merge branch 'feature/Feature-copy' into develop

howie 2 سال پیش
والد
کامیت
aa7575fb69
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/sales_policy/components/AddPolicy.vue
  2. 1 1
      src/views/sales_policy/components/editPolicy.vue

+ 1 - 1
src/views/sales_policy/components/AddPolicy.vue

@@ -857,7 +857,7 @@ export default {
       };
       try {
         const {data}  =  await getMaterialList(paramss)
-      this.dataList = [...this.dataList,...data.records];
+      this.dataList = data.records
           data.records.forEach((k) => {
             k.walletIds = [];
             k.rebateWalletIds = [];

+ 1 - 1
src/views/sales_policy/components/editPolicy.vue

@@ -903,7 +903,7 @@ export default {
             }
           })
 
-          this.dataList = [...this.dataList,...result.data.records]
+          this.dataList = result.data.records
           this.listTotal = result.data.total
           this.listLoading = false
         })