feat: 生料辅料工序本日数据添加上

This commit is contained in:
caoqianming 2024-12-28 09:51:43 +08:00
parent 6404fd33f1
commit f84876d2e5
2 changed files with 9 additions and 3 deletions

View File

@ -388,9 +388,9 @@ export default {
}, },
tableDatas: [ tableDatas: [
["产量", "总产量t", 0, 0, 0, 0, 0, 0, 0, 0], ["产量", "总产量t", 0, 0, 0, 0, 0, 0, 0, 0],
["产量", "台时产量t/h", "/", 0, 0, 0, 0, 0, 0, 0], ["产量", "台时产量t/h", 0, 0, 0, 0, 0, 0, 0, 0],
["运转时间", "运转时间h", "/", 0, 0, "/", 0, 0, "/", "/"], ["运转时间", "运转时间h", 0, 0, 0, "/", 0, 0, "/", "/"],
["运转时间", "运转率(%", "/", 0, 0, "/", 0, 0, "/", "/"], ["运转时间", "运转率(%", 0, 0, 0, "/", 0, 0, "/", "/"],
["能耗", "生料分布电耗KW·h/t", 0, 0, 0, 0, 0, 0, 0, 0], ["能耗", "生料分布电耗KW·h/t", 0, 0, 0, 0, 0, 0, 0, 0],
["能耗", "总电耗KW·h", 0, 0, 0, 0, "/", "/", "/","/"], ["能耗", "总电耗KW·h", 0, 0, 0, 0, "/", "/", "/","/"],
// ["", "/", 0, 0, 0, 0, 0, 0, 0, 0], // ["", "/", 0, 0, 0, 0, 0, 0, 0, 0],
@ -809,6 +809,9 @@ export default {
that.tableDatas[4][2] = 0; that.tableDatas[4][2] = 0;
that.tableDatas[5][2] = 0; that.tableDatas[5][2] = 0;
}else { }else {
that.tableDatas[1][2] = data4.production_hour;
that.tableDatas[2][2] = data4.run_hour;
that.tableDatas[3][2] = data4.run_rate;
that.tableDatas[4][2] = data4.elec_consume_unit; that.tableDatas[4][2] = data4.elec_consume_unit;
that.tableDatas[5][2] = data4.elec_consume; that.tableDatas[5][2] = data4.elec_consume;
} }

View File

@ -861,6 +861,9 @@ export default {
that.tableDatas[5][2] = 0; that.tableDatas[5][2] = 0;
that.tableDatas[6][2] = 0; that.tableDatas[6][2] = 0;
}else { }else {
that.tableDatas[1][2] = data4.production_hour;
that.tableDatas[2][2] = data4.run_hour;
that.tableDatas[3][2] = data4.run_rate;
that.tableDatas[4][2] = data4.elec_consume_unit; that.tableDatas[4][2] = data4.elec_consume_unit;
that.tableDatas[5][2] = data4.elec_consume; that.tableDatas[5][2] = data4.elec_consume;
that.tableDatas[6][2] = data4.production_cost_unit;} that.tableDatas[6][2] = data4.production_cost_unit;}