From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 25 Jul 2025 07:51:15 +0000
Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC
 등 (최겸) 기술영업
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/possible-items-data-table.tsx            | 33 ++++++++++++----------
 1 file changed, 18 insertions(+), 15 deletions(-)

(limited to 'lib/tech-vendor-possible-items/table/possible-items-data-table.tsx')

diff --git a/lib/tech-vendor-possible-items/table/possible-items-data-table.tsx b/lib/tech-vendor-possible-items/table/possible-items-data-table.tsx
index 28b9774f..42417059 100644
--- a/lib/tech-vendor-possible-items/table/possible-items-data-table.tsx
+++ b/lib/tech-vendor-possible-items/table/possible-items-data-table.tsx
@@ -9,21 +9,8 @@ import { DataTableAdvancedToolbar } from "@/components/data-table/data-table-adv
 import { getColumns } from "./possible-items-table-columns";
 import { PossibleItemsTableToolbarActions } from "./possible-items-table-toolbar-actions";
 
-// 타입만 import
-type TechVendorPossibleItemsData = {
-  id: number;
-  vendorId: number;
-  vendorCode: string | null;
-  vendorName: string;
-  techVendorType: string;
-  itemCode: string;
-  itemList: string | null;
-  workType: string | null;
-  shipTypes: string | null;
-  subItemList: string | null;
-  createdAt: Date;
-  updatedAt: Date;
-};
+// 새로운 스키마에 맞는 타입 import
+import type { TechVendorPossibleItemsData } from "../service";
 import type { DataTableAdvancedFilterField } from "@/types/table";
 
 interface PossibleItemsDataTableProps {
@@ -50,6 +37,22 @@ export function PossibleItemsDataTable({ promises }: PossibleItemsDataTableProps
       label: "벤더명", 
       type: "text",
     },
+    {
+      id: "vendorEmail",
+      label: "벤더이메일",
+      type: "text",
+    },
+    {
+      id: "vendorStatus",
+      label: "벤더상태",
+      type: "multi-select",
+      options: [
+        { label: "ACTIVE", value: "ACTIVE", count: 0 },
+        { label: "PENDING_INVITE", value: "PENDING_INVITE", count: 0 },
+        { label: "PENDING_REVIEW", value: "PENDING_REVIEW", count: 0 },
+        { label: "INACTIVE", value: "INACTIVE", count: 0 },
+      ],
+    },
     {
       id: "itemCode",
       label: "아이템코드",
-- 
cgit v1.2.3

