From ece48faede0e1f728396101f3ee0634632a79be7 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 13 Dec 2024 15:42:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8E=82=E7=BA=A7=E5=8D=95=E8=80=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enm_report/reportFactory.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/enm_report/reportFactory.vue b/src/views/enm_report/reportFactory.vue index 5a69fa53..56418113 100644 --- a/src/views/enm_report/reportFactory.vue +++ b/src/views/enm_report/reportFactory.vue @@ -194,7 +194,9 @@ that.tableDatas[1][index] = item.production_hour; let str = ''; item.qua_data.forEach((item) => { - str = str+item.testitem_name+":"+(item.rate_pass).toFixed(2)+"%\n"; + if(item.rate_pass!==null){ + str = str+item.material_name+item.testitem_name+":"+(item.rate_pass).toFixed(2)+"%;\n"; + } }) that.tableDatas[2][index] = str;//质量 that.tableDatas[3][index] = item.pcoal_consume;//煤耗