半成品批量入库

This commit is contained in:
caoqianming 2021-12-03 10:12:21 +08:00
parent dbd1b461b6
commit 52be92e98b
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class WProductViewSet(ListModelMixin, GenericViewSet):
return Response()
@action(methods=['post'], detail=True, perms_map={'post':'*'}, serializer_class=WproductPutInsSerializer)
@action(methods=['post'], detail=False, perms_map={'post':'*'}, serializer_class=WproductPutInsSerializer)
@transaction.atomic
def putins(self, request, pk=None):
"""