Commit 39857c53 by 李伟康

commit 修复

1 parent 49523901
......@@ -177,6 +177,7 @@ export default {
});
return
}
console.log(item)
let customer = {
customerName: item.customerName,
carModel: item.carSeriesName,
......
......@@ -370,17 +370,21 @@ export default {
},
/**客户邀约接待 */
reception (customer) {
let { customerType } = this
if (customerType == -1) this.start(false) //开始接待
this.customerType = 0
this.jumpPage()
this.$nextTick(() => this.$store.dispatch('setCustomerInfo', customer))
let { carBannerList } = this,
currentCar = carBannerList[1].title
carBannerList.map(i => {
if (customer.carModel.includes(i.title)) currentCar = i.title
this.currentCar = ''
this.$nextTick(() => {
let { customerType } = this
if (customerType == -1) this.start(false) //开始接待
this.customerType = 0
this.jumpPage()
this.$nextTick(() => this.$store.dispatch('setCustomerInfo', customer))
let { carBannerList } = this,
currentCar = carBannerList[1].title
carBannerList.map(i => {
if (customer.carModel.includes(i.title)) currentCar = i.title
})
console.log(currentCar)
this.currentCar = currentCar
})
this.currentCar = currentCar
},
swiperChange (e) {
this.currentIndex = e.detail.current
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!