From 12e936c0b45ffa1c8f3c02ff77961212767be9a7 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 26 Aug 2025 01:17:56 +0000 Subject: (대표님) 가입, 기본계약, 벤더 (최겸) 기술영업 아이템 관련 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/additional-info/join-form.tsx | 209 +++++++++++---------- components/layout/Header.tsx | 1 + components/signup/join-form.tsx | 4 +- .../registration-request-dialog.tsx | 16 +- 4 files changed, 120 insertions(+), 110 deletions(-) (limited to 'components') diff --git a/components/additional-info/join-form.tsx b/components/additional-info/join-form.tsx index 90effddb..4f3998e3 100644 --- a/components/additional-info/join-form.tsx +++ b/components/additional-info/join-form.tsx @@ -755,6 +755,113 @@ export function InfoForm() { + {/* 서명/직인 등록 섹션 - 독립적으로 사용 가능 */} + + + + + 회사 서명/직인 등록 (선택사항) + + + 회사의 공식 서명이나 직인을 등록하여 계약서 및 공식 문서에 사용할 수 있습니다. + + + + {/* 현재 등록된 서명/직인 파일 표시 (한 개만) */} + {(existingSignatureFiles.length > 0 || signatureFiles.length > 0) && ( +
+
+ + 서명/직인 등록됨 +
+ + {/* 기존 등록된 서명/직인 (첫 번째만 표시) */} + {existingSignatureFiles.length > 0 && signatureFiles.length === 0 && ( +
+ {(() => { + const file = existingSignatureFiles[0]; + const fileInfo = getFileInfo(file.fileName); + return ( +
+ +
+
{fileInfo.icon} {file.fileName}
+
+ {getAttachmentTypeLabel(file.attachmentType)} | {file.fileSize ? formatFileSize(file.fileSize) : '크기 정보 없음'} +
+
+
+ handleDownloadFile(file)} + disabled={isDownloading} + > + {isDownloading ? : } + + handleDeleteExistingFile(file.id)}> + + +
+
+ ); + })()} +
+ )} + + {/* 새로 업로드된 서명/직인 */} + {signatureFiles.length > 0 && ( +
+ {(() => { + const file = signatureFiles[0]; + return ( +
+ +
+
{file.name}
+
+ 서명/직인 (새 파일) | {prettyBytes(file.size)} +
+
+ + + +
+ ); + })()} +
+ )} +
+ )} + + {/* 서명/직인 업로드 드롭존 */} + + {({ maxSize }) => ( + + +
+ +
+ + {existingSignatureFiles.length > 0 || signatureFiles.length > 0 + ? "서명/직인 교체" + : "서명/직인 업로드" + } + + + 한 개 파일만 업로드 가능 {maxSize ? ` | 최대: ${prettyBytes(maxSize)}` : ""} + +
+
+
+ )} +
+
+
+ {/* 정규업체 등록 현황 섹션 */} {registrationData ? ( @@ -781,104 +888,6 @@ export function InfoForm() { )} - {/* 서명/직인 등록 */} -
-

회사 서명/직인 등록

- - {/* 현재 등록된 서명/직인 파일 표시 (한 개만) */} - {(existingSignatureFiles.length > 0 || signatureFiles.length > 0) && ( -
-
- - 서명/직인 등록됨 -
- - {/* 기존 등록된 서명/직인 (첫 번째만 표시) */} - {existingSignatureFiles.length > 0 && signatureFiles.length === 0 && ( -
- {(() => { - const file = existingSignatureFiles[0]; - const fileInfo = getFileInfo(file.fileName); - return ( -
- -
-
{fileInfo.icon} {file.fileName}
-
- {getAttachmentTypeLabel(file.attachmentType)} | {file.fileSize ? formatFileSize(file.fileSize) : '크기 정보 없음'} -
-
-
- handleDownloadFile(file)} - disabled={isDownloading} - > - {isDownloading ? : } - - handleDeleteExistingFile(file.id)}> - - -
-
- ); - })()} -
- )} - - {/* 새로 업로드된 서명/직인 */} - {signatureFiles.length > 0 && ( -
- {(() => { - const file = signatureFiles[0]; - return ( -
- -
-
{file.name}
-
- 서명/직인 (새 파일) | {prettyBytes(file.size)} -
-
- - - -
- ); - })()} -
- )} -
- )} - - {/* 서명/직인 업로드 드롭존 */} - - {({ maxSize }) => ( - - -
- -
- - {existingSignatureFiles.length > 0 || signatureFiles.length > 0 - ? "서명/직인 교체" - : "서명/직인 업로드" - } - - - 한 개 파일만 업로드 가능 {maxSize ? ` | 최대: ${prettyBytes(maxSize)}` : ""} - -
-
-
- )} -
-
- {/* 액션 버튼들 */}
-
+ {/*
handleInputChange('majorItems', e.target.value)} /> -
-
+
*/} + {/*
handleInputChange('establishmentDate', e.target.value)} /> -
+
*/} @@ -442,7 +442,7 @@ export function RegistrationRequestDialog({ /> -
+ {/*
-
+
*/} @@ -538,7 +538,7 @@ export function RegistrationRequestDialog({ -
+ {/*
-
+
*/} {/* 대표자 경력 */} -- cgit v1.2.3