Commit 4acd775e by wangjian

1

parent 56071832
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
}, },
methods: { methods: {
add() { add() {
if (this.payIntegral > Number(this.$store.state.userInfo.surplusIntegral)) { if (this.$numUtils.numMulti(this.goods.sellingPrice+'', this.goodsNum+1) > Number(this.$store.state.userInfo.surplusIntegral)) {
this.toast('积分不够') this.toast('积分不够')
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment