feat: mb添加查询条件state
This commit is contained in:
parent
bf35064f6e
commit
8c4b11d9c9
|
@ -11,7 +11,9 @@ class MaterialBatchFilter(filters.FilterSet):
|
||||||
"material": ["exact"],
|
"material": ["exact"],
|
||||||
"material__type": ["exact", "in"],
|
"material__type": ["exact", "in"],
|
||||||
"material__process": ["exact", "in"],
|
"material__process": ["exact", "in"],
|
||||||
"count": ["exact", "gte", "lte"]
|
"count": ["exact", "gte", "lte"],
|
||||||
|
"state": ["exact", "in"],
|
||||||
|
"defect": ["exact"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue