/* 境外企业 表单项 */ import React from 'react'; import { Form, Input, Button, Select, Row, Col } from 'antd'; import { MobileOutlined, MailOutlined, EnvironmentOutlined, } from '@ant-design/icons'; /** * 引入通用表单组件 */ import { QualificationSection, InvoiceSection, BankAccountSection, SurveySection, AttachmentSection, } from './CommonFormSections'; const { Option } = Select; const { TextArea } = Input; interface ForeignFormProps { form: any; countdown: number; handleGetCaptcha: () => void; surveyQuestions?: API.SurveyQuestionResponse; // 本身就是数组类型 } /** * 境外企业注册表单 * 基本信息部分为境外企业特有 * 其他部分使用通用表单组件 */ const ForeignForm: React.FC = ({ form, countdown, handleGetCaptcha, surveyQuestions }) => { return ( <> {/* 境外企业特有的基本信息部分 */}
基本信息
({ validator(_, value) { if (!value || getFieldValue('registrationPassword') === value) { return Promise.resolve(); } return Promise.reject(new Error('两次输入的密码不一致')); }, }), ]} > } placeholder="请具体注明" /> } placeholder="请具体注明" />