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 = () => { ))} +