diff --git a/test/vuex/cpone-resultentry-so-others-v8-all/components/oneResultEntrySoForm.vue b/test/vuex/cpone-resultentry-so-others-v8-all/components/oneResultEntrySoForm.vue index 31eacbb..ab005e4 100644 --- a/test/vuex/cpone-resultentry-so-others-v8-all/components/oneResultEntrySoForm.vue +++ b/test/vuex/cpone-resultentry-so-others-v8-all/components/oneResultEntrySoForm.vue @@ -5306,9 +5306,6 @@ module.exports = { if (entry.name === "Hemorroid") { let normal = 'Y' let count_x = _.filter(entry.details, function (o) { - if(o.id_code == 'perut_18' || o.id_code == 'perut_17'){ - normal = 'N' - } return o.chx; }).length; if (count_x === 0) { @@ -5318,6 +5315,12 @@ module.exports = { error_msg_fisik.push(x_msg); } + entry.details.forEach((detail) => { + if(detail.chx && (detail.id_code == 'perut_18' || detail.id_code == 'perut_17')){ + normal = 'N' + } + }) + entry.details.forEach((detail) => { if(normal == 'N'){ if(detail.id_code == 'perut_15' || detail.id_code == 'perut_16'){ @@ -5332,7 +5335,7 @@ module.exports = { }) } }) - + } if (entry.name === "Pengukuran" || entry.name === "Measurement") {