Skip to content

Commit

Permalink
[#17] 采购模块
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeeco committed Jan 15, 2018
1 parent e0e0469 commit 620cd58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Procurement/api/materialsub.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from rest_framework import viewsets
from rest_framework.exceptions import MethodNotAllowed

from Core.utils.pagination import SmallResultsSetPagination
from Procurement.models import MaterialSubApply, MaterialSubApplyItems
Expand All @@ -22,9 +21,6 @@ def get_serializer_class(self):
else:
return serializers.MaterialSubApplySerializer

def destroy(self, request, pk=None):
raise MethodNotAllowed(request.method)


# 材料代用申请单明细
class MaterialSubApplyItemViewSet(viewsets.ModelViewSet):
Expand Down

0 comments on commit 620cd58

Please sign in to comment.