From 2ef02e27dbe639876fa3b90c30307dda183545ec Mon Sep 17 00:00:00 2001 From: dujinkim Date: Thu, 17 Jul 2025 10:50:52 +0000 Subject: (최겸) 기술영업 변경사항 적용 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tech-vendors/table/add-vendor-dialog.tsx | 74 +++++++++++----------------- 1 file changed, 28 insertions(+), 46 deletions(-) (limited to 'lib/tech-vendors/table/add-vendor-dialog.tsx') diff --git a/lib/tech-vendors/table/add-vendor-dialog.tsx b/lib/tech-vendors/table/add-vendor-dialog.tsx index da9880d4..22c03bcc 100644 --- a/lib/tech-vendors/table/add-vendor-dialog.tsx +++ b/lib/tech-vendors/table/add-vendor-dialog.tsx @@ -51,6 +51,7 @@ const addVendorSchema = z.object({ representativeEmail: z.string().email("올바른 이메일 주소를 입력해주세요").optional().or(z.literal("")), representativePhone: z.string().optional(), representativeBirth: z.string().optional(), + isQuoteComparison: z.boolean().default(false), }) type AddVendorFormData = z.infer @@ -84,6 +85,7 @@ export function AddVendorDialog({ onSuccess }: AddVendorDialogProps) { representativeEmail: "", representativePhone: "", representativeBirth: "", + isQuoteComparison: false, }, }) @@ -108,6 +110,7 @@ export function AddVendorDialog({ onSuccess }: AddVendorDialogProps) { representativePhone: data.representativePhone || null, representativeBirth: data.representativeBirth || null, taxId: data.taxId || "", + isQuoteComparison: data.isQuoteComparison, }) if (result.success) { @@ -238,6 +241,31 @@ export function AddVendorDialog({ onSuccess }: AddVendorDialogProps) { )} /> + + ( + + + + +
+ + 견적비교용 벤더 + +

+ 체크 시 초대 메일을 발송하고 벤더가 직접 가입할 수 있습니다. +

+
+
+ )} + /> {/* 연락처 정보 */} @@ -333,52 +361,6 @@ export function AddVendorDialog({ onSuccess }: AddVendorDialogProps) { - {/* 담당자 정보 */} -
-

담당자 정보

-
- ( - - 담당자명 - - - - - - )} - /> - ( - - 담당자 전화번호 - - - - - - )} - /> -
- ( - - 담당자 이메일 - - - - - - )} - /> -
- {/* 대표자 정보 */}

대표자 정보

-- cgit v1.2.3