feat(wms): 重构报表配置并添加销售员管理功能

重构各报表模块配置,将重复配置提取到config.js统一管理
在打包记录和打包页面添加销售员选择和显示功能
新增销售员管理页面,支持销售员标签的增删改查
This commit is contained in:
砂糖
2026-03-24 15:38:30 +08:00
parent 0e808964c9
commit 602b10b689
29 changed files with 532 additions and 381 deletions

View File

@@ -9,29 +9,16 @@
<script>
import DayTemplate from '@/views/wms/report/template/day.vue'
import { zincConfig } from '@/views/wms/report/js/config.js'
export default {
name: 'LossReport',
name: 'DayReport',
components: {
DayTemplate,
},
data() {
return {
actionTypes: [501, 120],
actionQueryParams: {
createBy: 'duxinkuguan'
},
baseQueryParams: {
createBy: 'duxinkuguan',
},
warehouseOptions: [
{ value: '1988150323162836993', label: '镀锌成品库' },
{ value: '1988150487185289217', label: '镀锌纵剪分条原料库' },
{ value: '2019583656787259393', label: '技术部' },
{ value: '2019583325311414274', label: '小钢卷库' },
{ value: '2019583429955104769', label: '废品库' },
{ value: '2019583137616310273', label: '退货库' },
],
...zincConfig,
}
}
}

View File

@@ -9,6 +9,7 @@
<script>
import MonthTemplate from '@/views/wms/report/template/month.vue'
import { zincConfig } from '@/views/wms/report/js/config.js'
export default {
name: 'MonthReport',
@@ -17,21 +18,7 @@ export default {
},
data() {
return {
actionTypes: [501, 120],
actionQueryParams: {
createBy: 'duxinkuguan'
},
baseQueryParams: {
createBy: 'duxinkuguan',
},
warehouseOptions: [
{ value: '1988150323162836993', label: '镀锌成品库' },
{ value: '1988150487185289217', label: '镀锌纵剪分条原料库' },
{ value: '2019583656787259393', label: '技术部' },
{ value: '2019583325311414274', label: '小钢卷库' },
{ value: '2019583429955104769', label: '废品库' },
{ value: '2019583137616310273', label: '退货库' },
],
...zincConfig,
}
}
}

View File

@@ -9,6 +9,7 @@
<script>
import TeamTemplate from '@/views/wms/report/template/team.vue'
import { zincConfig } from '@/views/wms/report/js/config.js'
export default {
name: 'TeamReport',
@@ -17,21 +18,7 @@ export default {
},
data() {
return {
actionTypes: [501, 120],
actionQueryParams: {
createBy: 'duxinkuguan'
},
baseQueryParams: {
createBy: 'duxinkuguan',
},
warehouseOptions: [
{ value: '1988150323162836993', label: '镀锌成品库' },
{ value: '1988150487185289217', label: '镀锌纵剪分条原料库' },
{ value: '2019583656787259393', label: '技术部' },
{ value: '2019583325311414274', label: '小钢卷库' },
{ value: '2019583429955104769', label: '废品库' },
{ value: '2019583137616310273', label: '退货库' },
],
...zincConfig,
}
}
}

View File

@@ -9,6 +9,8 @@
<script>
import YearTemplate from '@/views/wms/report/template/year.vue'
import { zincConfig } from '@/views/wms/report/js/config.js'
export default {
name: 'YearReport',
@@ -17,21 +19,7 @@ export default {
},
data() {
return {
actionTypes: [501, 120],
actionQueryParams: {
createBy: 'duxinkuguan'
},
baseQueryParams: {
createBy: 'duxinkuguan',
},
warehouseOptions: [
{ value: '1988150323162836993', label: '镀锌成品库' },
{ value: '1988150487185289217', label: '镀锌纵剪分条原料库' },
{ value: '2019583656787259393', label: '技术部' },
{ value: '2019583325311414274', label: '小钢卷库' },
{ value: '2019583429955104769', label: '废品库' },
{ value: '2019583137616310273', label: '退货库' },
],
...zincConfig,
}
}
}