From c8cccaf1198ae48754ac036b579732018f5b448a Mon Sep 17 00:00:00 2001 From: dujinkim Date: Thu, 23 Oct 2025 03:30:01 +0000 Subject: (최겸) 기술영업 조선 rfq 수정(벤더, 담당자 임시삭제기능 추가) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quotation-contacts-view-dialog.tsx | 94 +++++++++++----------- 1 file changed, 48 insertions(+), 46 deletions(-) (limited to 'lib/techsales-rfq/table/detail-table/quotation-contacts-view-dialog.tsx') diff --git a/lib/techsales-rfq/table/detail-table/quotation-contacts-view-dialog.tsx b/lib/techsales-rfq/table/detail-table/quotation-contacts-view-dialog.tsx index 61c97b1b..608b5670 100644 --- a/lib/techsales-rfq/table/detail-table/quotation-contacts-view-dialog.tsx +++ b/lib/techsales-rfq/table/detail-table/quotation-contacts-view-dialog.tsx @@ -109,60 +109,62 @@ export function QuotationContactsViewDialog({ ) : (
- {contacts.map((contact) => ( -
-
- -
-
- {contact.contactName} - {contact.isPrimary && ( - - 주담당자 - + {contacts + .filter((contact) => contact.contactTitle) // contactTitle이 있는 담당자만 필터링 (체크표시된 담당자) + .map((contact) => ( +
+
+ +
+
+ {contact.contactName} + {contact.isPrimary && ( + + 주담당자 + + )} +
+ {contact.contactPosition && ( +

+ {contact.contactPosition} +

+ )} + {contact.contactTitle && ( +

+ {contact.contactTitle} +

+ )} + {contact.contactCountry && ( +

+ {contact.contactCountry} +

)}
- {contact.contactPosition && ( -

- {contact.contactPosition} -

- )} - {contact.contactTitle && ( -

- {contact.contactTitle} -

- )} - {contact.contactCountry && ( -

- {contact.contactCountry} -

- )} -
-
- -
-
- - {contact.contactEmail}
- {contact.contactPhone && ( + +
- - {contact.contactPhone} + + {contact.contactEmail} +
+ {contact.contactPhone && ( +
+ + {contact.contactPhone} +
+ )} +
+ 발송일: {new Date(contact.createdAt).toLocaleDateString('ko-KR')}
- )} -
- 발송일: {new Date(contact.createdAt).toLocaleDateString('ko-KR')}
-
- ))} - + ))} +
- 총 {contacts.length}명의 담당자에게 발송됨 + 총 {contacts.filter((contact) => contact.contactTitle).length}명의 담당자에게 발송됨
)} -- cgit v1.2.3