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" > + +