Commit 14f497db by Lin

fix(customerPages): 更新车型字段引用,添加调试信息

- 将 carChildsBrandName 和 carChildsBrandId 更新为使用 item.carBrand 和 item.carBrandId,以确保数据准确性。
- 添加调试日志以便于跟踪车型选择。
1 parent 437a7602
...@@ -832,9 +832,11 @@ export default { ...@@ -832,9 +832,11 @@ export default {
this.$refs[popkey].close() this.$refs[popkey].close()
if (popkey == 'carBrandVisible') { if (popkey == 'carBrandVisible') {
this.$refs.carBrandVisible.close() this.$refs.carBrandVisible.close()
console.log('选择车型***', item);
Object.assign(this.customerInfo, { Object.assign(this.customerInfo, {
carChildsBrandName: item.name, carChildsBrandName: item.carBrand,
carChildsBrandId: item.id, carChildsBrandId: item.carBrandId,
carBrand: item.carChildsBrandName, carBrand: item.carChildsBrandName,
carBrandId: item.carChildsBrandId, carBrandId: item.carChildsBrandId,
carSeriesName: item.name, carSeriesName: item.name,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!