diff options
Diffstat (limited to 'lib/techsales-rfq/table/create-rfq-top-dialog.tsx')
| -rw-r--r-- | lib/techsales-rfq/table/create-rfq-top-dialog.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/techsales-rfq/table/create-rfq-top-dialog.tsx b/lib/techsales-rfq/table/create-rfq-top-dialog.tsx index 49fb35ca..d7171c09 100644 --- a/lib/techsales-rfq/table/create-rfq-top-dialog.tsx +++ b/lib/techsales-rfq/table/create-rfq-top-dialog.tsx @@ -66,6 +66,7 @@ const createTopRfqSchema = z.object({ required_error: "마감일을 선택해주세요.",
}),
description: z.string().optional(),
+ remark: z.string().optional(),
})
// 폼 데이터 타입
@@ -185,6 +186,7 @@ export function CreateTopRfqDialog({ onCreated }: CreateTopRfqDialogProps) { itemIds: [],
dueDate: undefined,
description: "",
+ remark: "",
}
})
@@ -252,6 +254,7 @@ export function CreateTopRfqDialog({ onCreated }: CreateTopRfqDialogProps) { itemIds: data.itemIds,
dueDate: data.dueDate,
description: data.description,
+ remark: data.remark,
createdBy: Number(session.user.id),
})
@@ -371,6 +374,25 @@ export function CreateTopRfqDialog({ onCreated }: CreateTopRfqDialogProps) { </FormItem>
)}
/>
+
+ {/* 비고 */}
+ <FormField
+ control={form.control}
+ name="remark"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>RFQ Context</FormLabel>
+ <FormControl>
+ <Input
+ placeholder="RFQ Context를 입력하세요 (선택사항)"
+ {...field}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
<Separator className="my-4" />
{/* 마감일 설정 */}
<FormField
|
