Commit b661c3ac authored by lixy's avatar lixy

预定中

parent 50b410bf
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
let arr = item.vehicleModel.keyword.split(","); let arr = item.vehicleModel.keyword.split(",");
item.vehicleModel.keyword = arr.join(" | "); item.vehicleModel.keyword = arr.join(" | ");
this.currentItem = {item: item, iitem: iitem, ii: ii}; this.currentItem = {item: item, iitem: iitem, ii: ii};
} else {debugger } else {
if(ii.vehicleBookRecord.status == 1){//审核中的显示预约弹框 if(ii.vehicleBookRecord.status == 1){//审核中的显示预约弹框
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, iitem: iitem, ii: ii, title: "预定用车"}; this.currentItem = {item: item, iitem: iitem, ii: ii, title: "预定用车"};
......
...@@ -257,39 +257,45 @@ ...@@ -257,39 +257,45 @@
item.numberPlate = this.listQuery.numberPlate;//车牌号 item.numberPlate = this.listQuery.numberPlate;//车牌号
item.parkCompanyName = cc.parkCompanyName;//当前停靠公司 item.parkCompanyName = cc.parkCompanyName;//当前停靠公司
item.subordinateBranchName = cc.subordinateBranchName;//所属公司 item.subordinateBranchName = cc.subordinateBranchName;//所属公司
if(cc.bookType == 6){ if(ii.vehicleBookRecord.status == 1){
//保养 //审核中显示预定中
this.baoyang = true; this.zhanlan = true;
this.currentItem = {item: item, iitem: iitem, ii: ii}; this.currentItem = {item: item, ii: ii, title: "预定用车"};
} else if(cc.bookType == 3){ } else{
if(cc.bookType == 6){
//保养
this.baoyang = true;
this.currentItem = {item: item, iitem: iitem, ii: ii};
} else if(cc.bookType == 3){
//维修 //维修
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, ii: ii,title: "维修",upkeepName:'维修'}; this.currentItem = {item: item, ii: ii,title: "维修",upkeepName:'维修'};
} else if(cc.bookType == 4){ } else if(cc.bookType == 4){
//展览 //展览
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, ii: ii, title: "展览用车",upkeepName:'展览'}; this.currentItem = {item: item, ii: ii, title: "展览用车",upkeepName:'展览'};
} else if(cc.bookType == 7){ } else if(cc.bookType == 7){
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, ii: ii, title: "预定用车",upkeepName:'预定'}; this.currentItem = {item: item, ii: ii, title: "预定用车",upkeepName:'预定'};
} else if(cc.bookType == 1){ } else if(cc.bookType == 1){
this.getOneVechi(cc.orderNo); this.getOneVechi(cc.orderNo);
this.currentItem = {item: item, iitem: iitem, ii: ii, title: "租车订单"}; this.currentItem = {item: item, iitem: iitem, ii: ii, title: "租车订单"};
} else if(cc.bookType == 9){ } else if(cc.bookType == 9){
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, ii: ii,title: "客户用车",upkeepName:'客户用车'}; this.currentItem = {item: item, ii: ii,title: "客户用车",upkeepName:'客户用车'};
} else if(cc.bookType == 5) { } else if(cc.bookType == 5) {
//房车游订单详情 //房车游订单详情
this.tourRow = {no: cc.vehicleBookRecord.orderNo}; this.tourRow = {no: cc.vehicleBookRecord.orderNo};
this.tourDialogVisible = true this.tourDialogVisible = true
} else if(cc.bookType == 8) { } else if(cc.bookType == 8) {
//禁用 //禁用
this.jinyong = true; this.jinyong = true;
this.currentItem = {item: item, iitem: iitem, ii: ii, title: "禁用"}; this.currentItem = {item: item, iitem: iitem, ii: ii, title: "禁用"};
} else if(cc.bookType == 10){ } else if(cc.bookType == 10){
this.zhanlan = true; this.zhanlan = true;
this.currentItem = {item: item, ii: ii,title: "其他",upkeepName:'其他'}; this.currentItem = {item: item, ii: ii,title: "其他",upkeepName:'其他'};
} }
}
}, },
/** /**
* 根据订单号获取订单详情 * 根据订单号获取订单详情
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment