From 23313d5cedf89be910bdb84101a9f6641ada9fd2 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 23 Jul 2026 13:55:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93458?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/stock_statistics.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue index 69bf8836..2025422e 100644 --- a/src/views/statistics/stock_statistics.vue +++ b/src/views/statistics/stock_statistics.vue @@ -52,7 +52,7 @@ @@ -337,12 +337,20 @@ export default { this.echartsOptions = JSON.parse(res.echart_options); } }) + }else if(that.params.type==30){ + this.$API.bi.dataset.exec.req("materialCount2", {query:query2 }).then((res) => { + if (res.echart_options) { + this.echartsOptions = JSON.parse(res.echart_options); + } + }) }else if(that.params.type==40){ this.$API.bi.dataset.exec.req("helpso_cate", {}).then((res) => { if (res.echart_options) { this.echartsOptions = JSON.parse(res.echart_options); } }) + }else{ + that.echartsOptions = null; } }, //更改周预估用量