订单详情结算后只展示已优惠价格

This commit is contained in:
2024-11-23 14:26:21 +08:00
parent 00b81e9f1b
commit 5ae1e4b420
2 changed files with 3 additions and 3 deletions

View File

@@ -497,7 +497,7 @@
const youhuiAllPrice = computed(() => {
if(props.orderInfo.status!='unpaid'){
const seatfee=(props.orderInfo.amount==0&&allPrice.value==0)?seatFeePrice.value:0
return (goodsOriginAllPrice.value-allPrice.value-discountAmount.value+seatfee*1).toFixed(2)
return (goodsOriginAllPrice.value-allPrice.value+seatfee*1).toFixed(2)
}
return (freePrice.value * 1 + vipDiscountPrice.value * 1 + props.orderInfo.fullCouponDiscountAmount + props
.orderInfo.pointsDiscountAmount + (props.orderInfo.status == 'unpaid' ? productCoupPrice.value :