Commit 27e4e122 authored by xxx's avatar xxx

完善删除订单时的操作

parent 97be6344
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => {
if(resDel.code == 200){ if(resDel.code == 200){
resDel.data.content.forEach((itemDel,indexDel)=>{ resDel.data.content.forEach((itemDel,indexDel)=>{
httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id]).then((resDelSon) => {}); httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id,this.carnumber]).then((resDelSon) => {});
}) })
} }
}) })
...@@ -298,7 +298,7 @@ export default { ...@@ -298,7 +298,7 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => {
if(resDel.code == 200){ if(resDel.code == 200){
resDel.data.content.forEach((itemDel,indexDel)=>{ resDel.data.content.forEach((itemDel,indexDel)=>{
httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id]).then((resDelSon) => {}); httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id,this.carnumber]).then((resDelSon) => {});
}) })
} }
}) })
...@@ -463,7 +463,7 @@ export default { ...@@ -463,7 +463,7 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => {
if(resDel.code == 200){ if(resDel.code == 200){
resDel.data.content.forEach((itemDel,indexDel)=>{ resDel.data.content.forEach((itemDel,indexDel)=>{
httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id]).then((resDelSon) => {}); httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id,this.carnumber]).then((resDelSon) => {});
}) })
} }
}) })
...@@ -513,7 +513,7 @@ export default { ...@@ -513,7 +513,7 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',carNo:this.carnumber,flag:0}).then((resDel) => {
if(resDel.code == 200){ if(resDel.code == 200){
resDel.data.content.forEach((itemDel,indexDel)=>{ resDel.data.content.forEach((itemDel,indexDel)=>{
httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id]).then((resDelSon) => {}); httpDelForJson(dingDanBiaoCaoZuo,[itemDel.id,this.carnumber]).then((resDelSon) => {});
}) })
} }
}) })
...@@ -644,7 +644,7 @@ export default { ...@@ -644,7 +644,7 @@ export default {
} }
} }
}); });
httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId]).then((res) => {}); httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId,this.carnumber]).then((res) => {});
this.$nextTick(()=>{ this.$nextTick(()=>{
this.oldxy.lat = 0; this.oldxy.lat = 0;
this.oldxy.lng = 0; this.oldxy.lng = 0;
...@@ -699,7 +699,7 @@ export default { ...@@ -699,7 +699,7 @@ export default {
} }
} }
}); });
httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId]).then((res) => { httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId,this.carnumber]).then((res) => {
this.$parent.zhixinglujing(false,this.carnumber,this.carDestination); this.$parent.zhixinglujing(false,this.carnumber,this.carDestination);
}); });
}) })
...@@ -769,7 +769,7 @@ export default { ...@@ -769,7 +769,7 @@ export default {
} }
} }
}); });
httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId]).then((res) => { httpDelForJson(dingDanBiaoCaoZuo,[this.dingDanId,this.carnumber]).then((res) => {
this.$parent.zhixinglujing(false,this.carnumber,this.carDestination); this.$parent.zhixinglujing(false,this.carnumber,this.carDestination);
}); });
}) })
......
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