From 9a6f1d98b71e4082d232cc466332ee3d55c5851e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=99=AF=E5=AD=A6?= <5412262+sun_jing_xue@user.noreply.gitee.com> Date: Wed, 16 Jul 2025 08:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyInfo/component/DomesticForm.tsx | 29 ++++++++++--------- .../SupplierCategoryEntryReview/index.tsx | 4 +-- .../category/CategoryLibraryReview/index.tsx | 4 +-- .../category/SupplierEntryReview/index.tsx | 4 +-- 4 files changed, 22 insertions(+), 19 deletions(-) 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 = () => { /> - +