From 766f95945a7ca0fdb258d6a83229593e4fcccfa6 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Thu, 3 Jul 2025 02:50:02 +0000 Subject: (최겸) 기술영업 RFQ 견적 프로젝트별 생성 기능 추가 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/techsales-rfq/table/create-rfq-ship-dialog.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/techsales-rfq/table/create-rfq-ship-dialog.tsx') diff --git a/lib/techsales-rfq/table/create-rfq-ship-dialog.tsx b/lib/techsales-rfq/table/create-rfq-ship-dialog.tsx index b616f526..efa4e164 100644 --- a/lib/techsales-rfq/table/create-rfq-ship-dialog.tsx +++ b/lib/techsales-rfq/table/create-rfq-ship-dialog.tsx @@ -50,7 +50,7 @@ import { getAllShipbuildingItemsForCache, getShipTypes, type ShipbuildingItem, - type WorkType + type ShipbuildingWorkType } from "@/lib/items-tech/service" @@ -73,9 +73,8 @@ type CreateShipRfqFormValues = z.infer // 공종 타입 정의 interface WorkTypeOption { - code: WorkType + code: ShipbuildingWorkType name: string - description: string } interface CreateShipRfqDialogProps { @@ -90,7 +89,7 @@ export function CreateShipRfqDialog({ onCreated }: CreateShipRfqDialogProps) { // 검색 및 필터링 상태 const [itemSearchQuery, setItemSearchQuery] = React.useState("") - const [selectedWorkType, setSelectedWorkType] = React.useState(null) + const [selectedWorkType, setSelectedWorkType] = React.useState(null) const [selectedShipType, setSelectedShipType] = React.useState(null) const [selectedItems, setSelectedItems] = React.useState([]) @@ -370,6 +369,7 @@ export function CreateShipRfqDialog({ onCreated }: CreateShipRfqDialogProps) { selectedProjectId={field.value} onProjectSelect={handleProjectSelect} placeholder="입찰 프로젝트를 선택하세요" + pjtType="SHIP" /> -- cgit v1.2.3