diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue index 66262d97..cbe0153d 100644 --- a/src/views/statistics/stock_statistics.vue +++ b/src/views/statistics/stock_statistics.vue @@ -336,20 +336,13 @@ export default { this.echartsOptions = JSON.parse(res.echart_options); } }) - }else{ - if(that.params.type==40){ - query2.select_material="material.cate as cate"; - query2.groupby_material="material.cate"; - query2.select_material_name = ""; - query2.groupby_material_name = ""; - } - this.$API.bi.dataset.exec.req("materialCount2", {query:query2 }).then((res) => { + }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); } }) } - }, //更改周预估用量 weekcountChange(row) {