|
@@ -26,7 +26,7 @@
|
|
|
<a-row :gutter="10">
|
|
|
<a-col :span="17">
|
|
|
<custList
|
|
|
- v-if="!form.dealerUpsSn"
|
|
|
+ v-if="!form.dealerUpsSn || isSpecial"
|
|
|
ref="custList"
|
|
|
:notDealerSn="notZdDealer"
|
|
|
:notDealerType="['special']"
|
|
@@ -129,6 +129,7 @@ export default {
|
|
|
},
|
|
|
form: {
|
|
|
dealerSn: undefined,
|
|
|
+ dealerUpsSn: undefined,
|
|
|
rebateParentType: [], // 差价归属
|
|
|
rebateDealerList: [], // 经销商列表
|
|
|
rebateScopeList: [] // 品类列表
|
|
@@ -322,7 +323,7 @@ export default {
|
|
|
},
|
|
|
// 重置表单
|
|
|
resetForm () {
|
|
|
- if (!this.isSpecial && !this.form.dealerUpsSn) {
|
|
|
+ if (this.isSpecial || !this.form.dealerUpsSn) {
|
|
|
this.$refs.custList.resetForm()
|
|
|
}
|
|
|
this.form.dealerSn = undefined
|