diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue index c7168a3..d6c50a2 100644 --- a/pages/CommodityDetails/CommodityDetails.vue +++ b/pages/CommodityDetails/CommodityDetails.vue @@ -354,11 +354,11 @@ //步进期 numberchange(e) { this.totalPrice = (this.updata.goodsPrice * this.updata.goodsCount).toFixed(2) - this.Paidinprice = Number(this.totalPrice) - Number(this.coupon.couponPrice) + this.Paidinprice = (Number(this.totalPrice) - Number(this.coupon.couponPrice)).toFixed(2) }, buyshowtrue() { this.buyshow = true - this.totalPrice = (this.updata.goodsPrice * this.updata.goodsCount).toFixed(2) + this.totalPrice = Number((this.updata.goodsPrice * this.updata.goodsCount).toFixed(2)) }, upper: function(e) {}, lower: function(e) {},