基本信息
This commit is contained in:
@ -70,21 +70,19 @@ const DomesticForm: React.FC<ForeignFormProps> = ({ form, countdown, handleGetCa
|
|||||||
<div className="form-section-title">基本信息</div>
|
<div className="form-section-title">基本信息</div>
|
||||||
|
|
||||||
<Row gutter={24}>
|
<Row gutter={24}>
|
||||||
<Col span={12}>
|
{/* <Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={['coscoSupplierBase', 'supplierType']}
|
name={['coscoSupplierBase', 'supplierType']}
|
||||||
label="供应商分类"
|
label="供应商分类"
|
||||||
rules={[{ required: true, message: '请选择供应商分类' }]}
|
rules={[{ required: true, message: '请选择供应商分类' }]}
|
||||||
>
|
>
|
||||||
<Select placeholder="请选择">
|
<Select placeholder="请选择">
|
||||||
{enterpriseType.map((item) => (
|
<Option value="dvs">境内企业/机构</Option>
|
||||||
<Select.Option key={item.code} value={item.code}>
|
<Option value="ovs">境外企业</Option>
|
||||||
{item.dicName}
|
<Option value="pe">个人</Option>
|
||||||
</Select.Option>
|
|
||||||
))}
|
|
||||||
</Select>
|
</Select>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col> */}
|
||||||
|
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
@ -102,9 +100,13 @@ const DomesticForm: React.FC<ForeignFormProps> = ({ form, countdown, handleGetCa
|
|||||||
label="企业类型"
|
label="企业类型"
|
||||||
rules={[{ required: true, message: '请选择企业类型' }]}
|
rules={[{ required: true, message: '请选择企业类型' }]}
|
||||||
>
|
>
|
||||||
<Select placeholder="请选择企业类型">
|
<Select
|
||||||
{/* 可用字典填充 */}
|
placeholder="请选择企业类别"
|
||||||
</Select>
|
options={enterpriseType.map((item) => ({
|
||||||
|
label: item.dicName,
|
||||||
|
value: item.code,
|
||||||
|
}))}
|
||||||
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
@ -169,8 +171,6 @@ const DomesticForm: React.FC<ForeignFormProps> = ({ form, countdown, handleGetCa
|
|||||||
<Input placeholder="请输入企业法定代表人/负责人" />
|
<Input placeholder="请输入企业法定代表人/负责人" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
|
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={['coscoSupplierBase', 'contactsName']}
|
name={['coscoSupplierBase', 'contactsName']}
|
||||||
@ -225,7 +225,10 @@ const DomesticForm: React.FC<ForeignFormProps> = ({ form, countdown, handleGetCa
|
|||||||
} else if (contactsType === '0') {
|
} else if (contactsType === '0') {
|
||||||
label = '护照号';
|
label = '护照号';
|
||||||
} else {
|
} else {
|
||||||
label = '证件号码';
|
label = '';
|
||||||
|
}
|
||||||
|
if (!label) {
|
||||||
|
return null; // label为空,不渲染
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
@ -77,7 +77,7 @@ const SupplierCategoryEntryReview: React.FC = () => {
|
|||||||
{ title: '准入部门', dataIndex: 'deptId', ellipsis: true },
|
{ title: '准入部门', dataIndex: 'deptId', ellipsis: true },
|
||||||
{ title: '准入方式', dataIndex: 'accessTypeText', width: 120 },
|
{ title: '准入方式', dataIndex: 'accessTypeText', width: 120 },
|
||||||
{ title: '申请时间', dataIndex: 'createTime', width: 180 },
|
{ title: '申请时间', dataIndex: 'createTime', width: 180 },
|
||||||
{ title: '状态', dataIndex: 'approveStatusText', width: 120 },
|
{ title: '审批状态', dataIndex: 'approveStatusText', width: 120 },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
width: 80,
|
width: 80,
|
||||||
@ -108,7 +108,7 @@ const SupplierCategoryEntryReview: React.FC = () => {
|
|||||||
<Form.Item name="categoryId" label="准入品类">
|
<Form.Item name="categoryId" label="准入品类">
|
||||||
<CategorySelector multiple={false} style={{ width: 150 }} />
|
<CategorySelector multiple={false} style={{ width: 150 }} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="approveStatus" label="状态">
|
<Form.Item name="approveStatus" label="审批状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
||||||
<Option value="0">未开始</Option>
|
<Option value="0">未开始</Option>
|
||||||
<Option value="1">进行中</Option>
|
<Option value="1">进行中</Option>
|
||||||
|
@ -154,7 +154,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '流程状态',
|
title: '审批状态',
|
||||||
dataIndex: 'approveStatusName',
|
dataIndex: 'approveStatusName',
|
||||||
key: 'approveStatusName',
|
key: 'approveStatusName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -211,7 +211,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item name="approveStatus" label="流程状态">
|
<Form.Item name="approveStatus" label="审批状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
||||||
<Option value="0">未开始</Option>
|
<Option value="0">未开始</Option>
|
||||||
<Option value="1">进行中</Option>
|
<Option value="1">进行中</Option>
|
||||||
|
@ -139,7 +139,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '流程状态',
|
title: '审批状态',
|
||||||
dataIndex: 'processStatusName',
|
dataIndex: 'processStatusName',
|
||||||
key: 'processStatusName',
|
key: 'processStatusName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -198,7 +198,7 @@ const CategoryLibraryManage: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item name="approveStatus" label="流程状态">
|
<Form.Item name="approveStatus" label="审批状态">
|
||||||
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
<Select style={{ width: 150 }} placeholder="请选择状态" allowClear>
|
||||||
<Option value="0">未开始</Option>
|
<Option value="0">未开始</Option>
|
||||||
<Option value="1">进行中</Option>
|
<Option value="1">进行中</Option>
|
||||||
|
Reference in New Issue
Block a user