From 5518f090d60346712ef0700e92fcfb38eefb6435 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 8 Apr 2024 15:29:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8D=8A=E6=88=90=E5=93=81=E5=92=8C?= =?UTF-8?q?=E6=88=90=E5=93=81=E6=A3=80=E9=AA=8C=E6=8F=90=E4=BA=A4=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E4=B8=8D=E5=90=88=E6=A0=BC=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_check.vue | 48 ++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue index 2baeffe7..88eebbad 100644 --- a/src/views/inm/mioitem_check.vue +++ b/src/views/inm/mioitem_check.vue @@ -820,6 +820,7 @@ export default { this.form.count_n_dxt = 0; this.form.count_n_js = 0; this.form.count_n_qx = 0; + this.form.count_n_hs = 0; this.form.count_n_ysq = 0; this.form.count_n_zz = 0; this.form.count_n_b = 0; @@ -860,7 +861,8 @@ export default { getUserList() { let that = this; this.$API.system.user.list - .req({ page: 0, belong_dept__name: "检验管理部" }) + // .req({ page: 0, belong_dept__name: "检验管理部" }) + .req({ page: 0 }) .then((res) => { that.userList = res; }); @@ -900,6 +902,7 @@ export default { this.form.count_n_dxt + this.form.count_n_js + this.form.count_n_qx + + this.form.count_n_hs + this.form.count_n_ysq + this.form.count_n_zz + this.form.count_n_b + @@ -932,6 +935,49 @@ export default { //提交 submit() { let that = this; + if ( + (that.type == "do_in" && that.cate == "halfgood") || + that.type == "other_in" + ) { + this.form.count_notok = + this.form.count_n_zw + + this.form.count_n_tw + + this.form.count_n_qp + + this.form.count_n_wq + + this.form.count_n_dl + + this.form.count_n_pb + + this.form.count_n_dxt + + this.form.count_n_js + + this.form.count_n_qx + + this.form.count_n_hs + + this.form.count_n_ysq + + this.form.count_n_zz + + this.form.count_n_b + + this.form.count_n_qt; + } + if (that.type == "do_in" && that.cate == "good") { + this.form.count_notok = + this.form.count_n_hs + + this.form.count_n_zs + + this.form.count_n_zz + + this.form.count_n_tw + + this.form.count_n_d + + this.form.count_n_zdd + + //棒 + this.form.count_n_qp + + this.form.count_n_bl + + this.form.count_n_hw + + this.form.count_n_yp + + this.form.count_n_bp + + this.form.count_n_sc + + //管 + this.form.count_n_qx + + this.form.count_n_js + + this.form.count_n_tydu + + this.form.count_n_sw + + this.form.count_n_bhpcd + + this.form.count_n_w; + } that.$refs.dialogForm.validate(async (valid) => { if (valid) { that.isSaveing = true;