From af6403d9f09f9696b43ac303d63118c126a1cd49 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 14 Jan 2026 16:34:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E5=85=A5=E5=8E=82?= =?UTF-8?q?=E6=A3=80=E9=AA=8C=E6=97=B6=E4=B8=8D=E5=90=88=E6=A0=BC=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=85=B6=E4=BB=96=3D=E4=B8=8D=E5=90=88=E6=A0=BC-?= =?UTF-8?q?=E5=9B=9B=E4=B8=AA=E4=B8=8D=E5=90=88=E6=A0=BC=E9=A1=B9=E7=9A=84?= =?UTF-8?q?=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_check.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue index e79c9209..23f80c6d 100644 --- a/src/views/inm/mioitem_check.vue +++ b/src/views/inm/mioitem_check.vue @@ -634,11 +634,14 @@ - + controls-position="right" + @change="count_notok_change" + > 异常项: @@ -1114,6 +1117,7 @@ export default { that.form.count_n_zz = 0;//亮面 that.form.count_n_b = 0;//崩面 that.form.count_n_dl = 0;//长度 + that.form.count_n_qt = 0;//其他 } } if ( @@ -1206,6 +1210,12 @@ export default { this.form.count_notok = this.form.count_n_zw+this.form.count_n_zz+this.form.count_n_b+this.form.count_n_dl; this.form.count_ok = this.form.count - this.form.count_notok; }, + count_notok_change(){ + let count_notok =this.form.count_n_zw+this.form.count_n_zz+this.form.count_n_b+this.form.count_n_dl; + if(this.form.count_notok>count_notok){ + this.form.count_n_qt = this.form.count_notok-count_notok; + } + }, getMaterialItem(){ let that = this; that.$API.mtm.material.item.req(that.objitem.material).then(()=>{