From 7b2718ba47b69ed4b1bf20977cebe93393191839 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Wed, 3 Dec 2025 17:27:21 +0900
Subject: (김준회) dolce: 1) 도면리스트 테이블에 상세도면수 컬럼 추가, 2)
 상세도면편집 API 호출시 부모 도면의 ManagerNo를 Manager에 넣어서 보내도록
 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/dolce/table/gtt-drawing-list-columns.tsx | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'lib/dolce/table/gtt-drawing-list-columns.tsx')

diff --git a/lib/dolce/table/gtt-drawing-list-columns.tsx b/lib/dolce/table/gtt-drawing-list-columns.tsx
index 94d4d7d1..c76fcba0 100644
--- a/lib/dolce/table/gtt-drawing-list-columns.tsx
+++ b/lib/dolce/table/gtt-drawing-list-columns.tsx
@@ -40,13 +40,22 @@ export function createGttDrawingListColumns({
       header: t("drawingList.columns.discipline"),
       minSize: 80,
     },
+    {
+      accessorKey: "DetailDwgCNT",
+      header: t("drawingList.columns.detailDwgCnt"),
+      minSize: 100,
+      cell: ({ row }) => {
+        const count = row.getValue("DetailDwgCNT") as number;
+        return <div className="text-center">{count || 0}</div>;
+      },
+    },
     {
       accessorKey: "Manager",
       header: t("drawingList.columns.manager"),
       minSize: 200,
       cell: ({ row }) => {
         const managerENM = row.original.ManagerENM;
-        const manager = row.getValue("Manager");
+        const manager = row.getValue("Manager") as string;
         return <div>{managerENM || manager}</div>;
       },
     },
@@ -56,7 +65,7 @@ export function createGttDrawingListColumns({
       minSize: 120,
       cell: ({ row }) => {
 
-        const drawingMoveGbn = row.getValue("DrawingMoveGbn");
+        const drawingMoveGbn = row.getValue("DrawingMoveGbn") as string;
         let type = "";
 
         if (drawingMoveGbn == "도면입수") {
-- 
cgit v1.2.3

