/* 境内企业/机构 表单项 */ import React from 'react'; import { Form, Input, Button, Select, Upload, DatePicker, Row, Col, Table, Cascader } from 'antd'; import { MobileOutlined, MailOutlined, EnvironmentOutlined, UploadOutlined, PlusOutlined, DeleteOutlined, } from '@ant-design/icons'; import { Radio } from 'antd'; 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: '330200', label: '宁波市', children: [ { value: '330203', label: '海曙区' }, { value: '330205', label: '江北区' }, { value: '330206', label: '北仑区' }, { value: '330211', label: '镇海区' }, { value: '330212', label: '鄞州区' }, ], }, ], }, { value: '310000', label: '上海市', children: [ { value: '310100', label: '上海市', children: [ { value: '310101', label: '黄浦区' }, { value: '310104', label: '徐汇区' }, { value: '310105', label: '长宁区' }, { value: '310106', label: '静安区' }, { value: '310107', label: '普陀区' }, { value: '310109', label: '虹口区' }, { value: '310110', label: '杨浦区' }, { value: '310112', label: '闵行区' }, ], }, ], }, { value: '440000', label: '广东省', children: [ { value: '440100', label: '广州市', children: [ { value: '440103', label: '荔湾区' }, { value: '440104', label: '越秀区' }, { value: '440105', label: '海珠区' }, { value: '440106', label: '天河区' }, { value: '440111', label: '白云区' }, { value: '440112', label: '黄埔区' }, ], }, { value: '440300', label: '深圳市', children: [ { value: '440303', label: '罗湖区' }, { value: '440304', label: '福田区' }, { value: '440305', label: '南山区' }, { value: '440306', label: '宝安区' }, { value: '440307', label: '龙岗区' }, { value: '440308', label: '盐田区' }, ], }, ], }, { value: '110000', label: '北京市', children: [ { value: '110100', label: '北京市', children: [ { value: '110101', label: '东城区' }, { value: '110102', label: '西城区' }, { value: '110105', label: '朝阳区' }, { value: '110106', label: '丰台区' }, { value: '110107', label: '石景山区' }, { value: '110108', label: '海淀区' }, ], }, ], }, ]; interface DomesticFormProps { form: any; countdown: number; handleGetCaptcha: () => void; } const DomesticForm: React.FC = ({ form, countdown, handleGetCaptcha }) => { return ( <>
基本信息
{/* 营业执照附件和有效期 */} { const isValidFormat = file.type === 'application/pdf' || file.type === 'image/jpeg' || file.type === 'image/png'; if (!isValidFormat) { message.error('只能上传PDF/JPG/PNG格式文件!'); } const isLt10M = file.size / 1024 / 1024 < 10; if (!isLt10M) { message.error('文件大小不能超过10MB!'); } return isValidFormat && isLt10M; }} > 人民币 万元 } placeholder="上海市普陀区XX路1888号" /> } placeholder="请具体注明省、市、区、路、门牌号" />