Skip to content

Commit

Permalink
#17 采购模块 (#272)
Browse files Browse the repository at this point in the history
* 增加了材料执行中的物料字段
为状态回溯写了对应的标单查询
增加了几行代码注释

* 状态修改(创建状态转移表)时修改对应标单状态
用filters去筛选标单状态列表

* bug

* [#17] 采购物料
[#17] 采购物料
为材料代用和材料执行添加了字段查询功能

* [#17] 采购模块
为合同增添了几个字段

* [#17] 采购模块

* delete
  • Loading branch information
eyeeco authored and Time1ess committed Jan 15, 2018
1 parent 0e98423 commit cf84693
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 cf84693

Please sign in to comment.