feat: mioitem添加material__type查询条件
This commit is contained in:
parent
50bf3e78d4
commit
f0cacf6777
|
@ -255,6 +255,7 @@ class MIOItemViewSet(CustomListModelMixin, BulkCreateModelMixin, BulkDestroyMode
|
||||||
"mio__type": ["exact", "in"],
|
"mio__type": ["exact", "in"],
|
||||||
"mio__inout_date": ["gte", "lte", "exact"],
|
"mio__inout_date": ["gte", "lte", "exact"],
|
||||||
"material": ["exact"],
|
"material": ["exact"],
|
||||||
|
"material__type": ["exact"],
|
||||||
"test_date": ["isnull", "exact"]
|
"test_date": ["isnull", "exact"]
|
||||||
}
|
}
|
||||||
ordering = ['create_time']
|
ordering = ['create_time']
|
||||||
|
|
Loading…
Reference in New Issue