From c8e93fad9b1f3b1e4d99b23fc3d99dd5f463742a Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 23 Sep 2025 01:37:34 +0000
Subject: (최겸) 구매 벤더 RFQ 제출 validation 오류 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx')

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">
-- 
cgit v1.2.3

