summaryrefslogtreecommitdiff
path: root/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-23 01:37:34 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-23 01:37:34 +0000
commitc8e93fad9b1f3b1e4d99b23fc3d99dd5f463742a (patch)
treefd3472bf84747a9986e81f1a14bcb482b4a094b0 /lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
parentf440aee7ff899a6aa93b8e1b5d98ea78df210872 (diff)
(최겸) 구매 벤더 RFQ 제출 validation 오류 수정
Diffstat (limited to 'lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx')
-rw-r--r--lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
index 34259d37..c6e81f32 100644
--- a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
+++ b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
@@ -25,9 +25,9 @@ const vendorResponseSchema = z.object({
vendorCurrency: z.string().optional(),
vendorPaymentTermsCode: z.string().optional(),
vendorIncotermsCode: z.string().optional(),
- vendorIncotermsDetail: z.string().optional(),
+ vendorIncotermsDetail: z.string().nullable().optional(),
vendorDeliveryDate: z.date().optional().nullable(),
- vendorContractDuration: z.string().optional(),
+ vendorContractDuration: z.string().nullable().optional(),
vendorTaxCode: z.string().optional(),
vendorPlaceOfShipping: z.string().optional(),
vendorPlaceOfDestination: z.string().optional(),
@@ -449,7 +449,7 @@ export default function VendorResponseEditor({
</TabsContent>
<TabsContent value="terms" className="mt-6">
- <CommercialTermsForm rfqDetail={rfqDetail} />
+ <CommercialTermsForm rfqDetail={rfqDetail} rfq={rfq} />
</TabsContent>
<TabsContent value="items" className="mt-6">