chenrui il y a 5 mois
Parent
commit
6193a28861
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/views/numsGoodsShelves/withdrawalManagementNew/list.vue

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

@@ -118,11 +118,11 @@ export default {
   },
   },
   computed: {
   computed: {
     totalAmount () {
     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
       return totalNum
     },
     },
     accountAmount () {
     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
       return accountNum
     }
     }
   },
   },