fix:去掉库存检验的不合格必填
This commit is contained in:
parent
9387cca8a0
commit
b01d1164c3
|
@ -49,7 +49,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item label="不合格数" prop="count_notok">
|
||||
<el-form-item label="不合格数">
|
||||
<el-input-number
|
||||
v-model="form.count_notok"
|
||||
:min="0"
|
||||
|
@ -771,13 +771,6 @@ export default {
|
|||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
count_notok: [
|
||||
{
|
||||
required: true,
|
||||
message: "请填写不合格数",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
},
|
||||
mioItem: {},
|
||||
weight_kgs: [{ value: 0 }],
|
||||
|
@ -801,21 +794,22 @@ export default {
|
|||
that.form.batch = that.objitem.batch;
|
||||
that.form.count_bag = that.objitem.count_bag;
|
||||
}
|
||||
if (that.type == "do_in" && that.cate == "halfgood") {
|
||||
this.form.count_notok = 0;
|
||||
this.form.count_n_zw = 0;
|
||||
this.form.count_n_tw = 0;
|
||||
this.form.count_n_qp = 0;
|
||||
this.form.count_n_wq = 0;
|
||||
this.form.count_n_dl = 0;
|
||||
this.form.count_n_pb = 0;
|
||||
this.form.count_n_dxt = 0;
|
||||
this.form.count_n_js = 0;
|
||||
this.form.count_n_qx = 0;
|
||||
this.form.count_n_ysq = 0;
|
||||
this.form.count_n_zz = 0;
|
||||
this.form.count_n_qt = 0;
|
||||
}
|
||||
|
||||
// if (that.type == "do_in" && that.cate == "halfgood") {
|
||||
// this.form.count_notok = 0;
|
||||
// this.form.count_n_zw = 0;
|
||||
// this.form.count_n_tw = 0;
|
||||
// this.form.count_n_qp = 0;
|
||||
// this.form.count_n_wq = 0;
|
||||
// this.form.count_n_dl = 0;
|
||||
// this.form.count_n_pb = 0;
|
||||
// this.form.count_n_dxt = 0;
|
||||
// this.form.count_n_js = 0;
|
||||
// this.form.count_n_qx = 0;
|
||||
// this.form.count_n_ysq = 0;
|
||||
// this.form.count_n_zz = 0;
|
||||
// this.form.count_n_qt = 0;
|
||||
// }
|
||||
// if (that.type == "do_in" && that.cate == "good") {
|
||||
// this.form.count_notok = 0;
|
||||
// this.form.count_n_hs = 0;
|
||||
|
|
Loading…
Reference in New Issue