chenrui 5 kuukautta sitten
vanhempi
commit
6193a28861
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
     }
   },