|
@@ -2,6 +2,7 @@ import React from "react";
|
2
|
2
|
import { Divider, Card, Steps, Button, Radio, Form, Input, Row, Col, Select } from "antd";
|
3
|
3
|
import UploadFile from "@/components/Upload/UploadFile";
|
4
|
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
+import { postTaCompanyInfo } from "@/services/taCompanyInfo";
|
5
|
6
|
import "../style.less";
|
6
|
7
|
|
7
|
8
|
export default (props) => {
|
|
@@ -9,14 +10,13 @@ export default (props) => {
|
9
|
10
|
const [form] = Form.useForm();
|
10
|
11
|
const { t } = useTranslation();
|
11
|
12
|
|
12
|
|
- const onFinish = () => {
|
|
13
|
+ const onFinish = (values) => {
|
13
|
14
|
|
|
15
|
+ // postTaCompanyInfo(values).then((res) => {
|
|
16
|
+ setIndex(index + 1);
|
|
17
|
+ // });
|
14
|
18
|
};
|
15
|
19
|
|
16
|
|
- const onNext = () => {
|
17
|
|
- setIndex(index + 1)
|
18
|
|
- }
|
19
|
|
-
|
20
|
20
|
return (
|
21
|
21
|
<>
|
22
|
22
|
<div style={{ fontSize: '24px', fontWeight: '400' }}>{t('authentication.titleRight')}</div>
|
|
@@ -28,134 +28,118 @@ export default (props) => {
|
28
|
28
|
form={form}
|
29
|
29
|
layout="vertical"
|
30
|
30
|
onFinish={onFinish}
|
|
31
|
+ size="large"
|
31
|
32
|
>
|
32
|
33
|
<Card bordered={false} style={{ width: '900px', marginBottom: '24px' }}>
|
33
|
|
- <Form.Item>
|
34
|
|
- <div style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.subTitleRight')}</div>
|
35
|
|
- <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle1')}</div>
|
36
|
|
- <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
37
|
|
- <div className="authentication-right-upload-box">
|
38
|
|
- <UploadFile />
|
39
|
|
- </div>
|
40
|
|
- <div style={{ flex: 1.2 }}>
|
41
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText1')}</div>
|
42
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText2')}</div>
|
43
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText3')}</div>
|
44
|
|
- <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
45
|
|
- </div>
|
46
|
|
- </div>
|
47
|
|
- </Form.Item>
|
48
|
|
- <Form.Item>
|
49
|
|
- <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle2')}</div>
|
50
|
|
- <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
51
|
|
- <div className="authentication-right-upload-box">
|
52
|
|
- <UploadFile />
|
53
|
|
- </div>
|
54
|
|
- <div style={{ flex: 1.2 }}>
|
55
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText1')}</div>
|
56
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText2')}</div>
|
57
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText3')}</div>
|
58
|
|
- <div style={{ padding: '0 15px', fontWeight: '600' }}>4.{t('authentication.uploadPromptTextII4')}</div>
|
59
|
|
- <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
60
|
|
- </div>
|
61
|
|
- </div>
|
62
|
|
- </Form.Item>
|
63
|
|
- <Form.Item>
|
64
|
|
- <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle3')}</div>
|
65
|
|
- <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
66
|
|
- <div className="authentication-right-upload-box">
|
67
|
|
- <UploadFile />
|
68
|
|
- </div>
|
69
|
|
- <div style={{ flex: 1.2 }}>
|
70
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText1')}</div>
|
71
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText2')}</div>
|
72
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText3')}</div>
|
73
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptTextIII4')}</div>
|
74
|
|
- <div style={{ padding: '0 15px', fontWeight: '600' }}>5.{t('authentication.uploadPromptTextII4')}</div>
|
75
|
|
- <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
76
|
|
- </div>
|
77
|
|
- </div>
|
78
|
|
- </Form.Item>
|
79
|
|
- <Form.Item>
|
80
|
|
- <div style={{ marginTop: '40px', fontSize: '16px' }}>{t('authentication.uploadTitle4')}</div>
|
81
|
|
- <div style={{ display: 'flex', alignItem: 'stretch' }}>
|
82
|
|
- <div className="authentication-right-upload-box">
|
83
|
|
- <UploadFile />
|
84
|
|
- </div>
|
85
|
|
- <div style={{ flex: 1.2 }}>
|
86
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText1')}</div>
|
87
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText2')}</div>
|
88
|
|
- <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptText3')}</div>
|
89
|
|
- <Button type="link">{t('authentication.uploadBtnText')}</Button>
|
90
|
|
- </div>
|
91
|
|
- </div>
|
|
34
|
+ <div style={{ fontSize: '16px', fontWeight: '600', marginBottom: '40px' }}>{t('authentication.subTitleRight')}</div>
|
|
35
|
+ <Form.Item name="certificateIncorporation" label={t('authentication.uploadTitle1')}>
|
|
36
|
+ <UploadFile />
|
|
37
|
+ </Form.Item>
|
|
38
|
+ <Form.Item name="companyBusinessRegistration" label={t('authentication.uploadTitle2')}>
|
|
39
|
+ <UploadFile />
|
|
40
|
+ {/* <div style={{ padding: '0 15px', fontWeight: '600' }}>4.{t('authentication.uploadPromptTextII4')}</div> */}
|
|
41
|
+ </Form.Item>
|
|
42
|
+ <Form.Item name="nnc1Nar1" label={t('authentication.uploadTitle3')}>
|
|
43
|
+ <UploadFile />
|
|
44
|
+ {/* <div style={{ padding: '0 15px', color: '#bfbfbf' }}>{t('authentication.uploadPromptTextIII4')}</div>
|
|
45
|
+ <div style={{ padding: '0 15px', fontWeight: '600' }}>5.{t('authentication.uploadPromptTextII4')}</div> */}
|
|
46
|
+ </Form.Item>
|
|
47
|
+ <Form.Item name="otherAnnex" label={t('authentication.uploadTitle4')}>
|
|
48
|
+ <UploadFile />
|
92
|
49
|
</Form.Item>
|
93
|
50
|
</Card>
|
94
|
51
|
<Card bordered={false} style={{ width: '900px', marginBottom: '24px' }}>
|
95
|
|
- <Form.Item label={t('authentication.formRightLabel1')}>
|
96
|
|
- <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio1')}</Radio>
|
97
|
|
- <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio2')}</Radio>
|
98
|
|
- <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio3')}</Radio>
|
99
|
|
- <Radio style={{ fontSize: '16px', fontWeight: '600' }}>{t('authentication.enterpriseTypeRadio4')}</Radio>
|
100
|
|
- </Form.Item>
|
101
|
|
- <Form.Item label={t('authentication.formRightLabel2')}>
|
102
|
|
- <Input.Group>
|
|
52
|
+ <Form.Item label={t('authentication.formRightLabel1')} wrapperCol={{ span: 18 }} name="companyType">
|
|
53
|
+ <Radio.Group>
|
|
54
|
+ <Radio
|
|
55
|
+ style={{ fontSize: '16px', fontWeight: '600', paddingBottom: '12px' }}
|
|
56
|
+ value={t('authentication.enterpriseTypeRadio1')}
|
|
57
|
+ >{t('authentication.enterpriseTypeRadio1')}</Radio>
|
|
58
|
+ <Radio
|
|
59
|
+ style={{ fontSize: '16px', fontWeight: '600', paddingBottom: '12px' }}
|
|
60
|
+ value={t('authentication.enterpriseTypeRadio2')}
|
|
61
|
+ >{t('authentication.enterpriseTypeRadio2')}</Radio>
|
|
62
|
+ <Radio
|
|
63
|
+ style={{ fontSize: '16px', fontWeight: '600', paddingBottom: '12px' }}
|
|
64
|
+ value={t('authentication.enterpriseTypeRadio3')}
|
|
65
|
+ >{t('authentication.enterpriseTypeRadio3')}</Radio>
|
|
66
|
+ <Radio
|
|
67
|
+ style={{ fontSize: '16px', fontWeight: '600' }}
|
|
68
|
+ value={t('authentication.enterpriseTypeRadio4')}
|
|
69
|
+ >{t('authentication.enterpriseTypeRadio4')}</Radio>
|
|
70
|
+ </Radio.Group>
|
|
71
|
+ </Form.Item>
|
|
72
|
+ <Form.Item label={t('authentication.formRightLabel2')} wrapperCol={{ span: 18 }} name="businessRegistrationNum">
|
|
73
|
+ <Input placeholder={t('authentication.formRightPlaceholder')} />
|
|
74
|
+ {/* <Input.Group>
|
103
|
75
|
<Row>
|
104
|
76
|
<Col span={8}>
|
105
|
77
|
<Input placeholder="12345678" size="large" />
|
106
|
78
|
</Col>
|
107
|
79
|
<Col span={4}><Input placeholder="000" size="large" /></Col>
|
108
|
80
|
</Row>
|
109
|
|
- </Input.Group>
|
|
81
|
+ </Input.Group> */}
|
110
|
82
|
</Form.Item>
|
111
|
83
|
|
112
|
84
|
|
113
|
|
- <Form.Item label={t('authentication.formRightLabel3')} wrapperCol={{ span: 8 }}>
|
114
|
|
- <Select defaultValue={t('authentication.formRightSelect1')}>
|
|
85
|
+ <Form.Item label={t('authentication.formRightLabel3')} wrapperCol={{ span: 18 }} name="registerCountry">
|
|
86
|
+ <Select placeholder={t('authentication.formRightPlaceholder2')}>
|
|
87
|
+ <Select.Option value={t('authentication.formRightSelect1')}>{t('authentication.formRightSelect1')}</Select.Option>
|
115
|
88
|
</Select>
|
116
|
89
|
</Form.Item>
|
117
|
90
|
|
118
|
|
- <Form.Item>
|
|
91
|
+ <Form.Item wrapperCol={{ span: 18 }} name="registerProvinceRegion">
|
119
|
92
|
<Select placeholder={t('authentication.formRightSelectPlaceholder1')}>
|
|
93
|
+ <Select.Option value="北京">北京</Select.Option>
|
120
|
94
|
</Select>
|
121
|
95
|
</Form.Item>
|
122
|
|
- <Form.Item>
|
|
96
|
+ <Form.Item wrapperCol={{ span: 18 }} name="registerCity">
|
123
|
97
|
<Input placeholder={t('authentication.formRightInputPlaceholder2')} />
|
124
|
98
|
</Form.Item>
|
125
|
|
- <Form.Item>
|
|
99
|
+ <Form.Item wrapperCol={{ span: 18 }} name="registerSpecificAddress">
|
126
|
100
|
<Input placeholder={t('authentication.formRightInputPlaceholder3')} />
|
127
|
101
|
</Form.Item>
|
128
|
|
- <Form.Item>
|
|
102
|
+ <Form.Item wrapperCol={{ span: 18 }} name="registerPostalCode">
|
129
|
103
|
<Input placeholder={t('authentication.formRightInputPlaceholder4')} />
|
130
|
104
|
</Form.Item>
|
131
|
|
- <Form.Item label={t('authentication.formRightLabel4')} wrapperCol={{ span: 8 }}>
|
132
|
|
- <Select defaultValue={t('authentication.formRightSelectPlaceholderII1')}>
|
|
105
|
+ {/* 实际经营地址 */}
|
|
106
|
+ <Form.Item label={t('authentication.formRightLabel3')} wrapperCol={{ span: 18 }} name="realityCountry">
|
|
107
|
+ <Select placeholder={t('authentication.formRightSelectPlaceholder1')}>
|
|
108
|
+ <Select.Option value="中国香港(地区)">中国香港(地区)</Select.Option>
|
133
|
109
|
</Select>
|
134
|
110
|
</Form.Item>
|
135
|
111
|
|
136
|
|
- <Form.Item>
|
|
112
|
+ <Form.Item wrapperCol={{ span: 18 }} name="realityProvinceRegion">
|
137
|
113
|
<Select placeholder={t('authentication.formRightSelectPlaceholder1')}>
|
|
114
|
+ <Select.Option value="北京">北京</Select.Option>
|
138
|
115
|
</Select>
|
139
|
116
|
</Form.Item>
|
140
|
|
- <Form.Item>
|
|
117
|
+ <Form.Item wrapperCol={{ span: 18 }} name="realityCity">
|
141
|
118
|
<Input placeholder={t('authentication.formRightInputPlaceholder2')} />
|
142
|
119
|
</Form.Item>
|
143
|
|
- <Form.Item>
|
|
120
|
+ <Form.Item wrapperCol={{ span: 18 }} name="realitySpecificAddress">
|
144
|
121
|
<Input placeholder={t('authentication.formRightInputPlaceholder3')} />
|
145
|
122
|
</Form.Item>
|
146
|
|
- <Form.Item>
|
|
123
|
+ <Form.Item wrapperCol={{ span: 18 }} name="realityPostalCode">
|
147
|
124
|
<Input placeholder={t('authentication.formRightInputPlaceholder4')} />
|
148
|
125
|
</Form.Item>
|
149
|
126
|
|
150
|
|
- <Form.Item label={t('authentication.formRightLabel5')}>
|
|
127
|
+ <Form.Item label={t('authentication.formRightLabel5')} wrapperCol={{ span: 18 }} name="numEmployees">
|
151
|
128
|
<Select placeholder={t('authentication.formRightInputPlaceholder5')}>
|
|
129
|
+ <Select.Option value={t('authentication.formRightInputNumber1')}>{t('authentication.formRightInputNumber1')}</Select.Option>
|
|
130
|
+ <Select.Option value={t('authentication.formRightInputNumber2')}>{t('authentication.formRightInputNumber2')}</Select.Option>
|
|
131
|
+ <Select.Option value={t('authentication.formRightInputNumber3')}>{t('authentication.formRightInputNumber3')}</Select.Option>
|
152
|
132
|
</Select>
|
153
|
133
|
</Form.Item>
|
154
|
|
- <Form.Item label={t('authentication.formRightLabel6')}>
|
|
134
|
+ <Form.Item label={t('authentication.formRightLabel6')} wrapperCol={{ span: 18 }} name="businessPremisesType">
|
155
|
135
|
<Select placeholder={t('authentication.formRightInputPlaceholder6')}>
|
|
136
|
+ <Select.Option value={t('authentication.formRightInputPlace1')}>{t('authentication.formRightInputPlace1')}</Select.Option>
|
|
137
|
+ <Select.Option value={t('authentication.formRightInputPlace2')}>{t('authentication.formRightInputPlace2')}</Select.Option>
|
|
138
|
+ <Select.Option value={t('authentication.formRightInputPlace3')}>{t('authentication.formRightInputPlace3')}</Select.Option>
|
|
139
|
+ <Select.Option value={t('authentication.formRightInputPlace4')}>{t('authentication.formRightInputPlace4')}</Select.Option>
|
156
|
140
|
</Select>
|
157
|
141
|
</Form.Item>
|
158
|
|
- <Button type="primary" onClick={onNext} >{t('authentication.foundationInfoNextBtn')}</Button>
|
|
142
|
+ <Button type="primary" size="large" style={{ width: '6vw' }} htmlType="submit">{t('authentication.foundationInfoNextBtn')}</Button>
|
159
|
143
|
</Card>
|
160
|
144
|
</Form>
|
161
|
145
|
</>
|