summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/table/create-rfq-ship-dialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/techsales-rfq/table/create-rfq-ship-dialog.tsx')
-rw-r--r--lib/techsales-rfq/table/create-rfq-ship-dialog.tsx8
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 />