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(()=>{