feat(wms报表): 新增各仓库的损耗、出库及日报表等组件

添加镀铬、拉矫、脱脂和双机架仓库的损耗报表、出库报表、日报表、月报表、年报表和班组报表组件
使用模板组件统一结构,根据不同仓库配置不同的actionTypes和queryParams
This commit is contained in:
砂糖
2026-03-18 17:07:20 +08:00
parent dd32b86445
commit fbe2340423
24 changed files with 816 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<template>
<DayTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import DayTemplate from '@/views/wms/report/template/day.vue'
export default {
name: 'LossReport',
components: {
DayTemplate,
},
data() {
return {
actionTypes: [505, 120],
actionQueryParams: {
updateBy: 'dugekuguan'
},
baseQueryParams: {
createBy: 'dugekuguan',
},
warehouseOptions: [
{value: '1988151132361519105', label: '镀铬成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>