refactor(report): 重构拉矫线报表组件,使用统一模板

将拉矫线的各类报表(out/day/month/year/team/loss/comprehensive)重构为使用统一的ActionTemplate组件
增加axios请求超时时间至300000ms
简化导出按钮为单个按钮
This commit is contained in:
2026-05-07 16:28:20 +08:00
parent 6a01fb3576
commit 61385818d0
10 changed files with 707 additions and 74 deletions

View File

@@ -1,23 +1,24 @@
<template>
<OutTemplate
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
<ActionTemplate
:actionType="actionType"
:reportType="reportType"
:productionLine="productionLine"
/>
</template>
<script>
import OutTemplate from "@/views/wms/report/template/out.vue";
import { lajiaoConfig } from '@/views/wms/report/js/config.js'
import ActionTemplate from '@/views/wms/report/template/action.vue'
export default {
name: 'ZhaTemplate',
name: 'DayReport',
components: {
OutTemplate,
ActionTemplate,
},
data() {
return {
...lajiaoConfig,
actionType: 503,
reportType: 'out',
productionLine: '拉矫线',
}
}
}