生产执行里只显示下发的子计划
This commit is contained in:
parent
8aeb70e024
commit
3773482b93
|
@ -50,8 +50,8 @@ class WPlanViewSet(ListModelMixin, GenericViewSet):
|
|||
perms_map = {'get': '*'}
|
||||
queryset = SubProductionPlan.objects.select_related(
|
||||
'process', 'workshop', 'subproduction', 'product').filter(
|
||||
production_plan__state__in =[
|
||||
ProductionPlan.PLAN_STATE_WORKING, ProductionPlan.PLAN_STATE_ASSGINED
|
||||
state__in =[
|
||||
SubProductionPlan.SUBPLAN_STATE_ASSGINED, SubProductionPlan.SUBPLAN_STATE_WORKING
|
||||
]
|
||||
)
|
||||
search_fields = []
|
||||
|
|
Loading…
Reference in New Issue