diff options
Diffstat (limited to 'lib/bidding-projects/table/projects-table.tsx')
| -rw-r--r-- | lib/bidding-projects/table/projects-table.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
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< @@ -65,6 +66,16 @@ export function BidProjectsTable({ promises }: ItemsTableProps) { */ 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: "견적프로젝트번호", type: "text", @@ -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} + /> </> ) } |
