From 02b1cf005cf3e1df64183d20ba42930eb2767a9f Mon Sep 17 00:00:00 2001 From: dujinkim 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 --- .../additional-info-dialog.tsx | 119 +++++++++++++++------ 1 file changed, 84 insertions(+), 35 deletions(-) (limited to 'components/vendor-regular-registrations/additional-info-dialog.tsx') diff --git a/components/vendor-regular-registrations/additional-info-dialog.tsx b/components/vendor-regular-registrations/additional-info-dialog.tsx index 84475877..303c6d7e 100644 --- a/components/vendor-regular-registrations/additional-info-dialog.tsx +++ b/components/vendor-regular-registrations/additional-info-dialog.tsx @@ -69,6 +69,7 @@ interface AdditionalInfoDialogProps { onOpenChange: (open: boolean) => void; vendorId: number; onSave?: () => void; + readonly?: boolean; } const contactTypes = [ @@ -86,6 +87,7 @@ export function AdditionalInfoDialog({ onOpenChange, vendorId, onSave, + readonly = false, }: AdditionalInfoDialogProps) { const [saving, setSaving] = useState(false); const [loading, setLoading] = useState(false); @@ -204,9 +206,12 @@ export function AdditionalInfoDialog({ - 추가정보 입력 + {readonly ? "추가정보 조회" : "추가정보 입력"}

- 정규업체 등록을 위한 추가정보를 입력해주세요. * 표시는 필수 입력 항목입니다. + {readonly + ? "정규업체 등록을 위한 추가 정보를 조회합니다." + : "정규업체 등록을 위한 추가정보를 입력해주세요. * 표시는 필수 입력 항목입니다." + }

@@ -240,9 +245,13 @@ export function AdditionalInfoDialog({ name={`businessContacts.${index}.contactName`} render={({ field }) => ( - 담당자명 * + 담당자명 {!readonly && "*"} - + @@ -253,9 +262,13 @@ export function AdditionalInfoDialog({ name={`businessContacts.${index}.position`} render={({ field }) => ( - 직급 * + 직급 {!readonly && "*"} - + @@ -268,9 +281,13 @@ export function AdditionalInfoDialog({ name={`businessContacts.${index}.department`} render={({ field }) => ( - 부서 * + 부서 {!readonly && "*"} - + @@ -281,9 +298,14 @@ export function AdditionalInfoDialog({ name={`businessContacts.${index}.email`} render={({ field }) => ( - Email * + Email {!readonly && "*"} - + @@ -295,11 +317,12 @@ export function AdditionalInfoDialog({ name={`businessContacts.${index}.responsibility`} render={({ field }) => ( - 담당업무 * + 담당업무 {!readonly && "*"}