fix:拆分批撤销,批量检测清空列表
This commit is contained in:
parent
a39127a804
commit
dba36ec30b
|
@ -416,7 +416,6 @@ export default {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => {
|
that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => {
|
||||||
that.mgroupOptions = res;
|
that.mgroupOptions = res;
|
||||||
|
|
||||||
if(that.type==40){
|
if(that.type==40){
|
||||||
res.forEach(item=>{
|
res.forEach(item=>{
|
||||||
if(item.name=="废品库"){
|
if(item.name=="废品库"){
|
||||||
|
@ -595,6 +594,7 @@ export default {
|
||||||
that.mgroupOptions = res;
|
that.mgroupOptions = res;
|
||||||
if(res.length==1){
|
if(res.length==1){
|
||||||
that.form.recive_mgroup = res[0].id;
|
that.form.recive_mgroup = res[0].id;
|
||||||
|
that.getUserList2();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
data.forEach((item,index)=>{
|
data.forEach((item,index)=>{
|
||||||
|
@ -758,6 +758,7 @@ export default {
|
||||||
that.mgroupOptions = res0;
|
that.mgroupOptions = res0;
|
||||||
if(res0.length==1){
|
if(res0.length==1){
|
||||||
that.form.recive_mgroup = res0[0].id;
|
that.form.recive_mgroup = res0[0].id;
|
||||||
|
that.getUserList2();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
|
|
@ -351,7 +351,6 @@
|
||||||
<el-col v-for="item2 in defectlists" :key="item2.id" :span="12">
|
<el-col v-for="item2 in defectlists" :key="item2.id" :span="12">
|
||||||
<el-form-item :label="item2.defect_name">
|
<el-form-item :label="item2.defect_name">
|
||||||
<el-switch v-model="item2.value"></el-switch>
|
<el-switch v-model="item2.value"></el-switch>
|
||||||
<!-- <el-input v-model="item2.value"></el-input> -->
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col>
|
||||||
|
@ -994,6 +993,8 @@ export default {
|
||||||
this.checkVisible = false;
|
this.checkVisible = false;
|
||||||
},
|
},
|
||||||
check_set(){
|
check_set(){
|
||||||
|
this.wprNumber = "";
|
||||||
|
this.selectWpr = [];
|
||||||
this.setVisible=true;
|
this.setVisible=true;
|
||||||
},
|
},
|
||||||
//扫描物料将这一行放到第一行并编辑这一行
|
//扫描物料将这一行放到第一行并编辑这一行
|
||||||
|
|
Loading…
Reference in New Issue