This commit is contained in:
曹辉 2023-03-03 16:05:41 +08:00
parent 7dd0dd4412
commit 8bb8cae37f

View File

@ -354,11 +354,11 @@
// //
numberchange(e) { numberchange(e) {
this.totalPrice = (this.updata.goodsPrice * this.updata.goodsCount).toFixed(2) 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() { buyshowtrue() {
this.buyshow = true 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) {}, upper: function(e) {},
lower: function(e) {}, lower: function(e) {},