优化添加优惠

This commit is contained in:
gyq
2025-03-25 00:31:50 +08:00
parent a914adc9f8
commit 3e84edbb6c
19 changed files with 402 additions and 238 deletions

View File

@@ -163,6 +163,7 @@ export function commOrderPrintData(orderInfo) {
loginAccount: userStore.userInfo.name,
carts: [],
amount: formatDecimal(orderInfo.payAmount),
originAmount: formatDecimal(orderInfo.originAmount),
discountAmount: formatDecimal(
orderInfo.originAmount - orderInfo.orderAmount
),