修改
This commit is contained in:
parent
fa5c5b6bcf
commit
74d4a1af4b
@ -357,7 +357,7 @@
|
||||
},
|
||||
//步进期
|
||||
numberchange(e) {
|
||||
this.totalPrice = (this.updata.goodsPrice * this.updata.goodsCount).toFixed(2)
|
||||
this.totalPrice = JSON.parse(JSON.stringify((this.updata.goodsPrice * this.updata.goodsCount).toFixed(2)))
|
||||
this.couponListtrue = []
|
||||
this.couponListfalse = []
|
||||
this.goodsDetailslist.couponList.forEach(e => {
|
||||
@ -592,7 +592,13 @@
|
||||
this.updata.goodsStock = item.goodsStock
|
||||
this.updata.goodsAttributeId = item.goodsAttributeId
|
||||
this.updata.goodsAttributeDetailsId = item.attributeDetailsId
|
||||
this.totalPrice = (this.updata.goodsPrice * this.updata.goodsCount).toFixed(2)
|
||||
this.updata.goodsCount = 1
|
||||
if (this.updata.goodsStock == 0) {
|
||||
this.updata.goodsCount = 0
|
||||
this.totalPrice = this.updata.goodsPrice
|
||||
} else {
|
||||
this.totalPrice = this.updata.goodsPrice
|
||||
}
|
||||
this.couponListtrue = []
|
||||
this.couponListfalse = []
|
||||
this.goodsDetailslist.couponList.forEach(e => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user