From 357924a7c0c2ceb0bb3a05f54dacacad6bd889e2 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Mon, 5 Feb 2024 14:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=B1=BB=E5=9E=8B=E6=98=AF?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=EF=BC=8C=E7=82=B9=E5=90=88=E6=A0=BC?= =?UTF-8?q?=E5=90=8E=E4=B8=8A=E4=BC=A0=E7=85=A7=E7=89=87=EF=BC=8C=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E7=BB=93=E6=9E=9C=E5=8F=98=E7=A9=BA=E4=BA=86=E3=80=82?= =?UTF-8?q?=20=E6=93=8D=E4=BD=9C=E7=B1=BB=E5=9E=8B=E6=98=AF=E5=A1=AB?= =?UTF-8?q?=E5=86=99=EF=BC=8C=E7=82=B9=E5=90=88=E6=A0=BC=E5=90=8E=E6=9C=80?= =?UTF-8?q?=E5=A5=BD=E6=98=AF=E6=8A=8A=E5=90=88=E6=A0=BC=E9=A1=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BC=A0=E8=BF=87=E6=9D=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory_troubleshooting/inspect_custom.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue index 37df502..d31f987 100644 --- a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue +++ b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue @@ -365,7 +365,9 @@ onMounted(() => { }); const fnResultsSubmit = (CHECK_RESULT, index) => { - inspectionList.value[index].CHECK_RESULT = CHECK_RESULT; + if (CHECK_RESULT) { + inspectionList.value[index].CHECK_RESULT = CHECK_RESULT; + } }; const fnHiddenSubmit = (currentHiddenId, HIDDENDESCR) => { const { hiddenType, index } = data.unQualifiedDialog; @@ -399,7 +401,7 @@ const fnQualified = async (index, row) => { } else { data.qualifiedDialog.writeresults = true; data.qualifiedDialog.form.CHECK_RESULT = - row.CHECK_RESULT !== "不涉及" ? row.CHECK_RESULT : ""; + row.CHECK_RESULT !== "不涉及" ? row.CHECK_RESULT : row.CHECK_QUALIFIED; } data.qualifiedDialog.visible = true; data.qualifiedDialog.index = index;