Commit 1f41c1d7 authored by xxx's avatar xxx

修改

parent e8480286
...@@ -387,15 +387,10 @@ export default { ...@@ -387,15 +387,10 @@ export default {
}, },
//完成装车 //完成装车
wanchengzhuangcheFn(number,id){ wanchengzhuangcheFn(number,id){
//删除
httpDelForJson(dingDanBiaoCaoZuo,[id]).then((res) => {
this.loadData1();
});
//改订单状态 //改订单状态
httpGet(manualSchedulingQuery,{sort:'createTime,desc',size:1,carNo:number}).then((res) => { httpGet(manualSchedulingQuery,{sort:'createTime,desc',size:1,carNo:number}).then((res) => {
if(res.code == 200){ if(res.code == 200){
if(res.data.totalElements == 0){ if(res.data.totalElements == 0){
}else{ }else{
putForJson(manualSchedulingQuery,{id:res.data.content[0].id,status:0}).then((res) => {}); putForJson(manualSchedulingQuery,{id:res.data.content[0].id,status:0}).then((res) => {});
} }
...@@ -423,10 +418,12 @@ export default { ...@@ -423,10 +418,12 @@ export default {
}); });
//智能调度是否完成 //智能调度是否完成
httpGet(dispatchFinishQuery,{carno:number}).then((res) => { httpGet(dispatchFinishQuery,{carno:number}).then((res) => {
if(res.code == 200){ if(res.code == 200){}
}
}); });
//删除
httpDelForJson(dingDanBiaoCaoZuo,[id]).then((res) => {
this.loadData1();
});
}, },
//地图构造完成回调 //地图构造完成回调
onMapload(map) { onMapload(map) {
......
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