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;