|
@@ -164,10 +164,12 @@ export default {
|
|
handleDealerModal () {
|
|
handleDealerModal () {
|
|
this.openDealerModal = true
|
|
this.openDealerModal = true
|
|
const _this = this
|
|
const _this = this
|
|
|
|
+ let arr = []
|
|
if (_this.chooseDealerList.length == 0) {
|
|
if (_this.chooseDealerList.length == 0) {
|
|
_this.form.dealerSnList = []
|
|
_this.form.dealerSnList = []
|
|
|
|
+ } else {
|
|
|
|
+ arr = _this.chooseDealerList.map(item => { return item.dealerSn })
|
|
}
|
|
}
|
|
- const arr = _this.form.dealerSnList
|
|
|
|
// 选择经销商回显
|
|
// 选择经销商回显
|
|
_this.$nextTick(() => {
|
|
_this.$nextTick(() => {
|
|
_this.$refs.dealerChoose.pageInit(arr)
|
|
_this.$refs.dealerChoose.pageInit(arr)
|