diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js index 4e46991..a663a3d 100644 --- a/src/api/repair/tickets/Tickets.js +++ b/src/api/repair/tickets/Tickets.js @@ -46,6 +46,15 @@ export function setTicketsPaid(data){ }) } +// 打印导出 +export function setTicketsPrint(data){ + return request({ + url: preUrl + "/print", + method: 'post', + data + }) +} + // 新增客户、车辆信息 export function updateCustomerAndCar(data){ return request({ diff --git a/src/views/repair/tickets/Components/TicketTable.vue b/src/views/repair/tickets/Components/TicketTable.vue index a0ae1c3..9c5d499 100644 --- a/src/views/repair/tickets/Components/TicketTable.vue +++ b/src/views/repair/tickets/Components/TicketTable.vue @@ -115,6 +115,10 @@ @click="handleVoid(scope.row)" >作废 + 打印 + @@ -145,7 +149,7 @@