fix:工序添加clear_defect

This commit is contained in:
shijing 2026-05-15 13:29:47 +08:00
parent 4e31c74766
commit 0b46efbced
2 changed files with 11 additions and 2 deletions

View File

@ -13,7 +13,7 @@
:model="form"
:rules="rules"
label-position="right"
label-width="100px"
label-width="110px"
style="padding: 0 10px"
>
<el-form-item label="名称" prop="name">
@ -97,6 +97,13 @@
></el-switch>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="合批清除缺陷">
<el-switch
v-model="form.clear_defect"
></el-switch>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="排序">
<el-input-number
@ -128,6 +135,7 @@ const defaultForm = {
wpr_number_rule: "",
into_wm_mgroup: true,
store_notok: true,
has_ok_b_defect:false,
};
export default {
emits: ["success", "closed"],

View File

@ -62,7 +62,8 @@
</el-descriptions-item>
</el-descriptions>
<div style="padding: 5px 10px;display: flex;justify-content: end;align-items: center;">
<div v-if="mlogItem.submit_time == null && hasOkBDefect" style="margin-right: 16px;display:flex;align-items:center;">
<!-- hasOkBDefect -->
<div v-if="mlogItem.submit_time == null" style="margin-right: 16px;display:flex;align-items:center;">
<span style="margin-right: 6px;">合格B类不拆批</span>
<el-switch v-model="mlogItem.clear_defect"></el-switch>
</div>