diff --git a/src/views/distribution/artery/AddVehicleStowage.vue b/src/views/distribution/artery/AddVehicleStowage.vue index 41ac4a7d..5bedafe2 100644 --- a/src/views/distribution/artery/AddVehicleStowage.vue +++ b/src/views/distribution/artery/AddVehicleStowage.vue @@ -1067,9 +1067,10 @@ const beforeClose = done => { /** 司机改变时 1: 主驾 2: 副驾 */ const handleNameChange = (type: number) => { - const findValue = type === 1 ? form.value.driverName : form.value.name; + const findValue = type === 1 ? form.value.driverName : form.value.assistantName; const _value = details.driverListByName.find(value => value.driverId === findValue); + console.log('_value :>> ', _value); if (type === 1) { form.value.driverName = _value.driverName; form.value.driverId = _value.driverId; diff --git a/src/views/distribution/signfor/distributionSignforedt.vue b/src/views/distribution/signfor/distributionSignforedt.vue index b372fcf0..b21b624e 100644 --- a/src/views/distribution/signfor/distributionSignforedt.vue +++ b/src/views/distribution/signfor/distributionSignforedt.vue @@ -253,15 +253,15 @@