fix:拆分批撤销,批量检测清空列表

This commit is contained in:
shijing 2025-06-26 13:19:17 +08:00
parent a39127a804
commit dba36ec30b
2 changed files with 4 additions and 2 deletions

View File

@ -416,7 +416,6 @@ export default {
let that = this;
that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => {
that.mgroupOptions = res;
if(that.type==40){
res.forEach(item=>{
if(item.name=="废品库"){
@ -595,6 +594,7 @@ export default {
that.mgroupOptions = res;
if(res.length==1){
that.form.recive_mgroup = res[0].id;
that.getUserList2();
}
})
data.forEach((item,index)=>{
@ -758,6 +758,7 @@ export default {
that.mgroupOptions = res0;
if(res0.length==1){
that.form.recive_mgroup = res0[0].id;
that.getUserList2();
}
})
let obj = {};

View File

@ -351,7 +351,6 @@
<el-col v-for="item2 in defectlists" :key="item2.id" :span="12">
<el-form-item :label="item2.defect_name">
<el-switch v-model="item2.value"></el-switch>
<!-- <el-input v-model="item2.value"></el-input> -->
</el-form-item>
</el-col>
<el-col>
@ -994,6 +993,8 @@ export default {
this.checkVisible = false;
},
check_set(){
this.wprNumber = "";
this.selectWpr = [];
this.setVisible=true;
},
//