From 1645cb26d80c30d07bd4e891ea0752bada090ab2 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: Mon, 11 Aug 2025 15:18:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=98=AF=E5=90=A6=E5=B7=B2=E8=AF=BB=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplier/category/SupplierEntryManage/index.tsx | 2 +- src/pages/supplier/supplierMessage/index.tsx | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/pages/supplier/category/SupplierEntryManage/index.tsx b/src/pages/supplier/category/SupplierEntryManage/index.tsx index dc864c2..a010a0c 100644 --- a/src/pages/supplier/category/SupplierEntryManage/index.tsx +++ b/src/pages/supplier/category/SupplierEntryManage/index.tsx @@ -54,7 +54,7 @@ const SupplierEntryManage: React.FC = () => { setLoading(true); try { // mock 请求 - const { code, data } = await getPage({ basePageRequest: { pageNo, pageSize }, ...form.getFieldsValue(), type: 'supplier' }); + const { code, data } = await getPage({ basePageRequest: { pageNo, pageSize }, ...form.getFieldsValue(), type: 'supplier', approveStatus: "2" }); if (code === 200) { setData(data.records); setPagination({ ...pagination, current: pageNo, pageSize, total: data.total }); diff --git a/src/pages/supplier/supplierMessage/index.tsx b/src/pages/supplier/supplierMessage/index.tsx index feda637..7be2a21 100644 --- a/src/pages/supplier/supplierMessage/index.tsx +++ b/src/pages/supplier/supplierMessage/index.tsx @@ -8,6 +8,11 @@ import { getDictList } from '@/servers/api/dicts' //统一列表分页 import tableProps from '@/utils/tableProps' +const readTypeOptions = [ + { dicName: '是', code: '1' }, + { dicName: '否', code: '0' }, +]; + interface CategoryOption { code: string; dicName: string; @@ -144,6 +149,13 @@ const SupplierMessage: React.FC = () => { ))} +