Commit c9a6ca36 authored by 前端-许佳敏's avatar 前端-许佳敏

手工发货弹窗字段修复

parent 858f14d9
......@@ -136,11 +136,11 @@ const OrderHandDeleveModal:React.FC<OrderHandDeleveModalProps> = (props) => {
})
$('onFieldInputChange', 'addresId').subscribe(({value}) => {
actions.setFieldValue('name', dataRef.current.addresId.find(v => v.value === value)?.label || '')
actions.setFieldValue('name', dataRef.current.addresId.find(v => v.id === value)?.fullAddress || '')
})
$('onFieldInputChange', 'logisticsCompanyId').subscribe(({value}) => {
actions.setFieldValue('logisticsCompany', dataRef.current.logisticsCompanyId.find(v => v.value === value)?.label || '')
actions.setFieldValue('logisticsCompany', dataRef.current.logisticsCompanyId.find(v => v.id === value)?.name || '')
})
}}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment