fix: handover form wm做筛选
This commit is contained in:
parent
d6d1f9231d
commit
009e2c05bb
|
|
@ -19,6 +19,7 @@
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.wm"
|
v-model="form.wm"
|
||||||
placeholder="交接物料"
|
placeholder="交接物料"
|
||||||
|
filterable
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@change="materialChange"
|
@change="materialChange"
|
||||||
|
|
@ -276,8 +277,19 @@ export default {
|
||||||
//获取车间物料
|
//获取车间物料
|
||||||
getMaterial() {
|
getMaterial() {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
var req = {
|
||||||
|
mgroupx: that.mgroupId,
|
||||||
|
page: 0,
|
||||||
|
};
|
||||||
|
if (this.type == 10) {
|
||||||
|
req.notok_sign__isnull = 1;
|
||||||
|
} else if (this.type == 20) {
|
||||||
|
req.notok_sign__isnull = 0;}
|
||||||
|
else if (this.type == 30) {
|
||||||
|
req.notok_sign__isnull = 1;
|
||||||
|
}
|
||||||
this.$API.wpm.wmaterial.list
|
this.$API.wpm.wmaterial.list
|
||||||
.req({ mgroupx: that.mgroupId, page: 0 })
|
.req(req)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
that.materialOptions = res;
|
that.materialOptions = res;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue