fix: handover form wm做筛选

This commit is contained in:
caoqianming 2024-08-13 09:56:19 +08:00
parent d6d1f9231d
commit 009e2c05bb
1 changed files with 13 additions and 1 deletions

View File

@ -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;
});