Commit 39857c53 by 李伟康

commit 修复

1 parent 49523901
...@@ -177,6 +177,7 @@ export default { ...@@ -177,6 +177,7 @@ export default {
}); });
return return
} }
console.log(item)
let customer = { let customer = {
customerName: item.customerName, customerName: item.customerName,
carModel: item.carSeriesName, carModel: item.carSeriesName,
......
...@@ -370,6 +370,8 @@ export default { ...@@ -370,6 +370,8 @@ export default {
}, },
/**客户邀约接待 */ /**客户邀约接待 */
reception (customer) { reception (customer) {
this.currentCar = ''
this.$nextTick(() => {
let { customerType } = this let { customerType } = this
if (customerType == -1) this.start(false) //开始接待 if (customerType == -1) this.start(false) //开始接待
this.customerType = 0 this.customerType = 0
...@@ -380,7 +382,9 @@ export default { ...@@ -380,7 +382,9 @@ export default {
carBannerList.map(i => { carBannerList.map(i => {
if (customer.carModel.includes(i.title)) currentCar = i.title if (customer.carModel.includes(i.title)) currentCar = i.title
}) })
console.log(currentCar)
this.currentCar = currentCar this.currentCar = currentCar
})
}, },
swiperChange (e) { swiperChange (e) {
this.currentIndex = e.detail.current 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!