客户信息 添加 经办人信息(姓名、电话)

This commit is contained in:
xiaofajia 2024-12-04 11:25:46 +08:00
parent 0b1acbe7b1
commit 0d6bca2256

View File

@ -139,6 +139,21 @@
</template> </template>
<StaffChoose v-model="selectStaff" :is-get="'true'"/> <StaffChoose v-model="selectStaff" :is-get="'true'"/>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item>
<template slot="label">
经办人姓名
</template>
<el-input v-model="formData.handleName" />
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
经办人电话
</template>
<el-input v-model="formData.handleMobile" />
</el-descriptions-item>
<el-descriptions-item>
<!-- 占位 -->
</el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
接车图片 接车图片
@ -337,6 +352,8 @@ export default {
watch: { watch: {
selectUser(val) { selectUser(val) {
if (val) { if (val) {
this.formData.handleName = val.cusName
this.formData.handleMobile = val.phoneNumber
if (!val.isRes) { if (!val.isRes) {
this.selectCar = {} this.selectCar = {}
this.bookingList = [] this.bookingList = []
@ -349,6 +366,8 @@ export default {
} }
} }
} else { } else {
this.formData.handleName = null
this.formData.handleMobile = null
this.selectCar = {} this.selectCar = {}
this.bookingList = [] this.bookingList = []
this.couponList = [] this.couponList = []
@ -407,7 +426,9 @@ export default {
rescueMoney: 0, rescueMoney: 0,
threePackMoney: 0, threePackMoney: 0,
confirmFaultMoney: 0, confirmFaultMoney: 0,
image: null image: null,
handleName: null,
handleMobile: null,
}, },
selectUser: {}, selectUser: {},
selectCar: {}, selectCar: {},
@ -556,7 +577,9 @@ export default {
rescueMoney: 0, rescueMoney: 0,
threePackMoney: 0, threePackMoney: 0,
confirmFaultMoney: 0, confirmFaultMoney: 0,
image: null image: null,
handleName: null,
handleMobile: null,
} }
this.selectUser = {} this.selectUser = {}
this.selectCar = {} this.selectCar = {}