@ -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;