diff --git a/src/views/repair/tickets/Components/UserInfo.vue b/src/views/repair/tickets/Components/UserInfo.vue index 5245a2a..b3d22ff 100644 --- a/src/views/repair/tickets/Components/UserInfo.vue +++ b/src/views/repair/tickets/Components/UserInfo.vue @@ -506,7 +506,7 @@ export default { }, // 新增基础信息init createInit() { - this.formData.bookingId = this.formData?.bookingId.toString() || null + this.formData.bookingId = this.formData?.bookingId?.toString() || null // 生成工单号 this.formData.ticketNo = this.formData.ticketNo || createUniqueCodeByHead("GD") // 质保说明