fix(EnamellingMachineStatus): 修复表格列排序及更新时间字段

- 为总箱数列添加排序功能
- 将更新时间字段从update_time改为last_wms_time以匹配后端数据
master
huangjinysf 2 months ago
parent 945a39964a
commit aa8060c7a7

@ -110,6 +110,7 @@
prop="total_number" prop="total_number"
label="总箱数" label="总箱数"
width="100" width="100"
sortable
> >
<template #default="scope"> <template #default="scope">
{{ scope.row.total_number || '-' }} {{ scope.row.total_number || '-' }}
@ -137,12 +138,12 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="update_time" prop="last_wms_time"
label="更新时间" label="更新时间"
width="180" width="180"
> >
<template #default="scope"> <template #default="scope">
{{ formatDateTime(scope.row.update_time) }} {{ formatDateTime(scope.row.last_wms_time) }}
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save