feat: mio增加item_mio__material__type查询条件
This commit is contained in:
parent
ca7dc5c2ba
commit
4f318d823a
|
@ -128,7 +128,9 @@ class MIOViewSet(CustomModelViewSet):
|
||||||
'state': ["exact", "in"],
|
'state': ["exact", "in"],
|
||||||
"type": ["exact", "in"],
|
"type": ["exact", "in"],
|
||||||
"pu_order": ["exact"],
|
"pu_order": ["exact"],
|
||||||
"order": ["exact"]
|
"order": ["exact"],
|
||||||
|
"item_mio__material": ["exact"],
|
||||||
|
"item_mio__material__type": ["exact", "in"]
|
||||||
}
|
}
|
||||||
search_fields = ['number']
|
search_fields = ['number']
|
||||||
data_filter = True
|
data_filter = True
|
||||||
|
|
Loading…
Reference in New Issue