feat: wmaterial增加筛选条件

This commit is contained in:
caoqianming 2023-12-21 00:14:13 +08:00
parent ec3014d5ee
commit ef2975d05d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class WMaterialFilter(filters.FilterSet):
"material__type": ["exact", "in"], "material__type": ["exact", "in"],
"material__process": ["exact", "in"], "material__process": ["exact", "in"],
"belong_dept": ["exact"], "belong_dept": ["exact"],
"belong_dept__name": ["exact"], "belong_dept__name": ["exact", "in"],
"batch": ["exact"], "batch": ["exact"],
"count": ["gte", "lte", "exact"] "count": ["gte", "lte", "exact"]
} }