From f84876d2e561e183dd8568fef031edbd91492a50 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 28 Dec 2024 09:51:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=9F=E6=96=99=E8=BE=85=E6=96=99?= =?UTF-8?q?=E5=B7=A5=E5=BA=8F=E6=9C=AC=E6=97=A5=E6=95=B0=E6=8D=AE=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enm_rm/report.vue | 9 ++++++--- src/views/enm_rm_copy/report.vue | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/enm_rm/report.vue b/src/views/enm_rm/report.vue index e1a194ee..5cc3dc41 100644 --- a/src/views/enm_rm/report.vue +++ b/src/views/enm_rm/report.vue @@ -388,9 +388,9 @@ export default { }, tableDatas: [ ["产量", "总产量(t)", 0, 0, 0, 0, 0, 0, 0, 0], - ["产量", "台时产量(t/h)", "/", 0, 0, 0, 0, 0, 0, 0], - ["运转时间", "运转时间(h)", "/", 0, 0, "/", 0, 0, "/", "/"], - ["运转时间", "运转率(%)", "/", 0, 0, "/", 0, 0, "/", "/"], + ["产量", "台时产量(t/h)", 0, 0, 0, 0, 0, 0, 0, 0], + ["运转时间", "运转时间(h)", 0, 0, 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, "/", "/", "/","/"], // ["成本", "生料成本(元/吨)", 0, 0, 0, 0, 0, 0, 0, 0], @@ -809,6 +809,9 @@ export default { that.tableDatas[4][2] = 0; that.tableDatas[5][2] = 0; }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[5][2] = data4.elec_consume; } diff --git a/src/views/enm_rm_copy/report.vue b/src/views/enm_rm_copy/report.vue index ccbbff5a..f97143e4 100644 --- a/src/views/enm_rm_copy/report.vue +++ b/src/views/enm_rm_copy/report.vue @@ -861,6 +861,9 @@ export default { that.tableDatas[5][2] = 0; that.tableDatas[6][2] = 0; }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[5][2] = data4.elec_consume; that.tableDatas[6][2] = data4.production_cost_unit;}