feat: 为多个表格列添加排序功能
This commit is contained in:
@@ -113,18 +113,18 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>
|
||||
<el-table-column label="配量" align="center" prop="ratio">
|
||||
<el-table-column label="上午" align="center" prop="ratio">
|
||||
<el-table-column label="配量" align="center" prop="ratio" >
|
||||
<el-table-column label="上午" align="center" prop="ratio" sortable>
|
||||
<template #default="scope">
|
||||
{{ (scope.row.ratio / 100 * showFeedList.rootPlan.planMorningSize).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="中午" align="center" prop="ratio">
|
||||
<el-table-column label="中午" align="center" prop="ratio" sortable>
|
||||
<template #default="scope">
|
||||
{{ (scope.row.ratio / 100 * showFeedList.rootPlan.planNoonSize).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="下午" align="center" prop="ratio">
|
||||
<el-table-column label="下午" align="center" prop="ratio" sortable>
|
||||
<template #default="scope">
|
||||
{{ (scope.row.ratio / 100 * showFeedList.rootPlan.planAfternoonSize).toFixed(2) }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user