diff --git a/src/components/CompanyInfo/component/DomesticForm.tsx b/src/components/CompanyInfo/component/DomesticForm.tsx index 0b41133..72961b7 100644 --- a/src/components/CompanyInfo/component/DomesticForm.tsx +++ b/src/components/CompanyInfo/component/DomesticForm.tsx @@ -70,21 +70,19 @@ const DomesticForm: React.FC = ({ form, countdown, handleGetCa
基本信息
- + {/* - + */} = ({ form, countdown, handleGetCa label="企业类型" rules={[{ required: true, message: '请选择企业类型' }]} > - + - - = ({ form, countdown, handleGetCa } else if (contactsType === '0') { label = '护照号'; } else { - label = '证件号码'; + label = ''; + } + if (!label) { + return null; // label为空,不渲染 } return ( { { title: '准入部门', dataIndex: 'deptId', ellipsis: true }, { title: '准入方式', dataIndex: 'accessTypeText', width: 120 }, { title: '申请时间', dataIndex: 'createTime', width: 180 }, - { title: '状态', dataIndex: 'approveStatusText', width: 120 }, + { title: '审批状态', dataIndex: 'approveStatusText', width: 120 }, { title: '操作', width: 80, @@ -108,7 +108,7 @@ const SupplierCategoryEntryReview: React.FC = () => { - + diff --git a/src/pages/supplier/category/SupplierEntryReview/index.tsx b/src/pages/supplier/category/SupplierEntryReview/index.tsx index 5c4a331..f37aead 100644 --- a/src/pages/supplier/category/SupplierEntryReview/index.tsx +++ b/src/pages/supplier/category/SupplierEntryReview/index.tsx @@ -139,7 +139,7 @@ const CategoryLibraryManage: React.FC = () => { ellipsis: true, }, { - title: '流程状态', + title: '审批状态', dataIndex: 'processStatusName', key: 'processStatusName', align: 'center', @@ -198,7 +198,7 @@ const CategoryLibraryManage: React.FC = () => { /> - +