fix:coding#495

This commit is contained in:
shijing 2024-09-25 16:51:08 +08:00
parent fd8e646c10
commit 4b7664296f
1 changed files with 20 additions and 4 deletions

View File

@ -83,6 +83,7 @@
placeholder="接收工段"
clearable
style="width: 100%"
:disabled="type==40"
@change="getUserList2"
>
<el-option
@ -313,10 +314,17 @@ export default {
},
//
getMgroupOptions() {
this.$API.mtm.mgroup.list
.req({ page: 0})
.then((res) => {
this.mgroupOptions = res;
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=="废品库"){
that.form.recive_mgroup = item.id;
}
})
that.getCkUserList();//
}
});
},
//
@ -401,6 +409,14 @@ export default {
that.userList = res;
});
},
//
getCkUserList() {
let that = this;
this.$API.system.user.list.req({ page: 0, posts__name: "inm&check" })
.then((res) => {
that.userList = res;
});
},
//
getUserList2() {
let that = this;