From a3525f8bdfcf849cc1716fab81cb8facadbe9a8e Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
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({
         <div key={group.groupName} className="space-y-4">
           <h3 className="text-lg font-medium">{group.groupName}</h3>
           
-          <div className="grid grid-cols-1 gap-4">
+          <div className="grid grid-cols-2 gap-4">
             {sortByCode(group.items).map((item) => (
               <Card key={item.criteriaId}>
                 <CardHeader>
@@ -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" && "텍스트+파일"}
                         </Badge>
@@ -468,6 +470,15 @@ export function PQReviewWrapper({
                                 </div>
                               </div>
                             );
+                          case "FAX":
+                            return (
+                              <div className="space-y-2">
+                                <div className="text-sm font-medium text-muted-foreground">팩스번호:</div>
+                                <div className="whitespace-pre-wrap">
+                                  {item.answer || <span className="text-muted-foreground">답변 없음</span>}
+                                </div>
+                              </div>
+                            );
                           case "NUMBER":
                             return (
                               <div className="space-y-2">
@@ -477,6 +488,29 @@ export function PQReviewWrapper({
                                 </div>
                               </div>
                             );
+                          case "NUMBER_WITH_UNIT":
+                            const numberWithUnit = item.answer || "";
+                            const [number, unit] = numberWithUnit.split(' ');
+                            return (
+                              <div className="space-y-2">
+                                <div className="text-sm font-medium text-muted-foreground">숫자+단위:</div>
+                                <div className="flex items-center gap-2">
+                                  {number && (
+                                    <span className="font-mono text-lg font-semibold text-blue-600">
+                                      {number}
+                                    </span>
+                                  )}
+                                  {unit && (
+                                    <Badge variant="outline" className="text-xs">
+                                      {unit}
+                                    </Badge>
+                                  )}
+                                  {!numberWithUnit && (
+                                    <span className="text-muted-foreground">답변 없음</span>
+                                  )}
+                                </div>
+                              </div>
+                            );
                           case "FILE":
                             return (
                               <div className="space-y-2">
-- 
cgit v1.2.3

