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 }} +