From 02b1cf005cf3e1df64183d20ba42930eb2767a9f Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 21 Aug 2025 06:57:36 +0000
Subject: (대표님, 최겸) 설계메뉴추가, 작업사항 업데이트 설계메뉴 - 문서관리
 설계메뉴 - 벤더 데이터 gtc 메뉴 업데이트 정보시스템 - 메뉴리스트 및 정보
 업데이트 파일 라우트 업데이트 엑셀임포트 개선 기본계약 개선 벤더 가입과정
 변경 및 개선 벤더 기본정보 - pq 돌체 오류 수정 및 개선 벤더 로그인 과정
 이메일 오류 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/additional-info/join-form.tsx | 40 +++++++++++++++++++++++++++++++-
 1 file changed, 39 insertions(+), 1 deletion(-)

(limited to 'components/additional-info/join-form.tsx')

diff --git a/components/additional-info/join-form.tsx b/components/additional-info/join-form.tsx
index d9f5052e..ca0c60d5 100644
--- a/components/additional-info/join-form.tsx
+++ b/components/additional-info/join-form.tsx
@@ -192,6 +192,8 @@ export function InfoForm() {
       vendorName: "",
       taxId: "",
       address: "",
+      addressDetail: "",
+      postalCode: "",
       email: "",
       phone: "",
       country: "",
@@ -286,6 +288,8 @@ export function InfoForm() {
           vendorName: vendorData.vendorName || "",
           taxId: vendorData.taxId || "",
           address: vendorData.address || "",
+          addressDetail: vendorData.addressDetail || "",
+          postalCode: vendorData.postalCode || "",
           email: vendorData.email || "",
           phone: vendorData.phone || "",
           country: vendorData.country || "",
@@ -639,6 +643,8 @@ export function InfoForm() {
         vendorName: values.vendorName,
         website: values.website,
         address: values.address,
+        addressDetail: values.addressDetail,
+        postalCode: values.postalCode,
         email: values.email,
         phone: values.phone,
         country: values.country,
@@ -1105,7 +1111,9 @@ export function InfoForm() {
                     name="address"
                     render={({ field }) => (
                       <FormItem>
-                        <FormLabel>주소</FormLabel>
+                        <FormLabel className="after:content-['*'] after:ml-0.5 after:text-red-500">
+                          주소
+                        </FormLabel>
                         <FormControl>
                           <Input {...field} disabled={isSubmitting} />
                         </FormControl>
@@ -1114,6 +1122,36 @@ export function InfoForm() {
                     )}
                   />
 
+                  {/* Address Detail */}
+                  <FormField
+                    control={form.control}
+                    name="addressDetail"
+                    render={({ field }) => (
+                      <FormItem>
+                        <FormLabel>상세주소</FormLabel>
+                        <FormControl>
+                          <Input {...field} disabled={isSubmitting} placeholder="상세주소를 입력해주세요" />
+                        </FormControl>
+                        <FormMessage />
+                      </FormItem>
+                    )}
+                  />
+
+                  {/* Postal Code */}
+                  <FormField
+                    control={form.control}
+                    name="postalCode"
+                    render={({ field }) => (
+                      <FormItem>
+                        <FormLabel>우편번호</FormLabel>
+                        <FormControl>
+                          <Input {...field} disabled={isSubmitting} placeholder="우편번호를 입력해주세요" />
+                        </FormControl>
+                        <FormMessage />
+                      </FormItem>
+                    )}
+                  />
+
                   <FormField
                     control={form.control}
                     name="phone"
-- 
cgit v1.2.3

