补充维修工单新加的字段

This commit is contained in:
xiaofajia 2024-12-05 11:27:05 +08:00
parent 278847d927
commit 9b49bf61a0
2 changed files with 73 additions and 32 deletions

View File

@ -52,6 +52,18 @@
</template> </template>
{{ info.userMobile }} {{ info.userMobile }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item>
<template slot="label">
经办人姓名
</template>
{{ info.handleName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
经办人电话
</template>
{{ info.handleMobile }}
</el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
创建时间 创建时间
@ -114,34 +126,46 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
参考成本 最近保养日期
</template> </template>
{{ info.cost }} {{ parseTime(info.maintenanceDate, '{y}-{m}-{d}') }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
参考毛利 最近保养里程
</template> </template>
{{ info.profit }} {{ info.maintenanceMileage }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
领料状态
</template>
<dict-tag :type="DICT_TYPE.REPAIR_PART_STATUS" v-model="info.partStatus"/>
</el-descriptions-item> </el-descriptions-item>
<!-- <el-descriptions-item>-->
<!-- <template slot="label">-->
<!-- 参考成本-->
<!-- </template>-->
<!-- {{ info.cost }}-->
<!-- </el-descriptions-item>-->
<!-- <el-descriptions-item>-->
<!-- <template slot="label">-->
<!-- 参考毛利-->
<!-- </template>-->
<!-- {{ info.profit }}-->
<!-- </el-descriptions-item>-->
<!-- <el-descriptions-item>-->
<!-- <template slot="label">-->
<!-- 领料状态-->
<!-- </template>-->
<!-- <dict-tag :type="DICT_TYPE.REPAIR_PART_STATUS" v-model="info.partStatus"/>-->
<!-- </el-descriptions-item>-->
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
服务顾问 服务顾问
</template> </template>
{{ info.adviserName }} {{ info.adviserName }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <!-- <el-descriptions-item>-->
<template slot="label"> <!-- <template slot="label">-->
所属门店 <!-- 所属门店-->
</template> <!-- </template>-->
{{ info.corpId }} <!-- {{ info.corpId }}-->
</el-descriptions-item> <!-- </el-descriptions-item>-->
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
工单状态 工单状态

View File

@ -124,21 +124,6 @@
</template> </template>
<el-input v-model="formData.confirmFaultMoney" /> <el-input v-model="formData.confirmFaultMoney" />
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item>
<template slot="label">
预约订单选择
</template>
<el-select v-model="formData.bookingId" size="small" @change="updateBooking">
<el-option v-for="item in bookingList" :key="item.id" :value="item.id"
:label="item.bookingTime"/>
</el-select>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
服务顾问
</template>
<StaffChoose v-model="selectStaff" :is-get="'true'"/>
</el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
经办人姓名 经办人姓名
@ -152,7 +137,35 @@
<el-input v-model="formData.handleMobile" /> <el-input v-model="formData.handleMobile" />
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<!-- 占位 --> <template slot="label">
最近保养日期
</template>
<el-date-picker
v-model="formData.maintenanceDate"
type="date"
placeholder="选择日期">
</el-date-picker>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
最近保养里程
</template>
<el-input v-model="formData.maintenanceMileage" />
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
预约订单选择
</template>
<el-select v-model="formData.bookingId" size="small" @change="updateBooking">
<el-option v-for="item in bookingList" :key="item.id" :value="item.id"
:label="item.bookingTime"/>
</el-select>
</el-descriptions-item>
<el-descriptions-item :span="3">
<template slot="label">
服务顾问
</template>
<StaffChoose v-model="selectStaff" :is-get="'true'"/>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"> <template slot="label">
@ -429,6 +442,8 @@ export default {
image: null, image: null,
handleName: null, handleName: null,
handleMobile: null, handleMobile: null,
maintenanceDate: null,
maintenanceMileage: null
}, },
selectUser: {}, selectUser: {},
selectCar: {}, selectCar: {},
@ -580,6 +595,8 @@ export default {
image: null, image: null,
handleName: null, handleName: null,
handleMobile: null, handleMobile: null,
maintenanceDate: null,
maintenanceMileage: null
} }
this.selectUser = {} this.selectUser = {}
this.selectCar = {} this.selectCar = {}