From 9c1c8a4a56edf2ce80bf4690d16f8f02c0079f77 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 23 Aug 2022 09:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E6=A3=80=E7=BB=93=E6=9E=9C=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E7=A1=AE=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/xinrui/inspection/ResultEntry.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/xinrui/inspection/ResultEntry.vue b/src/pages/xinrui/inspection/ResultEntry.vue index 2ad5627..6e8fab9 100644 --- a/src/pages/xinrui/inspection/ResultEntry.vue +++ b/src/pages/xinrui/inspection/ResultEntry.vue @@ -297,6 +297,10 @@ export default { }, toSure () { this.disabled1 = true + if (!this.sure) { + this.disabled1 = false + return + } if (this.val1 === '') { this.toast('请选择物料') this.disabled1 = false @@ -327,12 +331,8 @@ export default { this.disabled1 = false return } - if (!this.sure) { - this.disabled1 = false - return - } let arr = this.dataList.filter(el => el.testing_value === '') - if (arr.length === this.dataList.length) { + if (arr.length > 0) { this.mdShow = true return }