Commit 0df07e46 authored by xxx's avatar xxx

修改

parent 63ac42e5
......@@ -75,16 +75,29 @@ export default {
this.btnShow1 = false;
this.btnShow2 = false;
this.btnShow3 = false;
this.btnShow4 = false;
}else{
httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => {
if(resSon1.code == 200){
this.showDe = true;
this.carDestination = res_1.data.content[0].destination;
this.dingDanId = res_1.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
this.paidanFlag = res_1.data.content[0].flag;
this.btnShow4 = true;
if(res_1.data.content[0].orderClass == 0){
this.orderClass = '装车';
}else{
this.orderClass = '卸车';
this.btnShow2 = true;
}
if(resSon1.data.content[0].workStatus == 0 && this.paidanFlag == 0){
this.paidanFlag = res_1.data.content[0].flag;
if(res_1.data.content[0].orderClass == 0){
this.showDe = true;
this.btnShow1 = true;
this.btnShow2 = false;
this.btnShow3 = false;
this.btnShow4 = false;
this.carDestination = res_1.data.content[0].destination;
this.dingDanId = res_1.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
......@@ -140,12 +153,20 @@ export default {
//有人工调度下面展示操作
httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => {
if(resSon1.code == 200){
this.showDe = true;
this.carDestination = res.data.content[0].destination;
this.dingDanId = res.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
this.paidanFlag = res.data.content[0].flag;
this.btnShow3 = true;
this.btnShow4 = true;
if(resSon1.data.content[0].workStatus == 0 && this.paidanFlag == 0){
this.paidanFlag = res.data.content[0].flag;
this.showDe = true;
this.btnShow1 = true;
this.btnShow2 = false;
this.btnShow3 = false;
this.btnShow4 = false;
this.carDestination = res.data.content[0].destination;
this.dingDanId = res.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
......@@ -184,6 +205,7 @@ export default {
this.btnShow1 = false;
this.btnShow2 = false;
this.btnShow3 = false;
this.btnShow4 = false;
}else{
//有人工调度就删除智能调度单子
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => {
......@@ -196,12 +218,20 @@ export default {
//有人工调度下面展示操作
httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => {
if(resSon1.code == 200){
this.showDe = true;
this.carDestination = res.data.content[0].destination;
this.dingDanId = res.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
this.paidanFlag = res.data.content[0].flag;
this.btnShow3 = true;
this.btnShow4 = true;
if(resSon1.data.content[0].workStatus == 0 && this.paidanFlag == 0){
this.paidanFlag = res.data.content[0].flag;
this.showDe = true;
this.btnShow1 = true;
this.btnShow2 = false;
this.btnShow3 = false;
this.btnShow4 = false;
this.carDestination = res.data.content[0].destination;
this.dingDanId = res.data.content[0].id;
this.equipmentName = resSon1.data.content[0].equipmentName;
......
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