fix:活化改为扫边

This commit is contained in:
shijing 2024-07-25 16:39:36 +08:00
parent 8d6b620123
commit 14ec636422
3 changed files with 17 additions and 12 deletions

View File

@ -1276,14 +1276,14 @@ const routes = [
component: "wpm_gx/qiepian",
},
{
name: "huohua",
path: "/wpm_gx/huohua",
name: "saobian",
path: "/wpm_gx/saobian",
meta: {
title: "活化",
title: "扫边",
icon: "el-icon-cellphone",
perms: ["wpm_gx"],
},
component: "wpm_gx/huohua",
component: "wpm_gx/saobian",
},
{
name: "heihua",

View File

@ -88,6 +88,7 @@
placeholder="接收工段"
clearable
style="width: 100%"
@change="getUserList2"
>
<el-option
v-for="item in mgroupOptions"
@ -250,20 +251,24 @@ export default {
that.materialOptions = res;
});
},
//
//
getUserList() {
let that = this;
this.$API.system.user.list
.req({ mgroup__name: "切片", page: 0 })
.then((res) => {
that.userList2 = res;
});
this.$API.system.user.list
.req({ mgroup__name: "活化", page: 0 })
.req({ mgroup: that.mgroupId, page: 0 })
.then((res) => {
that.userList = res;
});
},
//
getUserList2() {
let that = this;
this.$API.system.user.list
.req({ mgroup: that.form.recive_mgroup, page: 0 })
.then((res) => {
that.userList2 = res;
});
},
//
open(mode = "add") {

View File

@ -42,7 +42,7 @@ export default {
tableHieght: 200,
options: ["日志", "交接记录", "库存"],
values: "日志",
mgroupName: "活化",
mgroupName: "扫边",
mgroupId: "",
};
},