This commit is contained in:
parent
878581b6f7
commit
299f75ec0c
|
@ -883,7 +883,7 @@ export default {
|
|||
},
|
||||
// 占比值变化处理
|
||||
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);
|
||||
val.coupon = Math.floor(val.price * obj.coupon);
|
||||
val.growth = Math.floor(val.price * obj.growth);
|
||||
|
|
Loading…
Reference in New Issue