From 9ceed79cf32c896f8a998399bf1b296506b2cd4a Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 8 Apr 2025 03:08:19 +0000 Subject: 로그인 및 미들웨어 처리. 구조 변경 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vendor-rfq-table/rfqs-table-columns.tsx | 36 +++++++++++++++------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'lib/vendor-rfq-response/vendor-rfq-table/rfqs-table-columns.tsx') diff --git a/lib/vendor-rfq-response/vendor-rfq-table/rfqs-table-columns.tsx b/lib/vendor-rfq-response/vendor-rfq-table/rfqs-table-columns.tsx index ac8fa35e..70b91176 100644 --- a/lib/vendor-rfq-response/vendor-rfq-table/rfqs-table-columns.tsx +++ b/lib/vendor-rfq-response/vendor-rfq-table/rfqs-table-columns.tsx @@ -177,20 +177,33 @@ export function getColumns({ header: ({ column }) => ( ), - cell: ({ row }) => { - return ( - - ) - }, + // cell: ({ row }) => { + // return ( + // + // ) + // }, + cell: ({ row }) => row.original.rfqCode || "-", size: 150, } + const rfqTypeColumn: ColumnDef = { + id: "rfqType", + accessorKey: "rfqType", + enableResizing: true, + header: ({ column }) => ( + + ), + cell: ({ row }) => row.original.rfqType || "-", + size: 150, + } + + // 4) 응답 상태 컬럼 const responseStatusColumn: ColumnDef = { id: "responseStatus", @@ -408,6 +421,7 @@ export function getColumns({ return [ selectColumn, rfqCodeColumn, + rfqTypeColumn, responseStatusColumn, projectNameColumn, descriptionColumn, -- cgit v1.2.3