制造成本分析修改

This commit is contained in:
2026-03-26 09:52:35 +08:00
parent 4f7466bb29
commit e770dc4fed
9 changed files with 628 additions and 23 deletions

View File

@@ -37,7 +37,7 @@
gap: 12px;
grid-template-columns: 1624px;
">
<dataTrend :trendData="trend" :title="'数据趋势'" />
<dataTrend :trendData="trend" :relatedData="relatedData" :title="'指标分析&数据趋势'" />
</div>
</div>
</div>
@@ -95,7 +95,10 @@ export default {
monData: {},
totalData: {},
trend: [],
relatedData: {},
relatedData: {
total:[],
current:[]
},
trendName: '包材成本',
};
},
@@ -208,8 +211,9 @@ export default {
this.totalData = res.data.totalMonthData.find(item => {
return item.name === "包材成本";
});
// this.relatedMon = res.data.relatedMon
;
this.relatedData.total =res.data.totalMonthData,
this.relatedData.current= res.data.currentMonthData
this.trend = res.data.dataTrend
});
},