plan增加查询条件 在制和已排 bug
This commit is contained in:
parent
6b8332f7bb
commit
bfa8b6857e
|
@ -18,6 +18,7 @@ class PlanFilterSet(filters.FilterSet):
|
|||
queryset = queryset.filter(is_planed=True)
|
||||
elif value == 'working':
|
||||
queryset = queryset.exclude(state__in=[ProductionPlan.PLAN_STATE_DONE, ProductionPlan.PLAN_MTEST_DONE])
|
||||
return queryset
|
||||
|
||||
class SubproductionProgressFilterSet(filters.FilterSet):
|
||||
|
||||
|
|
Loading…
Reference in New Issue