<div class="table">
<el-table
:data="tableData"
borderstyle="width: 100%"
border
stripe
@sort-change="sortChange"
ref="table"
:height="tableHeight"
:header-cell-style="handleTheadStyle"
>
<el-table-column label="Ledger Amt" prop="amountLedger" min-width="100" align="center" sortable="amountLedger">
<template slot-scope="scope">
<span>{
{scope.row.amountLedger | thousands}}</span>
</template>
</el-table-column>
props: {
mutilSort: {
default: true
},
},
data() {
return {
activeThead: {} //保存所选择的表头
}
}
reset() {
this.searchForm = {};
this.sortList = [];
this.$refs.table.clearSort();
for(let key in this.activeThead){
if(this.activeThead[key]){
this.activeThea