From f6550cd819355777aed894b30ec9fabbf801f629 Mon Sep 17 00:00:00 2001 From: huangjinysf Date: Sun, 4 Jan 2026 10:24:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(RealTimeInventory):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=8E=86=E5=8F=B2=E8=B6=8B=E5=8A=BF=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在库存详情对话框中新增库存历史趋势图表,支持选择时间范围和显示单位。图表展示库存变化趋势,帮助用户更好地分析库存动态。 主要变更: - 增加echarts图表库依赖 - 添加时间范围选择器和单位切换控件 - 实现历史数据API调用和数据处理 - 添加图表初始化、渲染和响应式调整逻辑 - 优化对话框关闭时的资源清理 --- src/views/plan/RealTimeInventory.vue | 499 ++++++++++++++++++++++++++- 1 file changed, 497 insertions(+), 2 deletions(-) diff --git a/src/views/plan/RealTimeInventory.vue b/src/views/plan/RealTimeInventory.vue index 076d104..e956479 100644 --- a/src/views/plan/RealTimeInventory.vue +++ b/src/views/plan/RealTimeInventory.vue @@ -87,8 +87,9 @@ + + +
+
+

库存历史趋势 - {{ currentWmsModel }} - {{ currentWmsSpecification }}

+
+ +
+ 时间范围: + + + + + + + + 显示单位: + + 箱数 + 重量 + +
+ +
+
+ 暂无历史数据 +
+
+