修改退款计算公式

This commit is contained in:
2024-11-23 15:13:21 +08:00
parent 5ae1e4b420
commit 586f30c4c4
3 changed files with 53 additions and 15 deletions

View File

@@ -750,7 +750,8 @@
return goodsPrice.toFixed(2)
})
const originPrice = computed(() => {
return (order.amount || 0) * 1 + vipDiscount.value * 1
const n=(order.amount || 0) * 1 + vipDiscount.value * 1
return n.toFixed(2)
})
const fullCouponDiscountAmount = computed(() => {
return pays.quan.filter(v => v.type == 1).reduce((prve, cur) => {