feat(wms): 新增库存统计模块并优化钢卷选择器逻辑
新增库存统计相关组件,包括物料汇总、仓库统计和树形统计视图,提供可视化数据展示和钻取功能。优化钢卷选择器显示逻辑,移除审核状态判断。调整钻取表格组件,支持实际仓库ID参数传递。 - 新增itemSummary.vue、warehouseBox.vue和warehouseTree.vue组件 - 移除钢卷选择器的审核状态条件判断 - 扩展钻取表格组件支持实际仓库ID参数 - 添加数据汇总展示和图表可视化功能
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="drill-down-content">
|
||||
<!-- 钻取条件显示 -->
|
||||
<div class="drill-down-header">
|
||||
<!-- <div class="drill-down-header">
|
||||
<el-tag size="large" v-if="queryParams.itemType">
|
||||
{{ queryParams.itemType === 'product' ? '成品' : '原材料' }}
|
||||
</el-tag>
|
||||
@@ -14,7 +14,7 @@
|
||||
<el-tag size="large" v-if="actualWarehouseName" type="info">
|
||||
{{ actualWarehouseName }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- 加载状态 -->
|
||||
<el-skeleton :loading="loading" animated>
|
||||
@@ -97,6 +97,7 @@ export default {
|
||||
type: Object,
|
||||
default: () => ({
|
||||
warehouseId: null,
|
||||
actualWarehouseId: null,
|
||||
itemType: null,
|
||||
itemId: null,
|
||||
actualWarehouseId: null
|
||||
@@ -153,7 +154,8 @@ export default {
|
||||
pageSize: this.pageSize,
|
||||
itemType: this.queryParams.itemType,
|
||||
itemId: this.queryParams.itemId,
|
||||
warehouseId: this.queryParams.warehouseId
|
||||
warehouseId: this.queryParams.warehouseId,
|
||||
actualWarehouseId: this.queryParams.actualWarehouseId
|
||||
};
|
||||
|
||||
// 调用API获取数据
|
||||
|
||||
Reference in New Issue
Block a user