lilei 1 yıl önce
ebeveyn
işleme
f5f13eb968

+ 1 - 1
src/views/common/custList.vue

@@ -95,7 +95,7 @@ export default {
         this.data = res.data && res.data.list ? res.data.list : []
         const notSn = []
         this.notDealerSn.map(item => { notSn.push(item.parentDealerSn) })
-        this.data = this.data.filter(item => item.dealerType1 && !this.notDealerType.includes(item.dealerType1))
+        this.data = this.data.filter(item => item.dealerLevel && !this.notDealerType.includes(item.dealerLevel))
         console.log(notSn)
         this.data = this.data.filter(item => !notSn.includes(item.dealerSn))
         this.fetching = false

+ 1 - 1
src/views/dealerManagement/rebateBinding/priceDiffModal.vue

@@ -29,7 +29,7 @@
                   v-if="!form.dealerUpsSn || isSpecial"
                   ref="custList"
                   :notDealerSn="notZdDealer"
-                  :notDealerType="['special']"
+                  :notDealerType="['SPECIAL']"
                   @change="custSupChange"
                   placeholder="请输入经销商名称搜索"></custList>
                 <a-input v-else :value="superDealerName" disabled />