diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-21 06:57:36 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-21 06:57:36 +0000 |
| commit | 02b1cf005cf3e1df64183d20ba42930eb2767a9f (patch) | |
| tree | e932c54d5260b0e6fda2b46be2a6ba1c3ee30434 /components/additional-info | |
| parent | d78378ecd7ceede1429359f8058c7a99ac34b1b7 (diff) | |
(대표님, 최겸) 설계메뉴추가, 작업사항 업데이트
설계메뉴 - 문서관리
설계메뉴 - 벤더 데이터
gtc 메뉴 업데이트
정보시스템 - 메뉴리스트 및 정보 업데이트
파일 라우트 업데이트
엑셀임포트 개선
기본계약 개선
벤더 가입과정 변경 및 개선
벤더 기본정보 - pq
돌체 오류 수정 및 개선
벤더 로그인 과정 이메일 오류 수정
Diffstat (limited to 'components/additional-info')
| -rw-r--r-- | components/additional-info/join-form.tsx | 40 |
1 files changed, 39 insertions, 1 deletions
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" |
