feat: mio增加item_mio__material__type查询条件

This commit is contained in:
caoqianming 2023-12-25 10:18:35 +08:00
parent ca7dc5c2ba
commit 4f318d823a
1 changed files with 3 additions and 1 deletions

View File

@ -128,7 +128,9 @@ class MIOViewSet(CustomModelViewSet):
'state': ["exact", "in"],
"type": ["exact", "in"],
"pu_order": ["exact"],
"order": ["exact"]
"order": ["exact"],
"item_mio__material": ["exact"],
"item_mio__material__type": ["exact", "in"]
}
search_fields = ['number']
data_filter = True