diff --git a/src/views/wpm_gx/mlogb_check.vue b/src/views/wpm_gx/mlogb_check.vue
index 2fca83e7..1daa9581 100644
--- a/src/views/wpm_gx/mlogb_check.vue
+++ b/src/views/wpm_gx/mlogb_check.vue
@@ -111,6 +111,18 @@
/>
+
+
+
+
+
+
+
+
@@ -184,12 +250,27 @@ export default {
count_n_qp: 0,
count_n_swen: 0,
count_n_bb: 0,
+ count_n_xbb:0,
count_n_md: 0,
count_n_xh: 0,
count_n_ps: 0,
count_n_qt: 0,
count_n_wm: 0,
+ count_n_zq:0
},
+ notokOptions:[
+ {name:"划伤",value:'count_n_hs'},
+ {name:"气泡",value:'count_n_qp'},
+ {name:"水纹",value:'count_n_swen'},
+ {name:"崩边",value:'count_n_bb'},
+ {name:"小崩边",value:'count_n_xbb'},
+ {name:"麻点",value:'count_n_md'},
+ {name:"划伤",value:'count_n_xh'},
+ {name:"破损",value:'count_n_ps'},
+ {name:"其他",value:'count_n_qt'},
+ {name:"雾面",value:'count_n_wm'},
+ {name:"棕圈",value:'count_n_zq'},
+ ],
//验证规则
rules: {
batch: [
@@ -208,6 +289,7 @@ export default {
],
},
options: [],
+ notokList:[],
materialOptions: [],
visible: false,
isSaveing: false,
@@ -225,15 +307,23 @@ export default {
Object.assign(this.form, data);
console.log(this.form);
},
+ notok_add(){
+ this.notokList.push({file:'',value:0});
+ },
+ notok_del(index){
+ this.notokList.splice(index, 1)
+ },
countChange() {
this.form.count_notok =
this.form.count_n_hs +
this.form.count_n_qp +
this.form.count_n_swen +
this.form.count_n_bb +
+ this.form.count_n_xbb +
this.form.count_n_md +
this.form.count_n_xh +
this.form.count_n_ps +
+ this.form.count_n_zq +
this.form.count_n_qt +
this.form.count_n_wm;
this.form.count_ok = this.form.count_real - this.form.count_notok;
@@ -250,9 +340,11 @@ export default {
this.form.count_n_qp +
this.form.count_n_swen +
this.form.count_n_bb +
+ this.form.count_n_xbb +
this.form.count_n_md +
this.form.count_n_xh +
this.form.count_n_ps +
+ this.form.count_n_zq +
this.form.count_n_qt +
this.form.count_n_wm;
let sum = this.form.count_ok + this.form.count_notok;
@@ -269,9 +361,7 @@ export default {
that.isSaveing = false;
});
} else {
- this.$message.error(
- "使用数量与合格数不合格数数量不对等"
- );
+ this.$message.error("使用数量与合格数不合格数数量不对等");
}
}
});