From 95866a13ba4e1c235373834460aa284b763fe0d9 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 23 Jun 2025 09:03:29 +0000
Subject: (최겸) 기술영업 RFQ 개발(0620 요구사항, 첨부파일, REV 등)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/vendor-quotations-table-columns.tsx      | 32 ++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

(limited to 'lib/techsales-rfq/vendor-response/table/vendor-quotations-table-columns.tsx')

diff --git a/lib/techsales-rfq/vendor-response/table/vendor-quotations-table-columns.tsx b/lib/techsales-rfq/vendor-response/table/vendor-quotations-table-columns.tsx
index b89f8953..39de94ed 100644
--- a/lib/techsales-rfq/vendor-response/table/vendor-quotations-table-columns.tsx
+++ b/lib/techsales-rfq/vendor-response/table/vendor-quotations-table-columns.tsx
@@ -30,7 +30,6 @@ interface QuotationWithRfqCode extends TechSalesVendorQuotations {
   
   // 아이템 정보
   itemName?: string;
-
   itemCount?: number;
   
   // 프로젝트 정보
@@ -38,6 +37,9 @@ interface QuotationWithRfqCode extends TechSalesVendorQuotations {
   pspid?: string;
   sector?: string;
   
+  // RFQ 정보
+  description?: string;
+  
   // 벤더 정보
   vendorName?: string;
   vendorCode?: string;
@@ -193,6 +195,33 @@ export function getColumns({ router, openAttachmentsSheet, openItemsDialog }: Ge
     //   enableSorting: true,
     //   enableHiding: true,
     // },
+    {
+      accessorKey: "description",
+      header: ({ column }) => (
+        <DataTableColumnHeaderSimple column={column} title="RFQ title" />
+      ),
+      cell: ({ row }) => {
+        const description = row.getValue("description") as string;
+        return (
+          <div className="min-w-48 max-w-64">
+            <TooltipProvider>
+              <Tooltip>
+                <TooltipTrigger asChild>
+                  <span className="truncate block text-sm">
+                    {description || "N/A"}
+                  </span>
+                </TooltipTrigger>
+                <TooltipContent>
+                  <p className="max-w-xs">{description || "N/A"}</p>
+                </TooltipContent>
+              </Tooltip>
+            </TooltipProvider>
+          </div>
+        );
+      },
+      enableSorting: true,
+      enableHiding: true,
+    },
     {
       accessorKey: "projNm",
       header: ({ column }) => (
@@ -313,7 +342,6 @@ export function getColumns({ router, openAttachmentsSheet, openItemsDialog }: Ge
       cell: ({ row }) => {
         const quotation = row.original
         const attachmentCount = quotation.attachmentCount || 0
-
         const handleClick = () => {
           openAttachmentsSheet(quotation.rfqId)
         }
-- 
cgit v1.2.3

