diff options
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, |
