@@ -96,7 +96,6 @@ export default {
const notSn = []
this.notDealerSn.map(item => { notSn.push(item.parentDealerSn) })
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
})
@@ -29,7 +29,7 @@
v-if="!form.dealerUpsSn || isSpecial"
ref="custList"
:notDealerSn="notZdDealer"
- :notDealerType="['SPECIAL']"
+ :notDealerType="isSpecial?[]:['SPECIAL']"
@change="custSupChange"
placeholder="请输入经销商名称搜索"></custList>
<a-input v-else :value="superDealerName" disabled />