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 }