shizhongqi 5 месяцев назад
Родитель
Сommit
29c9e0a6f5
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      hdApp/src/admin/member/detail.vue

+ 2 - 1
hdApp/src/admin/member/detail.vue

@@ -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 || '累计消费更新失败')
         }
         }