From 3e424a6be720a1b1c8d121ec90b8d9e58ae853a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 14 Oct 2022 16:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/testItemScore/index.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/system/testItemScore/index.vue b/src/views/system/testItemScore/index.vue index 807cece..4970a25 100644 --- a/src/views/system/testItemScore/index.vue +++ b/src/views/system/testItemScore/index.vue @@ -1356,7 +1356,16 @@ export default { methods: { oninputscore2(item) { if (item.itemCode == "H001") { + console.log(item); this.Height = item.itemScore; + if (item.itemScore == "") { + this.form.itemScoreList.forEach((e) => { + if (e.itemCode == "W001") { + e.itemFraction = ""; + e.itemScore = ""; + } + }); + } } if (item.itemScore == "") { this.form.itemScoreList.forEach((e) => { @@ -1402,7 +1411,16 @@ export default { }, oninputscore(item) { if (item.itemCode == "H001") { + console.log(item); this.Height = item.itemScore; + if (item.itemScore == "") { + this.form.itemScoreList.forEach((e) => { + if (e.itemCode == "W001") { + e.itemFraction = ""; + e.itemScore = ""; + } + }); + } } if (item.itemScore == "") { this.form.itemScoreList.forEach((e) => {