From 299f75ec0c75909faba4f4a405b797ccde9c8783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Thu, 21 Nov 2024 16:03:20 +0800 Subject: [PATCH] 1 --- src/views/marketing/seckill/seckillGoods/editAttr.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/marketing/seckill/seckillGoods/editAttr.vue b/src/views/marketing/seckill/seckillGoods/editAttr.vue index e3a88a3..5dd2acb 100644 --- a/src/views/marketing/seckill/seckillGoods/editAttr.vue +++ b/src/views/marketing/seckill/seckillGoods/editAttr.vue @@ -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);