修改订单退款金额,客座费金额
This commit is contained in:
@@ -98,10 +98,10 @@
|
||||
}
|
||||
console.log(item);
|
||||
if (props.orderInfo.pointsDiscountAmount > 0 || props.orderInfo.fullCouponDiscountAmount > 0) {
|
||||
const shengyuKeTui=(props.orderInfo.refundAmount||0)-canTuiKuanPrice.value
|
||||
const shengyuKeTui=canTuiKuanPrice.value
|
||||
const bili = Math.floor((item.priceAmount / shengyuKeTui) * 100) / 100
|
||||
console.log(bili);
|
||||
return Math.floor(props.orderInfo.amount * bili * 100) / 100
|
||||
return Math.floor((props.orderInfo.amount-props.orderInfo.refundAmount) * bili * 100) / 100
|
||||
} else {
|
||||
return item.priceAmount
|
||||
}
|
||||
@@ -141,7 +141,7 @@
|
||||
}
|
||||
|
||||
function tuikuan() {
|
||||
emits('tuikuan', props.data)
|
||||
emits('tuikuan', {...props.data,priceAmount:seatFeePrice.value})
|
||||
}
|
||||
|
||||
function tuicai() {
|
||||
|
||||
Reference in New Issue
Block a user