From 71924f1887c1046244436a808be021b07870f7a1 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: Tue, 12 Aug 2025 16:38:55 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=87=86=E5=85=A5?=
=?UTF-8?q?=E5=AE=A1=E6=89=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../SupplierCategoryAccessApproval.tsx | 18 ++++++++++++++----
.../mySupplierInquiry/index.tsx | 4 ++--
.../personQualifiedSupplierQuery/index.tsx | 1 +
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/pages/supplier/ViewReviewPage/components/SupplierCategoryAccessApproval.tsx b/src/pages/supplier/ViewReviewPage/components/SupplierCategoryAccessApproval.tsx
index 6975a98..004a10c 100644
--- a/src/pages/supplier/ViewReviewPage/components/SupplierCategoryAccessApproval.tsx
+++ b/src/pages/supplier/ViewReviewPage/components/SupplierCategoryAccessApproval.tsx
@@ -8,6 +8,7 @@ interface Data {
coscoAccessWork: coscoAccessWorks;
coscoAccessSupplierList: coscoAccessSupplierLists[];
coscoAccessCategoryList: coscoAccessCategoryLists[];
+ coscoAccessSupplierCategoryList: coscoAccessCategoryLists[];
coscoAccessUserls: coscoAccessUserl[];
coscoAccessWorkAttachments: coscoAccessWorkAttachments;
}
@@ -28,12 +29,15 @@ interface coscoAccessCategoryLists {
}
interface coscoAccessSupplierLists {
supplierName: string;
+ supplierTypeCn: string;
[property: string]: any;
}
interface coscoAccessWorks {
deptId: string;
deptName: string;
orgName: string;
+ createByName: string;
+ createTime: string;
startTime: string;
endTime: string;
reviewStatusText: string;
@@ -90,9 +94,15 @@ const ViewModal: React.FC<{
)
})}
- {data.coscoAccessWork.orgName}
+
+ {data.coscoAccessSupplierList.map((item) => {
+ return (
+ {item.supplierTypeCn}
+ )
+ })}
+
- {data.coscoAccessCategoryList.map((item) => {
+ {data.coscoAccessSupplierCategoryList && data.coscoAccessSupplierCategoryList.map((item) => {
return (
{item.categoryPathName}
)
@@ -107,8 +117,8 @@ const ViewModal: React.FC<{
{data.coscoAccessWork.orgName}
{data.coscoAccessWork.deptName}
- {data.coscoAccessWork.deptName}
- {data.coscoAccessWork.deptName}
+ {data.coscoAccessWork.createByName}
+ {data.coscoAccessWork.createTime}
)}
diff --git a/src/pages/supplier/informationRetrieval/mySupplierInquiry/index.tsx b/src/pages/supplier/informationRetrieval/mySupplierInquiry/index.tsx
index 42d3c87..eebc3bf 100644
--- a/src/pages/supplier/informationRetrieval/mySupplierInquiry/index.tsx
+++ b/src/pages/supplier/informationRetrieval/mySupplierInquiry/index.tsx
@@ -64,13 +64,13 @@ const mySupplierInquiry: React.FC = ({ dispatch }) => {
// 查询
const handleSearch = () => {
setPagination({ ...pagination, current: 1 });
- getList(1, pagination.pageSize);
+ getList(pagination.current, pagination.pageSize);
};
// 重置
const handleReset = () => {
form.resetFields();
setPagination({ ...pagination, current: 1 });
- getList(1, pagination.pageSize);
+ getList(pagination.current, pagination.pageSize);
};
//列表方法
const getList = async (pageNo: number = 1, pageSize: number = 10) => {
diff --git a/src/pages/supplier/informationRetrieval/personQualifiedSupplierQuery/index.tsx b/src/pages/supplier/informationRetrieval/personQualifiedSupplierQuery/index.tsx
index db1db44..ee2b7e8 100644
--- a/src/pages/supplier/informationRetrieval/personQualifiedSupplierQuery/index.tsx
+++ b/src/pages/supplier/informationRetrieval/personQualifiedSupplierQuery/index.tsx
@@ -54,6 +54,7 @@ const PersonQualifiedSupplierQuery: React.FC = ({ dispatch }) => {
const handleTreeSelect = (keys: string | number) => {
const key = keys as string;
setSelectedKeys(key);
+ setPagination(p => ({ ...p, current: 1 }));
getList(key, 1, pagination.pageSize);
};