From 2eb717eb2bbfd97a5f149d13049aa336c26c393b Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 29 Oct 2025 07:43:44 +0000
Subject: (최겸) 구매 실사 개발(진행중)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/pq/pq-review-table-new/vendors-table-columns.tsx | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'lib/pq/pq-review-table-new/vendors-table-columns.tsx')

diff --git a/lib/pq/pq-review-table-new/vendors-table-columns.tsx b/lib/pq/pq-review-table-new/vendors-table-columns.tsx
index 30b1c83f..b4d7d038 100644
--- a/lib/pq/pq-review-table-new/vendors-table-columns.tsx
+++ b/lib/pq/pq-review-table-new/vendors-table-columns.tsx
@@ -82,7 +82,7 @@ export interface PQSubmission {
     completedAt: Date | null
     forecastedAt: Date | null
     evaluationScore: number | null
-    evaluationResult: "APPROVED" | "SUPPLEMENT" | "REJECTED" | "RESULT_SENT" | null
+    evaluationResult: "APPROVED" | "SUPPLEMENT" | "SUPPLEMENT_REINSPECT" | "SUPPLEMENT_DOCUMENT" | "REJECTED" | "RESULT_SENT" | null
     investigationNotes: string | null
   } | null
   // 통합 상태를 위한 새 필드
@@ -327,6 +327,10 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ExtendedC
               return { status: "INVESTIGATION_APPROVED", label: "실사 승인", variant: "success" as const };
             case "SUPPLEMENT":
               return { status: "INVESTIGATION_SUPPLEMENT", label: "실사 보완필요", variant: "secondary" as const };
+            case "SUPPLEMENT_REINSPECT":
+              return { status: "INVESTIGATION_SUPPLEMENT_REINSPECT", label: "실사 보완-재실사", variant: "secondary" as const };
+            case "SUPPLEMENT_DOCUMENT":
+              return { status: "INVESTIGATION_SUPPLEMENT_DOCUMENT", label: "실사 보완-서류제출", variant: "secondary" as const };
             case "REJECTED":
               return { status: "INVESTIGATION_REJECTED", label: "실사 불가", variant: "destructive" as const };
             default:
@@ -336,6 +340,8 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ExtendedC
         return { status: "INVESTIGATION_COMPLETED", label: "실사 완료", variant: "default" as const };
       case "CANCELED":
         return { status: "INVESTIGATION_CANCELED", label: "실사 취소됨", variant: "destructive" as const };
+      case "SUPPLEMENT_REQUIRED":
+        return { status: "INVESTIGATION_SUPPLEMENT_REQUIRED", label: "실사 보완 요구됨", variant: "secondary" as const };
       case "RESULT_SENT":
         return { status: "INVESTIGATION_RESULT_SENT", label: "실사 결과 발송", variant: "success" as const };
       default:
@@ -398,6 +404,10 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ExtendedC
           return <Badge variant="success">승인</Badge>;
         case "SUPPLEMENT":
           return <Badge variant="secondary">보완</Badge>;
+        case "SUPPLEMENT_REINSPECT":
+          return <Badge variant="secondary">보완-재실사</Badge>;
+        case "SUPPLEMENT_DOCUMENT":
+          return <Badge variant="secondary">보완-서류제출</Badge>;
         case "REJECTED":
           return <Badge variant="destructive">불가</Badge>;
         default:
-- 
cgit v1.2.3

