diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-03 02:50:02 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-03 02:50:02 +0000 |
| commit | 766f95945a7ca0fdb258d6a83229593e4fcccfa6 (patch) | |
| tree | 3374364b5a90b2704d7ebd18ab404bf6e8fe69e2 /lib/techsales-rfq/table/create-rfq-ship-dialog.tsx | |
| parent | e4b2bef735e6aab6a5ecae9a017c5c618a6d3a4b (diff) | |
(최겸) 기술영업 RFQ 견적 프로젝트별 생성 기능 추가
Diffstat (limited to 'lib/techsales-rfq/table/create-rfq-ship-dialog.tsx')
| -rw-r--r-- | lib/techsales-rfq/table/create-rfq-ship-dialog.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
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<typeof createShipRfqSchema> // 공종 타입 정의 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<WorkType | null>(null) + const [selectedWorkType, setSelectedWorkType] = React.useState<ShipbuildingWorkType | null>(null) const [selectedShipType, setSelectedShipType] = React.useState<string | null>(null) const [selectedItems, setSelectedItems] = React.useState<ShipbuildingItem[]>([]) @@ -370,6 +369,7 @@ export function CreateShipRfqDialog({ onCreated }: CreateShipRfqDialogProps) { selectedProjectId={field.value} onProjectSelect={handleProjectSelect} placeholder="입찰 프로젝트를 선택하세요" + pjtType="SHIP" /> </FormControl> <FormMessage /> |
