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>

View File

@@ -0,0 +1,25 @@
<template>
<LossTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
></LossTemplate>
</template>
<script>
import LossTemplate from '@/views/wms/report/template/loss.vue'
export default {
name: 'LossReport',
components: {
LossTemplate,
},
data() {
return {
actionTypes: [505, 120],
actionQueryParams: {
updateBy: 'dugekuguan'
},
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<MonthTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import MonthTemplate from '@/views/wms/report/template/month.vue'
export default {
name: 'MonthReport',
components: {
MonthTemplate,
},
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>

View File

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

View File

@@ -0,0 +1,37 @@
<template>
<TeamTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import TeamTemplate from '@/views/wms/report/template/team.vue'
export default {
name: 'TeamReport',
components: {
TeamTemplate,
},
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>

View File

@@ -0,0 +1,37 @@
<template>
<YearTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import YearTemplate from '@/views/wms/report/template/year.vue'
export default {
name: 'YearReport',
components: {
YearTemplate,
},
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>

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: [503, 120],
actionQueryParams: {
updateBy: 'lajiaokuguan'
},
baseQueryParams: {
createBy: 'lajiaokuguan',
},
warehouseOptions: [
{value: '1988150915591499777', label: '拉矫成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,25 @@
<template>
<LossTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
></LossTemplate>
</template>
<script>
import LossTemplate from '@/views/wms/report/template/loss.vue'
export default {
name: 'LossReport',
components: {
LossTemplate,
},
data() {
return {
actionTypes: [503, 120],
actionQueryParams: {
updateBy: 'lajiaokuguan'
},
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<MonthTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import MonthTemplate from '@/views/wms/report/template/month.vue'
export default {
name: 'MonthReport',
components: {
MonthTemplate,
},
data() {
return {
actionTypes: [503, 120],
actionQueryParams: {
updateBy: 'lajiaokuguan'
},
baseQueryParams: {
createBy: 'lajiaokuguan',
},
warehouseOptions: [
{value: '1988150915591499777', label: '拉矫成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,31 @@
<template>
<OutTemplate
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import OutTemplate from "@/views/wms/report/template/out.vue";
export default {
name: 'ZhaTemplate',
components: {
OutTemplate,
},
data() {
return {
baseQueryParams: {
createBy: 'lajiaokuguan',
},
warehouseOptions: [
{value: '1988150915591499777', label: '拉矫成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<TeamTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import TeamTemplate from '@/views/wms/report/template/team.vue'
export default {
name: 'TeamReport',
components: {
TeamTemplate,
},
data() {
return {
actionTypes: [503, 120],
actionQueryParams: {
updateBy: 'lajiaokuguan'
},
baseQueryParams: {
createBy: 'lajiaokuguan',
},
warehouseOptions: [
{value: '1988150915591499777', label: '拉矫成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<YearTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import YearTemplate from '@/views/wms/report/template/year.vue'
export default {
name: 'YearReport',
components: {
YearTemplate,
},
data() {
return {
actionTypes: [503, 120],
actionQueryParams: {
updateBy: 'lajiaokuguan'
},
baseQueryParams: {
createBy: 'lajiaokuguan',
},
warehouseOptions: [
{value: '1988150915591499777', label: '拉矫成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

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: [504, 120],
actionQueryParams: {
updateBy: 'shuangkuguan'
},
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,25 @@
<template>
<LossTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
></LossTemplate>
</template>
<script>
import LossTemplate from '@/views/wms/report/template/loss.vue'
export default {
name: 'LossReport',
components: {
LossTemplate,
},
data() {
return {
actionTypes: [504, 120],
actionQueryParams: {
updateBy: 'shuangkuguan'
},
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<MonthTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import MonthTemplate from '@/views/wms/report/template/month.vue'
export default {
name: 'MonthReport',
components: {
MonthTemplate,
},
data() {
return {
actionTypes: [504, 120],
actionQueryParams: {
updateBy: 'shuangkuguan'
},
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,31 @@
<template>
<OutTemplate
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import OutTemplate from "@/views/wms/report/template/out.vue";
export default {
name: 'ZhaTemplate',
components: {
OutTemplate,
},
data() {
return {
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<TeamTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import TeamTemplate from '@/views/wms/report/template/team.vue'
export default {
name: 'TeamReport',
components: {
TeamTemplate,
},
data() {
return {
actionTypes: [504, 120],
actionQueryParams: {
updateBy: 'shuangkuguan'
},
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<YearTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import YearTemplate from '@/views/wms/report/template/year.vue'
export default {
name: 'YearReport',
components: {
YearTemplate,
},
data() {
return {
actionTypes: [504, 120],
actionQueryParams: {
updateBy: 'shuangkuguan'
},
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

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: [502, 120],
actionQueryParams: {
updateBy: 'tuozhikuguan'
},
baseQueryParams: {
createBy: 'tuozhikuguan',
},
warehouseOptions: [
{value: '1988150586938421250', label: '脱脂成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,25 @@
<template>
<LossTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
></LossTemplate>
</template>
<script>
import LossTemplate from '@/views/wms/report/template/loss.vue'
export default {
name: 'LossReport',
components: {
LossTemplate,
},
data() {
return {
actionTypes: [502, 120],
actionQueryParams: {
updateBy: 'tuozhikuguan'
},
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<MonthTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import MonthTemplate from '@/views/wms/report/template/month.vue'
export default {
name: 'MonthReport',
components: {
MonthTemplate,
},
data() {
return {
actionTypes: [502, 120],
actionQueryParams: {
updateBy: 'tuozhikuguan'
},
baseQueryParams: {
createBy: 'tuozhikuguan',
},
warehouseOptions: [
{value: '1988150586938421250', label: '脱脂成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,31 @@
<template>
<OutTemplate
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import OutTemplate from "@/views/wms/report/template/out.vue";
export default {
name: 'ZhaTemplate',
components: {
OutTemplate,
},
data() {
return {
baseQueryParams: {
createBy: 'tuozhikuguan',
},
warehouseOptions: [
{value: '1988150586938421250', label: '脱脂成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<TeamTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import TeamTemplate from '@/views/wms/report/template/team.vue'
export default {
name: 'TeamReport',
components: {
TeamTemplate,
},
data() {
return {
actionTypes: [502, 120],
actionQueryParams: {
updateBy: 'tuozhikuguan'
},
baseQueryParams: {
createBy: 'tuozhikuguan',
},
warehouseOptions: [
{value: '1988150586938421250', label: '脱脂成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>

View File

@@ -0,0 +1,37 @@
<template>
<YearTemplate
:actionTypes="actionTypes"
:actionQueryParams="actionQueryParams"
:baseQueryParams="baseQueryParams"
:warehouseOptions="warehouseOptions"
/>
</template>
<script>
import YearTemplate from '@/views/wms/report/template/year.vue'
export default {
name: 'YearReport',
components: {
YearTemplate,
},
data() {
return {
actionTypes: [502, 120],
actionQueryParams: {
updateBy: 'tuozhikuguan'
},
baseQueryParams: {
createBy: 'tuozhikuguan',
},
warehouseOptions: [
{value: '1988150586938421250', label: '脱脂成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
}
}
}
</script>