对接注册
This commit is contained in:
@ -72,13 +72,12 @@ const DomesticForm: React.FC<DomesticFormProps> = ({
|
||||
<Form.Item
|
||||
name={['coscoSupplierBase', 'licenceAccessory']}
|
||||
label="营业执照附件"
|
||||
extra="pdf,jpg,jpeg,png类型的文件,大小不超过10MB"
|
||||
rules={[{ required: true, message: '请上传营业执照附件' }]}
|
||||
// getValueProps={(value) => {
|
||||
// return {
|
||||
// value: value?.length > 0 ? value[0]?.url : undefined,
|
||||
// };
|
||||
// }}
|
||||
getValueProps={(value) => {
|
||||
return {
|
||||
value: value?.length > 0 ? value[0]?.url : undefined,
|
||||
};
|
||||
}}
|
||||
getValueFromEvent={(value) => {
|
||||
return value?.length > 0 ? value[0]?.url : undefined;
|
||||
}}
|
||||
@ -88,6 +87,7 @@ const DomesticForm: React.FC<DomesticFormProps> = ({
|
||||
maxCount={1}
|
||||
maxSize={10}
|
||||
allowedTypes={['pdf', 'jpg', 'jpeg', 'png']}
|
||||
tip="pdf,jpg,jpeg,png类型的文件,大小不超过10MB"
|
||||
>
|
||||
<Button icon={<UploadOutlined />}>上传文件</Button>
|
||||
</FileUpload>
|
||||
@ -220,7 +220,11 @@ const DomesticForm: React.FC<DomesticFormProps> = ({
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<Form.Item name="officeAddress" label="办公地址" rules={[{ required: true, message: '请输入办公地址' }]}>
|
||||
<Form.Item
|
||||
name="officeAddress"
|
||||
label="办公地址"
|
||||
rules={[{ required: true, message: '请输入办公地址' }]}
|
||||
>
|
||||
<Input
|
||||
prefix={<EnvironmentOutlined />}
|
||||
placeholder="请具体注明省、市、区、路、门牌号"
|
||||
|
Reference in New Issue
Block a user