Browse Source

修改bug

chenrui 5 tháng trước cách đây
mục cha
commit
6193a28861

+ 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
     }
   },