修复优化
This commit is contained in:
@@ -164,9 +164,10 @@ export function commOrderPrintData(orderInfo) {
|
||||
carts: [],
|
||||
amount: formatDecimal(orderInfo.payAmount),
|
||||
originAmount: formatDecimal(orderInfo.originAmount),
|
||||
discountAmount: formatDecimal(
|
||||
orderInfo.originAmount - orderInfo.orderAmount
|
||||
),
|
||||
discountAmount:
|
||||
orderInfo.status == "unpaid"
|
||||
? "0.00"
|
||||
: formatDecimal(orderInfo.originAmount - orderInfo.orderAmount),
|
||||
discount: orderInfo.discountRatio,
|
||||
remark: orderInfo.remark,
|
||||
orderInfo: orderInfo,
|
||||
|
||||
Reference in New Issue
Block a user