fix:活化改为扫边
This commit is contained in:
parent
8d6b620123
commit
14ec636422
|
@ -1276,14 +1276,14 @@ const routes = [
|
||||||
component: "wpm_gx/qiepian",
|
component: "wpm_gx/qiepian",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "huohua",
|
name: "saobian",
|
||||||
path: "/wpm_gx/huohua",
|
path: "/wpm_gx/saobian",
|
||||||
meta: {
|
meta: {
|
||||||
title: "活化",
|
title: "扫边",
|
||||||
icon: "el-icon-cellphone",
|
icon: "el-icon-cellphone",
|
||||||
perms: ["wpm_gx"],
|
perms: ["wpm_gx"],
|
||||||
},
|
},
|
||||||
component: "wpm_gx/huohua",
|
component: "wpm_gx/saobian",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "heihua",
|
name: "heihua",
|
||||||
|
|
|
@ -88,6 +88,7 @@
|
||||||
placeholder="接收工段"
|
placeholder="接收工段"
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
@change="getUserList2"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in mgroupOptions"
|
v-for="item in mgroupOptions"
|
||||||
|
@ -250,20 +251,24 @@ export default {
|
||||||
that.materialOptions = res;
|
that.materialOptions = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取切片工段人员和活化工段人员
|
//获取交送工段人员
|
||||||
getUserList() {
|
getUserList() {
|
||||||
let that = this;
|
let that = this;
|
||||||
this.$API.system.user.list
|
this.$API.system.user.list
|
||||||
.req({ mgroup__name: "切片", page: 0 })
|
.req({ mgroup: that.mgroupId, page: 0 })
|
||||||
.then((res) => {
|
|
||||||
that.userList2 = res;
|
|
||||||
});
|
|
||||||
this.$API.system.user.list
|
|
||||||
.req({ mgroup__name: "活化", page: 0 })
|
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
that.userList = 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") {
|
open(mode = "add") {
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
tableHieght: 200,
|
tableHieght: 200,
|
||||||
options: ["日志", "交接记录", "库存"],
|
options: ["日志", "交接记录", "库存"],
|
||||||
values: "日志",
|
values: "日志",
|
||||||
mgroupName: "活化",
|
mgroupName: "扫边",
|
||||||
mgroupId: "",
|
mgroupId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
Loading…
Reference in New Issue