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/drawing-list-columns.tsx | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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

diff --git a/lib/dolce/table/drawing-list-columns.tsx b/lib/dolce/table/drawing-list-columns.tsx
index 30b71d8d..6fe1b3e2 100644
--- a/lib/dolce/table/drawing-list-columns.tsx
+++ b/lib/dolce/table/drawing-list-columns.tsx
@@ -27,13 +27,22 @@ export function drawingListColumns(lng: string, t: any): ColumnDef<DwgReceiptIte
       header: t("drawingList.columns.discipline"),
       minSize: 120,
     },
+    {
+      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>;
       },
     },
-- 
cgit v1.2.3

