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 --- components/pq-input/pq-review-wrapper.tsx | 36 ++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'components/pq-input/pq-review-wrapper.tsx') diff --git a/components/pq-input/pq-review-wrapper.tsx b/components/pq-input/pq-review-wrapper.tsx index 44916dce..1545314c 100644 --- a/components/pq-input/pq-review-wrapper.tsx +++ b/components/pq-input/pq-review-wrapper.tsx @@ -366,7 +366,7 @@ export function PQReviewWrapper({

{group.groupName}

-
+
{sortByCode(group.items).map((item) => ( @@ -439,7 +439,9 @@ export function PQReviewWrapper({ {item.inputFormat === "TEXT" && "텍스트"} {item.inputFormat === "EMAIL" && "이메일"} {item.inputFormat === "PHONE" && "전화번호"} + {item.inputFormat === "FAX" && "팩스번호"} {item.inputFormat === "NUMBER" && "숫자"} + {item.inputFormat === "NUMBER_WITH_UNIT" && "숫자+단위"} {item.inputFormat === "FILE" && "파일"} {item.inputFormat === "TEXT_FILE" && "텍스트+파일"} @@ -468,6 +470,15 @@ export function PQReviewWrapper({
); + case "FAX": + return ( +
+
팩스번호:
+
+ {item.answer || 답변 없음} +
+
+ ); case "NUMBER": return (
@@ -477,6 +488,29 @@ export function PQReviewWrapper({
); + case "NUMBER_WITH_UNIT": + const numberWithUnit = item.answer || ""; + const [number, unit] = numberWithUnit.split(' '); + return ( +
+
숫자+단위:
+
+ {number && ( + + {number} + + )} + {unit && ( + + {unit} + + )} + {!numberWithUnit && ( + 답변 없음 + )} +
+
+ ); case "FILE": return (
-- cgit v1.2.3