From 5071dfff934e4165dcf1fa7215bd6ccf5e4acb44 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Wed, 30 Oct 2024 11:26:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/repair/tickets/Tickets.js | 9 ++ .../repair/tickets/Components/TicketTable.vue | 6 +- .../repair/tickets/Components/TicketsShow.vue | 42 +++++++++ .../repair/tickets/Components/UserInfo.vue | 16 ++-- src/views/repair/tickets/form/EditTickets.vue | 88 ++++++++++++++++++- 5 files changed, 148 insertions(+), 13 deletions(-) diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js index 1babdd4..aa11095 100644 --- a/src/api/repair/tickets/Tickets.js +++ b/src/api/repair/tickets/Tickets.js @@ -158,3 +158,12 @@ export function addItems(data){ data }) } + +// 修改工单主表,只是主表 +export function updateTicket(data){ + return request({ + url: preUrl + '/updateTicket', + method: 'post', + data + }) +} diff --git a/src/views/repair/tickets/Components/TicketTable.vue b/src/views/repair/tickets/Components/TicketTable.vue index f2b9375..b383283 100644 --- a/src/views/repair/tickets/Components/TicketTable.vue +++ b/src/views/repair/tickets/Components/TicketTable.vue @@ -206,7 +206,7 @@ export default { formData: { id: null, ticketsStatus: null, - remark: null, + billingRemark: null, payType: null }, formRules:{ @@ -226,7 +226,7 @@ export default { cancelButtonText: '取消', }).then(({value}) => { this.formData.id = row.id - this.formData.remark = value + this.formData['remark'] = value this.formData.ticketsStatus = "03" this.doVoid() }).catch(() => { @@ -260,7 +260,7 @@ export default { this.formData = { id: null, ticketsStatus: null, - remark: null, + billingRemark: null, payType: null } this.formData['id'] = row.id diff --git a/src/views/repair/tickets/Components/TicketsShow.vue b/src/views/repair/tickets/Components/TicketsShow.vue index 867aef2..a582ef4 100644 --- a/src/views/repair/tickets/Components/TicketsShow.vue +++ b/src/views/repair/tickets/Components/TicketsShow.vue @@ -58,6 +58,48 @@ {{ parseTime(info.createTime, '{y}-{m}-{d}') }} + + + {{ info.mileageTraveled }} + + + + {{ info.threePackUnits }} + + + + {{ info.insuranceName }} + + + + {{ info.managerMoney }} + + + + {{ info.rescueMoney }} + + + + {{ info.threePackMoney }} + + + + {{ info.confirmFaultMoney }} +