main #48

Merged
longbot merged 6 commits from zhuotianyuan/WEB:main into main 2026-01-23 09:11:58 +00:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit 0abe06d9df - Show all commits

View File

@ -393,6 +393,13 @@ const UpdateForm: React.FC<{
}));
}}
/>
<ProFormText
name={['email']}
label="邮箱"
placeholder="请输入邮箱"
required
rules={[{ required: true, message: '请输入邮箱' }]}
/>
<ProForm.Group title="地址">
<ProFormText
name={['address', 'country']}
@ -431,6 +438,8 @@ const UpdateForm: React.FC<{
required
rules={[{ required: true, message: '请输入详细地址' }]}
/>
</ProForm.Group>
<ProFormItem
name="contact"

View File

@ -1599,13 +1599,14 @@ const [shipmentPlatforms, setShipmentPlatforms] = useState([
phone_number,
phone_number_extension,
stockPointId,
email,
} = row;
formRef?.current?.setFieldsValue({
stockPointId,
// address_id: row.id,
details: {
origin: {
email_addresses:email,
address,
phone_number: {
phone: phone_number,
@ -2490,6 +2491,11 @@ const AddressPicker: React.FC<{
`+${record.phone_number_extension} ${record.phone_number}`,
hideInSearch: true,
},
{
title: '邮箱',
dataIndex: [ 'email'],
hideInSearch: true,
},
];
return (
<ModalForm