diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue index 54456d40..88a50125 100644 --- a/src/views/statistics/stock_statistics.vue +++ b/src/views/statistics/stock_statistics.vue @@ -325,8 +325,10 @@ export default { "select_dept": "", "groupby_dept": "", "material_types": this.params.type, - "select_material": "", - "groupby_material": "" + "select_material": "material.cate as cate", + "groupby_material": "material.cate", + "select_material_name": "", + "groupby_material_name": "" }}).then((res) => { if (res.echart_options) { this.echartsOptions = JSON.parse(res.echart_options);