shish 2 bulan lalu
induk
melakukan
cb80c3eb2d
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      hdApp/src/admin/home/member.vue

+ 1 - 4
hdApp/src/admin/home/member.vue

@@ -259,9 +259,6 @@ export default {
       return value ? value.substr(5, 11) : "";
       return value ? value.substr(5, 11) : "";
     },
     },
     amountText (item) {
     amountText (item) {
-      if (this.tabs[this.tabIndex] && this.tabs[this.tabIndex].type == 1) {
-        return `消费${this.formatNumber(item.buyAmount)}`;
-      }
       const balance = Number(item.balance) || 0;
       const balance = Number(item.balance) || 0;
       if (balance < 0) {
       if (balance < 0) {
         return `${this.formatNumber(Math.abs(balance))}`;
         return `${this.formatNumber(Math.abs(balance))}`;
@@ -269,7 +266,7 @@ export default {
       if (balance > 0) {
       if (balance > 0) {
         return `${this.formatNumber(balance)}`;
         return `${this.formatNumber(balance)}`;
       }
       }
-      return "0";
+      return "";
     },
     },
     decorateMemberList () {
     decorateMemberList () {
       this.list.data.forEach(item => {
       this.list.data.forEach(item => {