Commit 69018e61 by cen

Merge branch 'SAAS+V5.3.0' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.3.0

2 parents 8f50eb08 50870982
...@@ -266,8 +266,14 @@ export default { ...@@ -266,8 +266,14 @@ export default {
this.$store.dispatch("setReceptionTrack", { key, value }) this.$store.dispatch("setReceptionTrack", { key, value })
}, },
handleSelect (item) { handleSelect (item) {
this.customerInfo.carModel = item.name this.customerInfo.carModel = item.name || ''
this.customerInfo.carModelId = item.id this.customerInfo.carModelId = item.id || ''
Object.assign(this.customerInfo, {
carBrand: item.carChildsBrandName || '',
carBrandId: item.carChildsBrandId || '',
oneCarBrand: item.carBrand || '',
oneCarBrandId: item.carBrandId || ''
})
this.$store.dispatch('setCustomerInfo', this.customerInfo) this.$store.dispatch('setCustomerInfo', this.customerInfo)
this.carInfo = item this.carInfo = item
uni.hideLoading() uni.hideLoading()
......
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
* @LastEditTime: 2024-05-31 16:07:23 * @LastEditTime: 2024-05-31 16:07:23
--> -->
<template> <template>
<view <view class="detail-box">
class="detail-box"
>
<view class="nav-bar"> <view class="nav-bar">
<view <view
class="back" class="back"
...@@ -204,13 +202,17 @@ export default { ...@@ -204,13 +202,17 @@ export default {
// } // }
let customer = { let customer = {
customerName: item.customerName, customerName: item.customerName,
carModel: item.carSeriesName, carModel: item.carSeriesName || '',
phoneNumber: item.customerPhone, phoneNumber: item.customerPhone,
salesUuid: item.userId, salesUuid: item.userId,
staffName: item.employeeName, staffName: item.employeeName,
receiveCouponDate: item.receiveCouponDate, receiveCouponDate: item.receiveCouponDate,
customerCouponId: item.customerCouponId, customerCouponId: item.customerCouponId,
carSeriesId: item.carSeriesId carSeriesId: item.carSeriesId || '',
carBrand: item.carChildsBrandName || '',
carBrandId: item.carChildsBrandId || '',
oneCarBrand: item.carBrand || '',
oneCarBrandId: item.carBrandId || ''
} }
let [reception] = this.$refs.media1 let [reception] = this.$refs.media1
reception?.clearCustomerReceivedTimer() reception?.clearCustomerReceivedTimer()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!