From cd0ce0cbe8af8719a6f542098ec78f2a5c1222ce Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 1 Dec 2025 10:28:05 +0000
Subject: (최겸) 구매 입찰 사전견적 개발(rfq-last)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/biddings-table-columns.tsx | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

(limited to 'lib/bidding/list/biddings-table-columns.tsx')

diff --git a/lib/bidding/list/biddings-table-columns.tsx b/lib/bidding/list/biddings-table-columns.tsx
index 9b8c19c5..62d4dbe7 100644
--- a/lib/bidding/list/biddings-table-columns.tsx
+++ b/lib/bidding/list/biddings-table-columns.tsx
@@ -122,14 +122,20 @@ export function getBiddingsColumns({ setRowAction }: GetColumnsProps): ColumnDef
     // ░░░ 프로젝트명 ░░░
     {
       accessorKey: "projectName",
-      header: ({ column }) => <DataTableColumnHeaderSimple column={column} title="프로젝트 No." />,
-      cell: ({ row }) => (
-        <div className="truncate max-w-[150px]" title={row.original.projectName || ''}>
-          {row.original.projectName || '-'}
-        </div>
-      ),
+      header: ({ column }) => <DataTableColumnHeaderSimple column={column} title="프로젝트" />,
+      cell: ({ row }) => {
+        const code = row.original.projectCode;
+        const name = row.original.projectName;
+        const displayText = code && name ? `${code} (${name})` : (code || name || '-');
+        
+        return (
+          <div className="truncate max-w-[150px]" title={displayText}>
+            {displayText}
+          </div>
+        )
+      },
       size: 150,
-      meta: { excelHeader: "프로젝트 No." },
+      meta: { excelHeader: "프로젝트" },
     },
     // ░░░ 입찰명 ░░░
     {
@@ -241,7 +247,7 @@ export function getBiddingsColumns({ setRowAction }: GetColumnsProps): ColumnDef
       accessorKey: "biddingRegistrationDate",
       header: ({ column }) => <DataTableColumnHeaderSimple column={column} title="입찰등록일" />,
       cell: ({ row }) => (
-        <span className="text-sm">{formatDate(row.original.biddingRegistrationDate , "KR")}</span>
+        <span className="text-sm">{row.original.biddingRegistrationDate ? formatDate(row.original.biddingRegistrationDate, "KR") : '-'}</span>
       ),
       size: 100,
       meta: { excelHeader: "입찰등록일" },
-- 
cgit v1.2.3

