Browse Source

修改bug

chenrui 5 months ago
parent
commit
6193a28861
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/numsGoodsShelves/withdrawalManagementNew/list.vue

+ 2 - 2
src/views/numsGoodsShelves/withdrawalManagementNew/list.vue

@@ -118,11 +118,11 @@ export default {
   },
   computed: {
     totalAmount () {
-      const totalNum = this.pageInfo ? this.pageInfo.activeAmount + this.pageInfo.freezeAmount + this.pageInfo.floatAmount : 0
+      const totalNum = this.pageInfo ? (this.pageInfo.activeAmount * 100 + this.pageInfo.freezeAmount * 100 + this.pageInfo.floatAmount * 100) / 100 : 0
       return totalNum
     },
     accountAmount () {
-      const accountNum = this.pageInfo ? this.pageInfo.activeAmount + this.pageInfo.freezeAmount : 0
+      const accountNum = this.pageInfo ? (this.pageInfo.activeAmount * 100 + this.pageInfo.freezeAmount * 100) / 100 : 0
       return accountNum
     }
   },