添加镀铬、拉矫、脱脂和双机架仓库的损耗报表、出库报表、日报表、月报表、年报表和班组报表组件 使用模板组件统一结构,根据不同仓库配置不同的actionTypes和queryParams
37 lines
917 B
Vue
37 lines
917 B
Vue
<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> |