fix:活化改为扫边
This commit is contained in:
parent
8d6b620123
commit
14ec636422
|
@ -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",
|
||||
|
|
|
@ -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") {
|
||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
|||
tableHieght: 200,
|
||||
options: ["日志", "交接记录", "库存"],
|
||||
values: "日志",
|
||||
mgroupName: "活化",
|
||||
mgroupName: "扫边",
|
||||
mgroupId: "",
|
||||
};
|
||||
},
|
Loading…
Reference in New Issue