wpm post bug

This commit is contained in:
caoqianming 2021-11-09 15:39:42 +08:00
parent 5beb5026ff
commit 0f229df8f0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class WProductViewSet(ListModelMixin, GenericViewSet):
半成品
"""
perms_map={'*':'*'}
queryset = WProduct.objects.select_related('p_state', 'm_state').filter(is_hidden=True)
queryset = WProduct.objects.select_related('p_state', 'm_state').filter(is_hidden=False)
serializer_class = WProductListSerializer
filterset_fields = ['p_state', 'subproduction_plan', 'm_state', 'production_plan', 'p_state__process']
search_fields = ['number']