From 5a09b121fb349935c5532107801a230579746a34 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 3 Mar 2026 13:54:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93348?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_check.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue index aba50f29..2f18b563 100644 --- a/src/views/inm/mioitem_check.vue +++ b/src/views/inm/mioitem_check.vue @@ -640,7 +640,6 @@ style="width: 100%" placeholder="不合格数量" controls-position="right" - @change="count_notok_change" > @@ -652,7 +651,6 @@ :min="0" style="width: 100%" controls-position="right" - @change="nqtChange" > @@ -664,7 +662,6 @@ :min="0" style="width: 100%" controls-position="right" - @change="nqtChange" > @@ -676,7 +673,6 @@ :min="0" style="width: 100%" controls-position="right" - @change="nqtChange" > @@ -688,7 +684,6 @@ :min="0" style="width: 100%" controls-position="right" - @change="nqtChange" > @@ -1472,6 +1467,13 @@ export default { this.form.count_n_bhpcd + this.form.count_n_wq; } + if (that.type == "pur_in" && that.project_code=='gx') { + let count_notok =that.form.count_n_zw+that.form.count_n_zz+that.form.count_n_b+that.form.count_n_dl; + if(that.form.count_notok>count_notok){ + that.form.count_n_qt = that.form.count_notok-count_notok; + } + that.form.count_ok = that.form.count - that.form.count_notok; + } that.$refs.dialogForm.validate(async (valid) => { if (valid) { that.isSaveing = true;