From 8440ac29c7dcbef992039678ecc0fabff2fd04ec Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 1 Dec 2025 00:58:23 +0000
Subject: (대표님) S-EDP 관련 대표님 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/form-data-plant/update-form-sheet.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'components/form-data-plant/update-form-sheet.tsx')

diff --git a/components/form-data-plant/update-form-sheet.tsx b/components/form-data-plant/update-form-sheet.tsx
index bd75d8f3..b7f56f7e 100644
--- a/components/form-data-plant/update-form-sheet.tsx
+++ b/components/form-data-plant/update-form-sheet.tsx
@@ -65,7 +65,8 @@ interface UpdateTagSheetProps extends React.ComponentPropsWithoutRef<typeof Shee
   columns: DataTableColumnJSON[];
   rowData: Record<string, any> | null;
   formCode: string;
-  contractItemId: number;
+  projectCode: string;
+  packageCode: string;
   editableFieldsMap?: Map<string, string[]>; // 새로 추가
   /** 업데이트 성공 시 호출될 콜백 */
   onUpdateSuccess?: (updatedValues: Record<string, any>) => void;
@@ -77,7 +78,8 @@ export function UpdateTagSheet({
   columns,
   rowData,
   formCode,
-  contractItemId,
+  projectCode,
+  packageCode,
   editableFieldsMap = new Map(),
   onUpdateSuccess,
   ...props
@@ -219,7 +221,8 @@ export function UpdateTagSheet({
 
         const { success, message } = await updateFormDataInDB(
           formCode,
-          contractItemId,
+          projectCode,
+          packageCode,
           finalValues,
         );
 
-- 
cgit v1.2.3

