feat(报表): 增强报表功能并优化标签显示

- 新增镀锌1预填接口和报表字段
- 优化标签材质显示逻辑,移除content前缀
- 增加报表分页大小选项和耗时格式化
- 扩展报表可选列和默认列配置
- 改进报表统计计算逻辑,考虑质量状态
- 调整报表页面大小限制为99999
This commit is contained in:
砂糖
2026-03-20 17:56:08 +08:00
parent 25e4ce9b76
commit 4478921d9b
10 changed files with 96 additions and 23 deletions

View File

@@ -222,7 +222,7 @@ export default {
lossList: [],
queryParams: {
pageNum: 1,
pageSize: 9999,
pageSize: 99999,
date: currentDate, // 绑定日期选择器的默认值(当天)
byCreateTimeStart: start, // 默认当天0点
byCreateTimeEnd: end, // 默认当天23:59:59
@@ -250,6 +250,8 @@ export default {
lossColumns: [],
outputColumns: [],
actionIds: '',
}
},
watch: {
@@ -335,7 +337,7 @@ export default {
actionStatus: 2,
warehouseId: this.queryParams.planId,
actionType,
pageSize: 9999,
pageSize: 99999,
pageNum: 1,
startTime: this.queryParams.byCreateTimeStart,
endTime: this.queryParams.byCreateTimeEnd,
@@ -343,6 +345,7 @@ export default {
})
}))
const actions = resultList.flatMap(item => item.rows)
this.actionIds = actions.map(item => item.actionId).join(',')
const coilIds = actions.map(item => item.coilId).join(',')
console.log(coilIds)
if (!coilIds) {

View File

@@ -197,7 +197,7 @@ export default {
lossList: [],
queryParams: {
pageNum: 1,
pageSize: 9999,
pageSize: 99999,
date: currentDate, // 绑定日期选择器的默认值(当天)
byCreateTimeStart: start, // 默认当天0点
byCreateTimeEnd: end, // 默认当天23:59:59
@@ -313,7 +313,7 @@ export default {
actionStatus: 2,
warehouseId: this.queryParams.planId,
actionType,
pageSize: 9999,
pageSize: 99999,
pageNum: 1,
startTime: this.queryParams.byCreateTimeStart,
endTime: this.queryParams.byCreateTimeEnd,