diff --git a/src/views/repair/tickets/Components/TicketSearch.vue b/src/views/repair/tickets/Components/TicketSearch.vue index 7aa780e..a980e2f 100644 --- a/src/views/repair/tickets/Components/TicketSearch.vue +++ b/src/views/repair/tickets/Components/TicketSearch.vue @@ -42,7 +42,7 @@ - + diff --git a/src/views/repair/tickets/Components/TicketTable.vue b/src/views/repair/tickets/Components/TicketTable.vue index cc8e2f7..f2b9375 100644 --- a/src/views/repair/tickets/Components/TicketTable.vue +++ b/src/views/repair/tickets/Components/TicketTable.vue @@ -119,6 +119,9 @@ @click="handlePrint(scope.row)" >打印 + + 编辑工单 + @@ -145,6 +148,8 @@ + + @@ -176,10 +181,11 @@ import {setTicketsVoid, setTicketsPaid, setTicketsPrint} from '@/api/repair/tickets/Tickets' import TicketsShow from "@/views/repair/tickets/Components/TicketsShow.vue"; import {getByNameAndMobile} from "@/api/base/customer"; +import EditTickets from "@/views/repair/tickets/form/EditTickets.vue"; export default { name: "TicketTable", - components: {TicketsShow}, + components: {EditTickets, TicketsShow}, props: { TicketType: { type: String, @@ -286,6 +292,12 @@ export default { return data.filter(item => !item.label.includes("挂账")) } }, + handleEditTicket(row){ + this.$refs.editTicket.open(row) + }, + returnSuccess(){ + this.$emit("success") + } } } diff --git a/src/views/repair/tickets/Components/UserInfo.vue b/src/views/repair/tickets/Components/UserInfo.vue index cee2348..852fd5a 100644 --- a/src/views/repair/tickets/Components/UserInfo.vue +++ b/src/views/repair/tickets/Components/UserInfo.vue @@ -84,15 +84,45 @@ - + - + + + + + + + + + + + + + + + + + + + + + {{ info.userMobile }} + + + {{ info.mileageTraveled }} + + + + {{ info.threePackUnits }} + + + + {{ info.insuranceName }} + + + + {{ info.managerMoney }} + + + + {{ info.rescueMoney }} + + + + {{ info.threePackMoney }} + + + + {{ info.confirmFaultMoney }} +