This commit is contained in:
faiz 2024-11-21 16:03:20 +08:00
parent 878581b6f7
commit 299f75ec0c
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ export default {
}, },
// //
proportionChange(val, i, e) { proportionChange(val, i, e) {
val.cost = toFixedNoRounding(val.price * e); // val.cost = toFixedNoRounding(val.price * e);
let obj = this.proportionList.find((item) => item.value == e); let obj = this.proportionList.find((item) => item.value == e);
val.coupon = Math.floor(val.price * obj.coupon); val.coupon = Math.floor(val.price * obj.coupon);
val.growth = Math.floor(val.price * obj.growth); val.growth = Math.floor(val.price * obj.growth);