gjy 3 years ago
parent
commit
11b5afa3d5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/warehouse/weightedsubsidiary.vue

+ 4 - 0
src/views/warehouse/weightedsubsidiary.vue

@@ -154,6 +154,7 @@ import { downloadFile } from '@/utils/batchDown'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import { EventBus } from 'base-core-lib'
+import { toFixed } from 'xe-utils/methods'
 export default {
   name: 'viewSpareMoney',
   components: {
@@ -386,6 +387,9 @@ export default {
       })
         .toPromise()
         .then((response) => {
+          for (let i = 0; i < response.records.length; i++) {
+            response.records[i].toFixed(2)
+          }
           this.warehouseList = response
           this.deptBudgetTotal=response.total
           this.counttotal()