From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 25 Jul 2025 07:51:15 +0000 Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC 등 (최겸) 기술영업 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vendor-response/detail/quotation-response-tab.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx') diff --git a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx index 9411ed02..087e2a4d 100644 --- a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx +++ b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx @@ -96,10 +96,9 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) { const rfq = quotation.rfq const isDueDatePassed = rfq?.dueDate ? new Date(rfq.dueDate) < new Date() : false - // const canSubmit = !["Accepted", "Rejected"].includes(quotation.status) && !isDueDatePassed - // const canEdit = !["Accepted", "Rejected"].includes(quotation.status) && !isDueDatePassed const canSubmit = !["Accepted", "Rejected"].includes(quotation.status) const canEdit = !["Accepted", "Rejected"].includes(quotation.status) + // 파일 업로드 핸들러 const handleFileSelect = (event: React.ChangeEvent) => { const files = event.target.files @@ -264,13 +263,13 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) {
견적서 상태
{getStatusLabel(quotation.status)}
-
+ {/*
RFQ 마감일
{rfq?.dueDate ? formatDate(rfq.dueDate) : "N/A"}
-
-
+
*/} + {/*
남은 시간
{isDueDatePassed ? ( @@ -283,19 +282,19 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) { "N/A" )}
-
+
*/} - {isDueDatePassed && ( + {/* {isDueDatePassed && ( RFQ 마감일이 지났습니다. 견적서를 수정하거나 제출할 수 없습니다. - )} + )} */} - {!canEdit && !isDueDatePassed && ( + {!canEdit && ( -- cgit v1.2.3