diff --git a/src/views/distribution/turndelivery/deliveryMarket.vue b/src/views/distribution/turndelivery/deliveryMarket.vue index 04a0f920..a024cff1 100644 --- a/src/views/distribution/turndelivery/deliveryMarket.vue +++ b/src/views/distribution/turndelivery/deliveryMarket.vue @@ -1555,19 +1555,19 @@ export default { if (i === 0) this.driverForm.masterDriverName = item.name; // 车辆赋值, 当司机数大于车辆数时, 取最后一位司机的车辆 - if (i === params.length - 1) { - if ( - this.driverList.length > this.vehticleList.length && - item.vehicleVOList && - item.vehicleVOList.length > 0 - ) { - const id = item.vehicleVOList[0].id; - if (!this.vehicleIds.includes(id)) { - this.vehticleList.push(id); - this.vehicleIds.push(id); - } - } - } + // if (i === params.length - 1) { + // if ( + // this.driverList.length > this.vehticleList.length && + // item.vehicleVOList && + // item.vehicleVOList.length > 0 + // ) { + // const id = item.vehicleVOList[0].id; + // if (!this.vehicleIds.includes(id)) { + // this.vehticleList.push(id); + // this.vehicleIds.push(id); + // } + // } + // } console.log('this.vehticleList :>> ', this.vehticleList); break; }