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