xiugai
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<!-- 1. 原料成本组件:传递对应筛选数据 -->
|
||||
<div class="dashboard left" @click="handleDashboardClick('原料成本','fuelCostAnalysis/fuelCostAnalysis')">
|
||||
<div class="title">
|
||||
原料成本·单位/万元
|
||||
原料成本·元/㎡
|
||||
</div>
|
||||
<div class="line">
|
||||
<operatingSingleBar :detailData="rawMaterialCostData"></operatingSingleBar>
|
||||
@@ -17,7 +17,7 @@
|
||||
<!-- 2. 燃料成本组件:传递对应筛选数据 -->
|
||||
<div class="dashboard right" @click="handleDashboardClick('燃料成本','combustible/combustible')">
|
||||
<div class="title">
|
||||
燃料成本·单位/万元
|
||||
燃料成本·元/㎡
|
||||
</div>
|
||||
<div class="line">
|
||||
<operatingSingleBar :detailData="fuelCostData"></operatingSingleBar>
|
||||
@@ -26,7 +26,7 @@
|
||||
<!-- 3. 电成本组件:传递对应筛选数据 -->
|
||||
<div class="dashboard right" @click="handleDashboardClick('电成本','osElectricityCostAnalysis')">
|
||||
<div class="title">
|
||||
电成本·单位/万元
|
||||
电成本·元/㎡
|
||||
</div>
|
||||
<div class="line">
|
||||
<operatingSingleBar :detailData="electricCostData"></operatingSingleBar>
|
||||
@@ -35,7 +35,7 @@
|
||||
<!-- 4. 人工成本组件:传递对应筛选数据 -->
|
||||
<div class="dashboard right" @click="handleDashboardClick('人工成本','originalSheetLabor')">
|
||||
<div class="title">
|
||||
人工成本·单位/万元
|
||||
人工成本·元/㎡
|
||||
</div>
|
||||
<div class="line">
|
||||
<operatingSingleBar :detailData="laborCostData"></operatingSingleBar>
|
||||
@@ -45,7 +45,7 @@
|
||||
<div class="dashboard right"
|
||||
@click="handleDashboardClick('制造成本','mfgOverheadCostAnalysis/mfgOverheadCostAnalysis')">
|
||||
<div class="title">
|
||||
制造成本·单位/万元
|
||||
制造成本·元/㎡
|
||||
</div>
|
||||
<div class="line">
|
||||
<operatingSingleBar :detailData="manufacturingCostData"></operatingSingleBar>
|
||||
@@ -73,6 +73,10 @@ export default {
|
||||
relatedTotal: [] // 成本累计数据(数组格式,存储各成本项)
|
||||
})
|
||||
},
|
||||
dateData: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
factory: {
|
||||
type: [String, Number],
|
||||
default: ''
|
||||
@@ -181,7 +185,8 @@ export default {
|
||||
query: {
|
||||
name: material,
|
||||
month: this.month,
|
||||
factory: this.$route.query.factory ? this.$route.query.factory : this.factory
|
||||
factory: this.$route.query.factory ? this.$route.query.factory : this.factory,
|
||||
dateData: this.dateData
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user