Browse Source

结余数量

yangc 7 years ago
parent
commit
14ad684432
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/mobile/center/vendor/payCenter.vue

+ 2 - 2
pages/mobile/center/vendor/payCenter.vue

@@ -93,7 +93,7 @@
         <span class="content">已收总计:<span>{{currencySymbol | currencyFilter}}&nbsp;{{totalMoney}}</span></span>
         <!--<span class="content">支出总计:<span>{{currencySymbol | currencyFilter}}&nbsp;0</span></span>
         <p>结余:{{currencySymbol | currencyFilter}}&nbsp;{{totalRecordPrice}} (共计{{recordList.length || 0}}笔交易)</p>-->
-        <p>结余:{{currencySymbol | currencyFilter}}&nbsp;{{totalMoney}} (共计{{recordList.length || 0}}笔交易)</p>
+        <p>结余:{{currencySymbol | currencyFilter}}&nbsp;{{totalMoney}} (共计{{recordData.data.data.data.totalElements || 0}}笔交易)</p>
       </div>
     </div>
     <!-- 交易记录end -->
@@ -312,7 +312,7 @@
               this.isChange = false
               this.totalRecordPrice = 0
             }
-            this.totalRecordPrice = this.baseUtils.priceFixed(this.totalRecordPrice + this.recordData.data.data.total)
+//            this.totalRecordPrice = this.baseUtils.priceFixed(this.totalRecordPrice + this.recordData.data.data.total)
             this.recordList = [...this.recordList, ...val.content]
           }
         },