feat: mb添加查询条件state

This commit is contained in:
caoqianming 2025-02-27 16:59:20 +08:00
parent bf35064f6e
commit 8c4b11d9c9
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ class MaterialBatchFilter(filters.FilterSet):
"material": ["exact"],
"material__type": ["exact", "in"],
"material__process": ["exact", "in"],
"count": ["exact", "gte", "lte"]
"count": ["exact", "gte", "lte"],
"state": ["exact", "in"],
"defect": ["exact"]
}