From 85e2bf1078ca12dde68953c2ce5e1aa6e55ab4b8 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 4 Sep 2024 09:50:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BD=A6=E9=97=B4=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A3=80=E9=AA=8C=E8=AE=B0=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E9=80=80=E7=81=AB=E6=97=A5=E5=BF=97=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E6=97=B6=E6=8E=A7=E5=88=B6=E9=A1=B5=E9=9D=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/check_drawer.vue | 107 ++++++++++++++++++++++++++++++ src/views/wpm_gx/check_form.vue | 18 +++-- src/views/wpm_gx/inm.vue | 25 +++++-- src/views/wpm_gx/mlog_detail.vue | 40 ++++++----- 4 files changed, 164 insertions(+), 26 deletions(-) create mode 100644 src/views/wpm_gx/check_drawer.vue diff --git a/src/views/wpm_gx/check_drawer.vue b/src/views/wpm_gx/check_drawer.vue new file mode 100644 index 00000000..adb83573 --- /dev/null +++ b/src/views/wpm_gx/check_drawer.vue @@ -0,0 +1,107 @@ + + diff --git a/src/views/wpm_gx/check_form.vue b/src/views/wpm_gx/check_form.vue index b69de15c..df919c29 100644 --- a/src/views/wpm_gx/check_form.vue +++ b/src/views/wpm_gx/check_form.vue @@ -304,7 +304,7 @@ export default { test_date: "", batch: "", count: null, - count_ok: null, + count_ok: 0, count_sampling_ok:'', count_notok: 0, count_notok_json:{} @@ -436,18 +436,24 @@ export default { this.count_notok_json.count_n_md+ this.count_notok_json.count_n_ps+ this.count_notok_json.count_n_qt; - if(count_notok>this.form.count_notok){ - this.$notify.error("不合格数量有问题"); + if(count_notok>that.form.count_notok){ + that.$notify.error("不合格数量有问题"); that.isSaveing = false; }else{ - if(count_notok { that.$API.qm.ftestwork.submit.req(res.id) diff --git a/src/views/wpm_gx/inm.vue b/src/views/wpm_gx/inm.vue index 2bd36f85..2d23e440 100644 --- a/src/views/wpm_gx/inm.vue +++ b/src/views/wpm_gx/inm.vue @@ -107,13 +107,13 @@ v-if="scope.row.notok_sign_name == null" >检验 - + @@ -135,12 +135,20 @@ @closed="dialog.save = false" > + +