车间操作创建
This commit is contained in:
parent
c6cae6e455
commit
12895757ac
|
@ -313,7 +313,7 @@ class OperationViewSet(ListModelMixin, RetrieveModelMixin, CreateModelMixin, Gen
|
||||||
opr.is_filled = False
|
opr.is_filled = False
|
||||||
opr.save()
|
opr.save()
|
||||||
# 查询需要使用的生产设备
|
# 查询需要使用的生产设备
|
||||||
equips = step.equipements
|
equips = step.equipments
|
||||||
for i in equips:
|
for i in equips:
|
||||||
ope = OperationEquip()
|
ope = OperationEquip()
|
||||||
ope.operation = op
|
ope.operation = op
|
||||||
|
@ -324,6 +324,8 @@ class OperationViewSet(ListModelMixin, RetrieveModelMixin, CreateModelMixin, Gen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class OperationWproductViewSet(ListModelMixin, DestroyModelMixin, GenericViewSet):
|
class OperationWproductViewSet(ListModelMixin, DestroyModelMixin, GenericViewSet):
|
||||||
"""
|
"""
|
||||||
操作使用的半成品
|
操作使用的半成品
|
||||||
|
|
Loading…
Reference in New Issue