|
@@ -1587,6 +1587,13 @@ export default {
|
|
|
this.vehicleList.map((e) => {
|
|
|
return (e.carcorPid = this.schedulingList[0].carcorPid);
|
|
|
});
|
|
|
+ let num=0
|
|
|
+ this.vehicleList.map(e=>{
|
|
|
+ num+=parseInt(e.cntrQty)
|
|
|
+ })
|
|
|
+ if(num>this.schedulingList[0].cntrQty){
|
|
|
+ return this.msgSuccess("车辆安排货量已超过计划货量");
|
|
|
+ }
|
|
|
let arr2 = [];
|
|
|
let arr = this.vehicleList.filter((e) => e.billStatus == 6);
|
|
|
arr.map((a) => {
|