From d1863516e1ad75b296fe813dff06477a6a4ad2b3 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Fri, 22 Mar 2024 18:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E5=B8=A6=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../turndelivery/deliveryMarket.vue | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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; }