1
This commit is contained in:
parent
84b4e6e9a3
commit
919483b1e6
@ -610,14 +610,27 @@ export default {
|
||||
data:dataObj
|
||||
}).then((res) => {
|
||||
})
|
||||
}else if("over"==this.nowChooseOperate){
|
||||
//服务顾问交车
|
||||
let dataObj = {
|
||||
id: this.ticketInfo.id,
|
||||
remark: "交车",
|
||||
image: fileStr
|
||||
}
|
||||
request({
|
||||
url: '/admin-api/repair/tickets/overOrder',
|
||||
method: 'POST',
|
||||
data:dataObj
|
||||
}).then((res) => {
|
||||
})
|
||||
}
|
||||
this.$refs.popup.close()
|
||||
uni.showToast({
|
||||
title: '操作成功',
|
||||
icon: 'none'
|
||||
})
|
||||
if("done"==this.nowChooseOperate || "check"==this.nowChooseOperate || "callCus"==this.nowChooseOperate || "out"==this.nowChooseOperate){
|
||||
//移交总检需要返回| 总检拍照后需要返回
|
||||
if("done"==this.nowChooseOperate || "check"==this.nowChooseOperate || "callCus"==this.nowChooseOperate || "out"==this.nowChooseOperate || "over"==this.nowChooseOperate){
|
||||
//移交总检需要返回| 总检拍照后需要返回 | 服务顾问交车后返回
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
},500)
|
||||
@ -654,6 +667,12 @@ export default {
|
||||
text: '通知取车', active: false,code:"callCus"
|
||||
})
|
||||
}
|
||||
if("06"==this.ticketInfo.ticketsStatus || "02"==this.ticketInfo.ticketsStatus ){
|
||||
//工单状态是已结算或者挂账,可以交车
|
||||
this.content.push({
|
||||
text: '交车', active: false,code:"over"
|
||||
})
|
||||
}
|
||||
//设置服务顾问默认的姓名联系方式
|
||||
this.callServiceInfo.name = this.loginUser.nickname
|
||||
this.callServiceInfo.tel = this.loginUser.mobile
|
||||
@ -718,8 +737,8 @@ export default {
|
||||
console.log(e)
|
||||
this.content[e.index].active = !e.item.active
|
||||
this.nowChooseOperate = e.item.code
|
||||
if("working"==e.item.code || "done_half"==e.item.code || "done"==e.item.code || "other"==e.item.code || "check"==e.item.code || "out"==e.item.code){
|
||||
//维修过程中拍照上传、阶段完成、移交其他班组、移交总检、出厂检验
|
||||
if("working"==e.item.code || "done_half"==e.item.code || "done"==e.item.code || "other"==e.item.code || "check"==e.item.code || "out"==e.item.code || "over"==e.item.code){
|
||||
//维修过程中拍照上传、阶段完成、移交其他班组、移交总检、出厂检验、交车
|
||||
this.fileList=[]
|
||||
this.$refs.popup.open("bottom")
|
||||
}else if("start" == e.item.code){
|
||||
|
@ -46,13 +46,16 @@ export function getOrderStatusText(ticketsStatus,workStatus){
|
||||
str = "待取车结算"
|
||||
}else if("06"==ticketsStatus){
|
||||
//挂单/记账
|
||||
str = "挂单/记账"
|
||||
str = "已挂单/记账待交车"
|
||||
}else if("07"==ticketsStatus){
|
||||
//待通知客户取车
|
||||
str = "待通知客户取车"
|
||||
}else if("08"==ticketsStatus){
|
||||
//已交车
|
||||
str = "已交车"
|
||||
}else if("02"==ticketsStatus){
|
||||
//已结账
|
||||
str = "已结账"
|
||||
str = "已结账待交车"
|
||||
}else if("03"==ticketsStatus){
|
||||
//已作废
|
||||
str = "已作废"
|
||||
|
Loading…
Reference in New Issue
Block a user