summaryrefslogtreecommitdiff
path: root/lib/rfq-last/table/create-general-rfq-dialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfq-last/table/create-general-rfq-dialog.tsx')
-rw-r--r--lib/rfq-last/table/create-general-rfq-dialog.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rfq-last/table/create-general-rfq-dialog.tsx b/lib/rfq-last/table/create-general-rfq-dialog.tsx
index 14564686..7abf06a3 100644
--- a/lib/rfq-last/table/create-general-rfq-dialog.tsx
+++ b/lib/rfq-last/table/create-general-rfq-dialog.tsx
@@ -60,7 +60,7 @@ import { createGeneralRfqAction, getPUsersForFilter, previewGeneralRfqCode } fro
// 아이템 스키마
const itemSchema = z.object({
- itemCode: z.string().min(1, "자재코드를 입력해주세요"),
+ itemCode: z.string().optional(),
itemName: z.string().min(1, "자재명을 입력해주세요"),
quantity: z.number().min(1, "수량은 1 이상이어야 합니다"),
uom: z.string().min(1, "단위를 입력해주세요"),
@@ -645,7 +645,7 @@ export function CreateGeneralRfqDialog({ onSuccess }: CreateGeneralRfqDialogProp
render={({ field }) => (
<FormItem>
<FormLabel className="text-xs">
- 자재코드 <span className="text-red-500">*</span>
+ 자재코드
</FormLabel>
<FormControl>
<Input