refactor(report): 重构拉矫线报表组件,使用统一模板
将拉矫线的各类报表(out/day/month/year/team/loss/comprehensive)重构为使用统一的ActionTemplate组件 增加axios请求超时时间至300000ms 简化导出按钮为单个按钮
This commit is contained in:
@@ -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: '拉矫线',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user