/* 境外企业 表单项 */ import React from 'react'; import { Form, Input, Button, Select, Upload, DatePicker, Row, Col, Cascader, Table, Radio } from 'antd'; import { MobileOutlined, MailOutlined, EnvironmentOutlined, UploadOutlined, PlusOutlined, DeleteOutlined, } from '@ant-design/icons'; import { message } from 'antd'; const { Option } = Select; const { TextArea } = Input; // 中国省市区级联数据 const addressOptions = [ { value: '330000', label: '浙江省', children: [ { value: '330100', label: '杭州市', children: [ { value: '330102', label: '上城区' }, { value: '330103', label: '下城区' }, { value: '330104', label: '江干区' }, { value: '330105', label: '拱墅区' }, { value: '330106', label: '西湖区' }, { value: '330108', label: '滨江区' }, ], }, ], }, { value: '310000', label: '上海市', children: [ { value: '310100', label: '上海市', children: [ { value: '310101', label: '黄浦区' }, { value: '310104', label: '徐汇区' }, { value: '310105', label: '长宁区' }, ], }, ], }, ]; interface ForeignFormProps { form: any; countdown: number; handleGetCaptcha: () => void; } const ForeignForm: React.FC = ({ form, countdown, handleGetCaptcha }) => { return ( <>
基本信息
({ validator(_, value) { if (!value || getFieldValue('registrationPassword') === value) { return Promise.resolve(); } return Promise.reject(new Error('两次输入的密码不一致')); }, }), ]} > } placeholder="请具体注明" /> } placeholder="请具体注明" />