From a42873419d14652d3639d2ae02d2ea54653b4749 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Wed, 2 Jul 2025 04:46:24 +0000
Subject: (김준회) 견적프로젝트 해양 TOP - nonsap(견적물량관리시스템) 데이터
 가져오기 추가
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding-projects/table/projects-table.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'lib/bidding-projects/table/projects-table.tsx')

diff --git a/lib/bidding-projects/table/projects-table.tsx b/lib/bidding-projects/table/projects-table.tsx
index 0e0c48f9..130e1214 100644
--- a/lib/bidding-projects/table/projects-table.tsx
+++ b/lib/bidding-projects/table/projects-table.tsx
@@ -16,6 +16,7 @@ import { getBidProjectLists } from "../service"
 import { BiddingProjects } from "@/db/schema"
 import { ProjectTableToolbarActions } from "./projects-table-toolbar-actions"
 import { ProjectSeriesDialog } from "./project-series-dialog"
+import { UpdateProjectSheet } from "./update-project-sheet"
 
 interface ItemsTableProps {
   promises: Promise<
@@ -64,6 +65,16 @@ export function BidProjectsTable({ promises }: ItemsTableProps) {
    * 4. Date and boolean types: Adds support for filtering by date ranges and boolean values.
    */
   const advancedFilterFields: DataTableAdvancedFilterField<BiddingProjects>[] = [
+    {
+      id: "pjtType",
+      label: "프로젝트 타입",
+      type: "select",
+      options: [
+        { label: "SHIP", value: "SHIP" },
+        { label: "HULL", value: "HULL" },
+        { label: "TOP", value: "TOP" },
+      ],
+    },
     {
       id: "pspid",
       label: "견적프로젝트번호",
@@ -151,6 +162,12 @@ export function BidProjectsTable({ promises }: ItemsTableProps) {
          onOpenChange={() => setRowAction(null)}
          project={rowAction?.row.original ?? null}
       />
+
+      <UpdateProjectSheet
+        open={rowAction?.type === "update"}
+        onOpenChange={() => setRowAction(null)}
+        project={rowAction?.row.original ?? null}
+      />
     </>
   )
 }
-- 
cgit v1.2.3

