diff --git a/src/views/enm_energy/day_base.vue b/src/views/enm_energy/day_base.vue
index 7196654d..74c7cf1d 100644
--- a/src/views/enm_energy/day_base.vue
+++ b/src/views/enm_energy/day_base.vue
@@ -376,6 +376,7 @@ export default {
dataLoop() {
let that = this;
that.tableDatas = [];
+ that.tableDatas2 = [];
let _mgroup = [],
_nameLength = [],
indexList = [];
@@ -414,6 +415,7 @@ export default {
? item.nickname
: item.name;
obj.unit = item.unit;
+
that.tableDatas2.push(obj);
that.getData(item.id, index);
});
diff --git a/src/views/enm_energy/hour_base.vue b/src/views/enm_energy/hour_base.vue
index f299cdb8..1d11da19 100644
--- a/src/views/enm_energy/hour_base.vue
+++ b/src/views/enm_energy/hour_base.vue
@@ -404,6 +404,7 @@ export default {
dataLoop() {
let that = this;
that.tableDatas = [];
+ that.tableDatas2 = [];
let _mgroup = [],
_nameLength = [],
indexList = [];
diff --git a/src/views/enm_energy/month_base.vue b/src/views/enm_energy/month_base.vue
index 1cdbfdaf..7c36b9de 100644
--- a/src/views/enm_energy/month_base.vue
+++ b/src/views/enm_energy/month_base.vue
@@ -357,6 +357,7 @@ export default {
dataLoop() {
let that = this;
that.tableDatas = [];
+ that.tableDatas2 = [];
let _mgroup = [],
_nameLength = [],
indexList = [];
diff --git a/src/views/enm_energy/value.vue b/src/views/enm_energy/value.vue
index 4c5cf2ff..47fe51ea 100644
--- a/src/views/enm_energy/value.vue
+++ b/src/views/enm_energy/value.vue
@@ -160,9 +160,9 @@ export default {
}
if (tValue6 !== "/" && tValue6 !== 0 && wrapArr2[i].en_consume_unit !== 0) {
tPercent6 =
- ((wrapArr2[i].en_consume_unit - tValue6) /
+ (((wrapArr2[i].en_consume_unit - tValue6) /
tValue6) *
- 100;
+ 100).toFixed(2);
} else {
tPercent6 = "/";
}
@@ -174,9 +174,8 @@ export default {
: "/";
if (hValue6 !== "/" && hValue6 !== 0) {
hPercent6 =
- ((wrapArr2[i].en_consume_unit - hValue6) /
- hValue6) *
- 100;
+ (((wrapArr2[i].en_consume_unit - hValue6) /
+ hValue6) * 100).toFixed(2);
} else {
hPercent6 = "/";
}
@@ -202,10 +201,10 @@ export default {
};
if (tValue9 !== "/" && tValue9 !== 0) {
tPercent9 =
- ((wrapArr2[i].en_add_consume_unit -
+ (((wrapArr2[i].en_add_consume_unit -
tValue9) /
tValue9) *
- 100;
+ 100).toFixed(2);
} else {
tPercent9 = "/";
};
@@ -217,10 +216,10 @@ export default {
: "/";
if (hValue9 !== "/" && hValue9 !== 0) {
hPercent9 =
- ((wrapArr2[i].en_add_consume_unit -
+ (((wrapArr2[i].en_add_consume_unit -
hValue9) /
hValue9) *
- 100;
+ 100).toFixed(2);
} else {
hPercent9 = "/";
};
diff --git a/src/views/enm_mill/teamAnalysis.vue b/src/views/enm_mill/teamAnalysis.vue
index f559fb85..1b847e95 100644
--- a/src/views/enm_mill/teamAnalysis.vue
+++ b/src/views/enm_mill/teamAnalysis.vue
@@ -37,7 +37,7 @@
>
-
水泥磨工段班组月度对比分析
+ 水泥磨工段班组月度对比分析
月份
@@ -46,7 +46,7 @@
运转率
成本
质量
- 单位产品电耗
+ 单位产品电耗
得分
@@ -59,7 +59,6 @@
掺量(%)
循环风机1906(KW·h/t)
系统风机(KW·h/t)
- 水平涡流选粉机1915(KW·h/t)
目标值(kW·h/t)
当期与目标值差值(kW·h/t)
环期值(kW·h/t)
@@ -203,10 +202,10 @@ export default {
item.系统风机_consume_unit != null
? item.系统风机_consume_unit
: "/";
- arr[11] =
- item.水平涡流选粉机1915_consume_unit != null
- ? item.水平涡流选粉机1915_consume_unit
- : "/";
+ // arr[11] =
+ // item.水平涡流选粉机1915_consume_unit != null
+ // ? item.水平涡流选粉机1915_consume_unit
+ // : "/";
// arr[12]=item.新增磨尾风机_consume_unit!=null?item.新增磨尾风机_consume_unit:'/';
// arr[13]=item.elec_consume_unit//当期值(KW·h/t)
@@ -215,11 +214,11 @@ export default {
if (goalData.length > 0){
goalData.forEach((item) => {
if (item.goal_cate_name == "单位产品分布电耗(KW·h/t)"){
- arr[12] = item[keyVale]; //目标值(KW·h/t)//需要接口获取
+ arr[11] = item[keyVale]; //目标值(KW·h/t)//需要接口获取
}
});
};
- arr[13] = arr[12] - item.celec_consume_unit; //当期与目标差值(KW·h/t)
+ arr[12] = item.celec_consume_unit - arr[11]; //当期与目标差值(KW·h/t)
let ind_pre = 0,
huanqi = 0,
huanqicha = 0,
@@ -238,14 +237,14 @@ export default {
}
})
}
- arr[14] = huanqi; //环期值(KW·h/t)上个月的值
+ arr[13] = huanqi; //环期值(KW·h/t)上个月的值
if (huanqi !== "/") {
huanqicha = item.celec_consume_unit - huanqi;
} else {
huanqicha = item.celec_consume_unit;
}
- arr[15] = huanqicha; //当期与环期差值(KW·h/t)
- arr[16] =
+ arr[14] = huanqicha; //当期与环期差值(KW·h/t)
+ arr[15] =
huanqi != "/" ? (huanqicha / huanqi) * 100 : 0; //环比增长率(%)
if (wrapArr0[n]) {
tongqicha =
@@ -257,9 +256,9 @@ export default {
tongqi = 0;
}
- arr[17] = tongqi; //同比增长率(%):本月-去年本月/去年
+ arr[16] = tongqi; //同比增长率(%):本月-去年本月/去年
// arr[18] = 0.0; //同比增长率(%)
- arr[18] = 0;
+ arr[17] = 0;
if (month_obj[n]) {
const monthData = month_obj[n];
const itemValue = item.elec_consume_unit; // 单位产品电耗的值
@@ -275,7 +274,7 @@ export default {
} else if (index === 3) {
elec_score= 0;
}
- arr[18] += elec_score;
+ arr[17] += elec_score;
const run_rate_itemValue = item.run_rate; // 运转率的值
const run_rate_sortedData = monthData.sort((a, b) => parseFloat(b.run_rate) - parseFloat(a.run_rate));
@@ -290,7 +289,7 @@ export default {
} else if (run_rate_index === 3) {
run_rate_score= 0;
}
- arr[18] += run_rate_score;
+ arr[17] += run_rate_score;
const production_hour_itemValue = item.production_hour; // 台时产量的值
const production_hour_sortedData = monthData.sort((a, b) => parseFloat(b.production_hour) - parseFloat(a.production_hour));
@@ -305,7 +304,7 @@ export default {
} else if (production_hour_index === 3) {
production_hour_score= 0;
}
- arr[18] += production_hour_score;
+ arr[17] += production_hour_score;
const production_cost_unit_itemValue = item.production_cost_unit; // 单位产品成本的值
const production_cost_unit_sortedData = monthData.sort((a, b) => parseFloat(b.production_cost_unit) - parseFloat(a.production_cost_unit));
@@ -320,7 +319,7 @@ export default {
} else if (production_cost_unit_index === 3) {
production_cost_unit_score= 0;
}
- arr[18] += production_cost_unit_score;
+ arr[17] += production_cost_unit_score;
const surface_area_itemValue = item.出磨水泥_比表面积_rate_pass; // 比表面积的值
const surface_area_sortedData = monthData.sort((a, b) => parseFloat(b.surface_area) - parseFloat(a.surface_area));
@@ -335,7 +334,7 @@ export default {
} else if (surface_area_index === 3) {
surface_area_score= 0;
}
- arr[18] += surface_area_score;
+ arr[17] += surface_area_score;
const SO3_itemValue = item.出磨水泥_SO3_rate_pass; // SO3的值
const SO3_sortedData = monthData.sort((a, b) => parseFloat(b.SO3) - parseFloat(a.SO3));
@@ -350,7 +349,7 @@ export default {
} else if (SO3_index === 3) {
SO3_score= 0;
}
- arr[18] += SO3_score;
+ arr[17] += SO3_score;
const CLitemValue = item.出磨水泥_掺量_rate_pass; // SO3的值
const CL_sortedData = monthData.sort((a, b) => parseFloat(b.chanliang) - parseFloat(a.chanliang));
@@ -365,7 +364,7 @@ export default {
} else if (CL_index === 3) {
CL_score= 0;
}
- arr[18] += CL_score;
+ arr[17] += CL_score;
}
wrapArr.push(arr);
});
diff --git a/src/views/enm_mill/workshopAnalysis.vue b/src/views/enm_mill/workshopAnalysis.vue
index 2f558964..6b2975c5 100644
--- a/src/views/enm_mill/workshopAnalysis.vue
+++ b/src/views/enm_mill/workshopAnalysis.vue
@@ -345,7 +345,7 @@ export default {
: "/";
}
if (arrs[1] !== "/" && lastNum !== "/") {
- lastDiff = arrs[1] - lastNum;
+ lastDiff = (arrs[1] - lastNum).toFixed(2);
} else {
lastDiff = "/";
}
@@ -357,7 +357,7 @@ export default {
lastNum !== "/" &&
lastNum !== 0
) {
- lastRate = (lastDiff / lastNum) * 100;
+ lastRate = ((lastDiff / lastNum) * 100).toFixed(2);
} else {
lastRate = "/";
}
@@ -419,7 +419,7 @@ export default {
lastNum2 !== "/" &&
lastNum2 !== 0
) {
- lastRate2 = (lastDiff2 / lastNum2) * 100;
+ lastRate2 = ((lastDiff2 / lastNum2) * 100).toFixed(2);
} else {
lastRate2 = "/";
}
diff --git a/src/views/enm_monthSet/feeset.vue b/src/views/enm_monthSet/feeset.vue
index 26779b01..4ff98326 100644
--- a/src/views/enm_monthSet/feeset.vue
+++ b/src/views/enm_monthSet/feeset.vue
@@ -77,7 +77,7 @@
min-width="100"
>
单位成本(元/吨)
直接材料
- 直接人工
- 制造费用
+ 制造费用
原材料
辅助材料
电/水
- 车间人员工资
- 劳务工资
- 倒运费用
- 材料出库
- 维修费用
- 装卸费
- 差旅费
- 折旧
摊销
+ 职工薪酬
+ 其他费用
+ 折旧
+ 差旅费
+ 装卸费
+ 修理费
+ 材料出库
+ 倒运费用
+ 直接人工
{{ item }}
@@ -64,12 +64,12 @@
单位成本(元/吨)
单位成本(元/吨)
单位成本(元/吨)
- 检修单位成本(元/吨)
- 外协施工费用单位成本(元/吨)
单位成本(元/吨)
单位成本(元/吨)
单位成本(元/吨)
- 无形资产摊销单位成本(元/吨)
+ 单位成本(元/吨)
+ 单位成本(元/吨)
+ 单位成本(元/吨)