Commit 4cf39f90 authored by xxx's avatar xxx

1

parent d9d06cb9
...@@ -196,6 +196,7 @@ export default { ...@@ -196,6 +196,7 @@ export default {
this.checkDataList.forEach((item,index)=>{ this.checkDataList.forEach((item,index)=>{
let query1 = {...that.form}; let query1 = {...that.form};
query1.carNo = item; query1.carNo = item;
query1.flag = 1;
HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => { HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => {
if(res.code == 200){ if(res.code == 200){
......
...@@ -662,6 +662,7 @@ export default { ...@@ -662,6 +662,7 @@ export default {
if(JSON.stringify(this.zaDestination) != '[]'){ if(JSON.stringify(this.zaDestination) != '[]'){
let query1 = {...this.desform}; let query1 = {...this.desform};
query1.carNo = item.number; query1.carNo = item.number;
query1.flag = 1;
query1.destination = this.zaDestination[0] + '-' + (this.zaDestination[1] ? this.zaDestination[1] : ''); query1.destination = this.zaDestination[0] + '-' + (this.zaDestination[1] ? this.zaDestination[1] : '');
HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => { HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -689,6 +690,7 @@ export default { ...@@ -689,6 +690,7 @@ export default {
if(this.xzDestination){ if(this.xzDestination){
let query2 = {...this.desform}; let query2 = {...this.desform};
query2.carNo = item.number; query2.carNo = item.number;
query2.flag = 1;
query2.destination = this.xzDestination; query2.destination = this.xzDestination;
HttpReq.truckDispatching.manualSchedulingAdd(query2).then((res) => { HttpReq.truckDispatching.manualSchedulingAdd(query2).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -737,7 +739,7 @@ export default { ...@@ -737,7 +739,7 @@ export default {
}; };
}) })
//发起添加调度类型 //发起添加调度类型
HttpReq.truckDispatching.screenDispatchWayAdd({dispatcher:this.dispatchBtnTitle1}).then((res) => {}) //HttpReq.truckDispatching.screenDispatchWayAdd({dispatcher:this.dispatchBtnTitle1}).then((res) => {})
}else{ }else{
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
......
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