<el-table-column type="number" prop="total" label="共计" :formatter="rounding"></el-table-column>
// 展现时数据格式化
rounding(row, column) {return parseFloat(row[column.property]).toFixed(2)
},
<el-table-column type="number" prop="total" label="共计" :formatter="rounding"></el-table-column>
// 展现时数据格式化
rounding(row, column) {return parseFloat(row[column.property]).toFixed(2)
},