From 5803c8bd152a9f293d8edcd5257e4cec6cdacd96 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 22 Jul 2022 15:57:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/xinrui/equipment/RunLogFill.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/xinrui/equipment/RunLogFill.vue b/src/pages/xinrui/equipment/RunLogFill.vue index 5f014b1..c8980be 100644 --- a/src/pages/xinrui/equipment/RunLogFill.vue +++ b/src/pages/xinrui/equipment/RunLogFill.vue @@ -155,6 +155,10 @@ export default { if (JSON.stringify(this.robj) === '{}') { return } + if (!(this.val3 && this.val4 && this.val5 && this.val6 && this.val7 && this.val8)) { + this.toast('值须>=0') + return + } if (!(this.val3 >= 0 && this.val4 >= 0 && this.val5 >= 0 && this.val6 >= 0 && this.val7 >= 0 && this.val8 >= 0)) { this.toast('值须>=0') return @@ -165,6 +169,10 @@ export default { if (JSON.stringify(this.robj) === '{}') { return } + if (!(this.val3 && this.val4 && this.val5 && this.val6 && this.val7 && this.val8)) { + this.toast('值须>=0') + return + } if (!(this.val3 >= 0 && this.val4 >= 0 && this.val5 >= 0 && this.val6 >= 0 && this.val7 >= 0 && this.val8 >= 0)) { this.toast('值须>=0') return