lilei hai 1 ano
pai
achega
d6718ef42a
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/views/dealerManagement/rebateBinding/list.vue

+ 5 - 1
src/views/dealerManagement/rebateBinding/list.vue

@@ -65,7 +65,7 @@
     </a-spin>
 
     <!-- 差价设置 -->
-    <priceDiffModal ref="priceDiffModal" :openModal="openModal" @ok="resetSearchForm" @close="openModal=false"></pricediffmodal>
+    <priceDiffModal ref="priceDiffModal" :openModal="openModal" @ok="resetGetData" @close="openModal=false"></pricediffmodal>
   </div>
 </template>
 
@@ -146,6 +146,10 @@ export default {
       }
       this.expandAll = !this.expandAll
     },
+    resetGetData () {
+      this.$refs.categoryList.dataSource = []
+      this.resetSearchForm()
+    },
     // 重置表单
     resetSearchForm () {
       this.queryParam.dealerName = ''