1
This commit is contained in:
parent
8774bb17a2
commit
265afebf94
@ -191,7 +191,7 @@ export default {
|
||||
flag:1,
|
||||
ticketsStatus:order.ticketsStatus,
|
||||
ticketsWorkStatus:order.ticketsWorkStatus,
|
||||
flagStr:getOrderStatusText(order),
|
||||
flagStr:getOrderStatusText(order.ticketsStatus,order.ticketsWorkStatus),
|
||||
carNum:order.carNo,
|
||||
carModel:order.carBrandName,
|
||||
userName:order.userName,
|
||||
|
@ -30,26 +30,27 @@ function getWXStatusHeight() {
|
||||
|
||||
/**
|
||||
* 根据订单的状态获取订单的文字展示状态
|
||||
* @param orderInfo
|
||||
* @param ticketsStatus 订单状态
|
||||
* @param workStatus 维修工作状态
|
||||
*/
|
||||
function getOrderStatusText(orderInfo){
|
||||
function getOrderStatusText(ticketsStatus,workStatus){
|
||||
let str = "";
|
||||
if("04"==orderInfo.ticketsStatus){
|
||||
if("04"==ticketsStatus){
|
||||
//待派工
|
||||
str = "待派工"
|
||||
}else if("05"==orderInfo.ticketsStatus){
|
||||
}else if("05"==ticketsStatus){
|
||||
//维修中
|
||||
str = "维修中"
|
||||
}else if("01"==orderInfo.ticketsStatus){
|
||||
}else if("01"==ticketsStatus){
|
||||
//待结算
|
||||
str = "待结算"
|
||||
}else if("06"==orderInfo.ticketsStatus){
|
||||
}else if("06"==ticketsStatus){
|
||||
//挂单/记账
|
||||
str = "挂单/记账"
|
||||
}else if("02"==orderInfo.ticketsStatus){
|
||||
}else if("02"==ticketsStatus){
|
||||
//已结账
|
||||
str = "已结账"
|
||||
}else if("03"==orderInfo.ticketsStatus){
|
||||
}else if("03"==ticketsStatus){
|
||||
//已作废
|
||||
str = "已作废"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user