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 }}
+
预计完工
diff --git a/src/views/repair/tickets/Components/UserInfo.vue b/src/views/repair/tickets/Components/UserInfo.vue
index 852fd5a..7a94c43 100644
--- a/src/views/repair/tickets/Components/UserInfo.vue
+++ b/src/views/repair/tickets/Components/UserInfo.vue
@@ -393,10 +393,10 @@ export default {
mileageTraveled: null,
threePackUnits: null,
insuranceName: null,
- managerMoney: null,
- rescueMoney: null,
- threePackMoney: null,
- confirmFaultMoney: null,
+ managerMoney: 0,
+ rescueMoney: 0,
+ threePackMoney: 0,
+ confirmFaultMoney: 0,
},
selectUser: {},
selectCar: {},
@@ -535,10 +535,10 @@ export default {
mileageTraveled: null,
threePackUnits: null,
insuranceName: null,
- managerMoney: null,
- rescueMoney: null,
- threePackMoney: null,
- confirmFaultMoney: null,
+ managerMoney: 0,
+ rescueMoney: 0,
+ threePackMoney: 0,
+ confirmFaultMoney: 0,
}
this.selectUser = {}
this.selectCar = {}
diff --git a/src/views/repair/tickets/form/EditTickets.vue b/src/views/repair/tickets/form/EditTickets.vue
index 33ad102..ee38cce 100644
--- a/src/views/repair/tickets/form/EditTickets.vue
+++ b/src/views/repair/tickets/form/EditTickets.vue
@@ -234,11 +234,63 @@
取 消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+