summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-12-09 02:11:47 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-12-09 02:11:47 +0000
commit1ea1dfa5c2684838d37ebfc58e3e8fd98c2dc60b (patch)
tree8bb19d4d3efdfbc8b25b36751bcd069742958073
parentdee9429665fa2651272ed43576fd9d0562297a60 (diff)
(임수민) 협력업체 등록 레이아웃 순서 변경
-rw-r--r--components/signup/join-form.tsx152
-rw-r--r--i18n/locales/ko/join.json2
2 files changed, 77 insertions, 77 deletions
diff --git a/components/signup/join-form.tsx b/components/signup/join-form.tsx
index c6281b24..973fb00c 100644
--- a/components/signup/join-form.tsx
+++ b/components/signup/join-form.tsx
@@ -1431,6 +1431,82 @@ function CompleteVendorForm({
</div>
</div>
+ {/* 한국 사업자 정보 */}
+ {data.country === "KR" && (
+ <div className="rounded-md border p-6 space-y-4">
+ <h4 className="text-md font-semibold">{t('koreanBusinessInfo')}</h4>
+ <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
+ <div>
+ <label className="block text-sm font-medium mb-1">
+ {t('name')} <span className="text-red-500">*</span>
+ </label>
+ <Input
+ value={data.representativeName}
+ onChange={(e) => handleInputChange('representativeName', e.target.value)}
+ disabled={isSubmitting}
+ />
+ </div>
+ <div>
+ <label className="block text-sm font-medium mb-1">
+ {t('representativeBirth')} <span className="text-red-500">*</span>
+ </label>
+ <Input
+ placeholder="YYYY-MM-DD"
+ value={data.representativeBirth}
+ onChange={(e) => handleInputChange('representativeBirth', e.target.value)}
+ disabled={isSubmitting}
+ />
+ </div>
+ <div>
+ <label className="block text-sm font-medium mb-1">
+ {t('representativeEmail')} <span className="text-red-500">*</span>
+ </label>
+ <Input
+ value={data.representativeEmail}
+ onChange={(e) => handleInputChange('representativeEmail', e.target.value)}
+ disabled={isSubmitting}
+ />
+ </div>
+ <div>
+ <label className="block text-sm font-medium mb-1">
+ {t('')} <span className="text-red-500">*</span>
+ </label>
+ <PhoneInput
+ value={data.representativePhone}
+ onChange={(value) => handleInputChange('representativePhone', value)}
+ countryCode="KR"
+ disabled={isSubmitting}
+ showValidation={true}
+ t={t}
+ />
+ </div>
+ <div>
+ <label className="block text-sm font-medium mb-1">
+ {t('corporateRegistrationNumber')}
+ </label>
+ <Input
+ value={data.corporateRegistrationNumber}
+ onChange={(e) => handleInputChange('corporateRegistrationNumber', e.target.value)}
+ disabled={isSubmitting}
+ />
+ </div>
+ <div className="flex items-center space-x-2">
+ <input
+ type="checkbox"
+ id="work-experience"
+ checked={data.representativeWorkExpirence}
+ onChange={(e) => handleInputChange('representativeWorkExpirence', e.target.checked)}
+ disabled={isSubmitting}
+ className="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"
+ />
+ <label htmlFor="work-experience" className="text-sm">
+ {t('samsungWorkExperience')}
+ </label>
+ </div>
+ </div>
+ </div>
+ )}
+
{/* 담당자 정보 */}
<div className="rounded-md border p-6 space-y-4">
<div className="flex items-center justify-between">
@@ -1551,82 +1627,6 @@ function CompleteVendorForm({
</div>
</div>
- {/* 한국 사업자 정보 */}
- {data.country === "KR" && (
- <div className="rounded-md border p-6 space-y-4">
- <h4 className="text-md font-semibold">{t('koreanBusinessInfo')}</h4>
- <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
- <div>
- <label className="block text-sm font-medium mb-1">
- {t('representativeName')} <span className="text-red-500">*</span>
- </label>
- <Input
- value={data.representativeName}
- onChange={(e) => handleInputChange('representativeName', e.target.value)}
- disabled={isSubmitting}
- />
- </div>
- <div>
- <label className="block text-sm font-medium mb-1">
- {t('representativeBirth')} <span className="text-red-500">*</span>
- </label>
- <Input
- placeholder="YYYY-MM-DD"
- value={data.representativeBirth}
- onChange={(e) => handleInputChange('representativeBirth', e.target.value)}
- disabled={isSubmitting}
- />
- </div>
- <div>
- <label className="block text-sm font-medium mb-1">
- {t('representativeEmail')} <span className="text-red-500">*</span>
- </label>
- <Input
- value={data.representativeEmail}
- onChange={(e) => handleInputChange('representativeEmail', e.target.value)}
- disabled={isSubmitting}
- />
- </div>
- <div>
- <label className="block text-sm font-medium mb-1">
- {t('representativePhone')} <span className="text-red-500">*</span>
- </label>
- <PhoneInput
- value={data.representativePhone}
- onChange={(value) => handleInputChange('representativePhone', value)}
- countryCode="KR"
- disabled={isSubmitting}
- showValidation={true}
- t={t}
- />
- </div>
- <div>
- <label className="block text-sm font-medium mb-1">
- {t('corporateRegistrationNumber')}
- </label>
- <Input
- value={data.corporateRegistrationNumber}
- onChange={(e) => handleInputChange('corporateRegistrationNumber', e.target.value)}
- disabled={isSubmitting}
- />
- </div>
- <div className="flex items-center space-x-2">
- <input
- type="checkbox"
- id="work-experience"
- checked={data.representativeWorkExpirence}
- onChange={(e) => handleInputChange('representativeWorkExpirence', e.target.checked)}
- disabled={isSubmitting}
- className="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"
- />
- <label htmlFor="work-experience" className="text-sm">
- {t('samsungWorkExperience')}
- </label>
- </div>
- </div>
- </div>
- )}
-
{/* 필수 첨부 서류 */}
<div className="rounded-md border p-6 space-y-6">
<h4 className="text-md font-semibold">{t('requiredDocuments')}</h4>
diff --git a/i18n/locales/ko/join.json b/i18n/locales/ko/join.json
index 691ca61f..f35b86db 100644
--- a/i18n/locales/ko/join.json
+++ b/i18n/locales/ko/join.json
@@ -27,7 +27,7 @@
"vendorInfoRegistration": "업체 정보 등록",
"vendorInfoDescription": "업체 정보와 필요한 서류를 등록해주세요. 모든 정보는 관리자 검토 후 승인됩니다.",
- "basicInformation": "기본 정보",
+ "basicInformation": "회사 정보",
"vendorType": "업체유형",
"vendorName": "업체명",
"supplyItems": "공급품목",