feat: wm增加查询条件

This commit is contained in:
caoqianming 2023-12-01 14:16:06 +08:00
parent 9d847c8d87
commit e3d37c6dfa
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class WMaterialFilter(filters.FilterSet):
model = WMaterial model = WMaterial
fields = { fields = {
"material": ["exact", "in"], "material": ["exact", "in"],
"material__process": ["exact", "in"],
"belong_dept": ["exact"], "belong_dept": ["exact"],
"belong_dept__name": ["exact"], "belong_dept__name": ["exact"],
"batch": ["exact"], "batch": ["exact"],