From a3525f8bdfcf849cc1716fab81cb8facadbe9a8e Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 27 Oct 2025 10:03:06 +0000 Subject: (최겸) 구매 협력업체 관리(PQ/실사관리, 정기평가 협력업체 제출 상세 dialog 개발, MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx index 15cb3bf3..cc356f0e 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx @@ -4,7 +4,7 @@ import { getValidFilters } from "@/lib/data-table" import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" import { Shell } from "@/components/shell" import { searchParamsCache } from "@/lib/pq/validations" -import { getPQsByListId } from "@/lib/pq/service" +import { getPQsByListId, getPQListInfo } from "@/lib/pq/service" import { PqsTable } from "@/lib/pq/pq-criteria/pq-table" import { notFound } from "next/navigation" @@ -26,12 +26,13 @@ export default async function PQDetailPage(props: PQDetailPageProps) { // filters가 없는 경우를 처리 const validFilters = getValidFilters(search.filters) - // PQ 항목들 가져오기 + // PQ 리스트 정보와 항목들 가져오기 const promises = Promise.all([ getPQsByListId(pqListId, { ...search, filters: validFilters, - }) + }), + getPQListInfo(pqListId) ]) return ( -- cgit v1.2.3