summaryrefslogtreecommitdiff
path: root/lib/bidding/pre-quote
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-09-17 10:40:12 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-09-17 10:40:12 +0000
commit10cb50753ccf318024c4394282f9e8d968dcd1a5 (patch)
treecf4edb96aa172c3b90d88532aff1f536944a2283 /lib/bidding/pre-quote
parentf7117370b9cc0c7b96bd1eb23a1b9f5b16cc8ceb (diff)
(최겸) 구매 입찰 오류 수정 및 선적지,하역지 연동,TO Cont, TO PO 개발
Diffstat (limited to 'lib/bidding/pre-quote')
-rw-r--r--lib/bidding/pre-quote/service.ts16
-rw-r--r--lib/bidding/pre-quote/table/bidding-pre-quote-vendor-columns.tsx2
2 files changed, 6 insertions, 12 deletions
diff --git a/lib/bidding/pre-quote/service.ts b/lib/bidding/pre-quote/service.ts
index cad77a6b..0f284297 100644
--- a/lib/bidding/pre-quote/service.ts
+++ b/lib/bidding/pre-quote/service.ts
@@ -57,13 +57,7 @@ interface PrItemQuotation {
technicalSpecification?: string
}
-interface PreQuoteDocumentUpload {
- fileName: string
- originalFileName: string
- fileSize: number
- mimeType: string
- filePath: string
-}
+
// 사전견적용 업체 추가 - biddingCompanies와 company_condition_responses 레코드 생성
export async function createBiddingCompany(input: CreateBiddingCompanyInput) {
@@ -448,7 +442,8 @@ export async function getBiddingCompaniesForPartners(biddingId: number, companyI
contractType: biddings.contractType,
biddingType: biddings.biddingType,
awardCount: biddings.awardCount,
- contractPeriod: biddings.contractPeriod,
+ contractStartDate: biddings.contractStartDate,
+ contractEndDate: biddings.contractEndDate,
preQuoteDate: biddings.preQuoteDate,
biddingRegistrationDate: biddings.biddingRegistrationDate,
submissionStartDate: biddings.submissionStartDate,
@@ -743,7 +738,7 @@ export async function respondToPreQuoteInvitation(
}
}
-// 벤더에서 사전견적 참여 여부 결정 (isPreQuoteSelected, isPreQuoteParticipated 사용)
+// 벤더에서 사전견적 참여 여부 결정 (isPreQuoteParticipated 사용)
export async function setPreQuoteParticipation(
biddingCompanyId: number,
isParticipating: boolean
@@ -752,7 +747,6 @@ export async function setPreQuoteParticipation(
await db.update(biddingCompanies)
.set({
isPreQuoteParticipated: isParticipating,
- isPreQuoteSelected: isParticipating,
respondedAt: new Date(),
updatedAt: new Date()
})
@@ -1433,7 +1427,7 @@ export async function sendBiddingBasicContracts(
message: `${results.length}개의 기본계약이 생성되었습니다.`,
results,
savedContracts,
- totalContracts: savedContracts.length
+ totalContracts: savedContracts.length,
}
})
diff --git a/lib/bidding/pre-quote/table/bidding-pre-quote-vendor-columns.tsx b/lib/bidding/pre-quote/table/bidding-pre-quote-vendor-columns.tsx
index 5c6f41ce..3266a568 100644
--- a/lib/bidding/pre-quote/table/bidding-pre-quote-vendor-columns.tsx
+++ b/lib/bidding/pre-quote/table/bidding-pre-quote-vendor-columns.tsx
@@ -338,7 +338,7 @@ export function getBiddingPreQuoteVendorColumns({
},
{
accessorKey: 'proposedDestinationPort',
- header: '제안도착지',
+ header: '제안하역지',
cell: ({ row }) => (
<div className="text-sm max-w-24 truncate" title={row.original.proposedDestinationPort || ''}>
{row.original.proposedDestinationPort || '-'}