Browse Source

客户累计消费刷新 -- 2

shizhongqi 5 months ago
parent
commit
29c9e0a6f5
1 changed files with 2 additions and 1 deletions
  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 => {
         if (res.code == 1) {
           this.$msg('累计消费更新成功')
-          this.getCustomInfo()
+          // 更新累计消费
+          this.buyAmount = res.data.buyAmount?parseFloat(res.data.buyAmount):0;
         } else {
           this.$msg(res.msg || '累计消费更新失败')
         }