refactor(wms): 重构物料信息展示逻辑,移除冗余组件

重构物料信息展示逻辑,统一使用itemName等字段替代原有的product和rawMaterial嵌套结构
删除不再使用的BomInfo、CategoryRenderer等冗余组件
新增report模块配置集中管理
优化代码结构,提升可维护性
This commit is contained in:
砂糖
2026-03-24 13:55:10 +08:00
parent 9738a32d9d
commit ae68b40ee6
65 changed files with 363 additions and 3479 deletions

View File

@@ -9,6 +9,7 @@
<script>
import ComprehensiveTemplate from '@/views/wms/report/template/comprehensive.vue'
import { shuangConfig } from '@/views/wms/report/js/config.js'
export default {
name: 'ShuangComprehensiveReport',
@@ -17,20 +18,7 @@ export default {
},
data() {
return {
actionTypes: [504, 120],
actionQueryParams: {
createBy: 'shuangkuguan'
},
baseQueryParams: {
createBy: 'shuangkuguan',
},
warehouseOptions: [
{value: '1992873437713080322', label: '双机架成品库'},
{ label: '技术部', value: '2019583656787259393' },
{ label: '小钢卷库', value: '2019583325311414274' },
{ label: '废品库', value: '2019583429955104769' },
{ label: '退货库', value: '2019583137616310273' },
],
...shuangConfig,
}
}
}