|
@@ -755,7 +755,8 @@ export default {
|
|
|
updateBuyAmount({ customId: this.option.id }).then(res => {
|
|
updateBuyAmount({ customId: this.option.id }).then(res => {
|
|
|
if (res.code == 1) {
|
|
if (res.code == 1) {
|
|
|
this.$msg('累计消费更新成功')
|
|
this.$msg('累计消费更新成功')
|
|
|
- this.getCustomInfo()
|
|
|
|
|
|
|
+ // 更新累计消费
|
|
|
|
|
+ this.buyAmount = res.data.buyAmount?parseFloat(res.data.buyAmount):0;
|
|
|
} else {
|
|
} else {
|
|
|
this.$msg(res.msg || '累计消费更新失败')
|
|
this.$msg(res.msg || '累计消费更新失败')
|
|
|
}
|
|
}
|