diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-08 10:29:19 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-08 10:29:19 +0000 |
| commit | f93493f68c9f368e10f1c3379f1c1384068e3b14 (patch) | |
| tree | a9dada58741750fa7ca6e04b210443ad99a6bccc /lib/bidding/service.ts | |
| parent | e832a508e1b3c531fb3e1b9761e18e1b55e3d76a (diff) | |
(대표님, 최겸) rfqLast, bidding, prequote
Diffstat (limited to 'lib/bidding/service.ts')
| -rw-r--r-- | lib/bidding/service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bidding/service.ts b/lib/bidding/service.ts index ef404561..8c99bfed 100644 --- a/lib/bidding/service.ts +++ b/lib/bidding/service.ts @@ -639,8 +639,8 @@ export async function createBidding(input: CreateBiddingInput, userId: string) { currency: 'KRW', // 기본값 또는 입력받은 값 quantity: prItem.quantity ? parseFloat(prItem.quantity) : null, quantityUnit: prItem.quantityUnit as any, // enum 타입에 맞게 - totalWeight: null, // 필요시 추가 - weightUnit: null, // 필요시 추가 + totalWeight: prItem.totalWeight ? parseFloat(prItem.totalWeight) : null, + weightUnit: prItem.weightUnit as any, // enum 타입에 맞게 materialDescription: '', // 필요시 추가 prNumber: prItem.prNumber, hasSpecDocument: prItem.specFiles.length > 0, |
