소스 검색

修改bug

chenrui 5 달 전
부모
커밋
6193a28861
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
     }
   },