作者 朱兆平

出港理货转树形结构

... ... @@ -51,9 +51,16 @@
</el-col>
</el-row>
</div>
<tree-table v-loading="listLoading" :data="tidyData" :eval-func="func" :expand-all="true" stripe
style="font-size: 12px" border @selection-change="handleSelectionChange">
<el-table-column label="运单号" width="110" align="center">
<el-table v-loading="listLoading" :data="tidyData" stripe
highlight-current-row
default-expand-all
row-key="uuid"
border
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
style="font-size: 12px" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column label="运单号" width="150" align="center">
<template slot-scope="scope">
<span>{{scope.row.awba}}</span>
</template>
... ... @@ -124,7 +131,7 @@
<!-- :disabled="scope.row.status ==='24'">发删除报</el-button>-->
</template>
</el-table-column>
</tree-table>
</el-table>
<div class="btnFoot">
<el-row>
<el-button type="primary" size="mini" v-if="tidyQuery.flightno !== undefined || tidyData.length> 0"
... ...