接口bug
This commit is contained in:
parent
eae407c690
commit
277a1419b6
|
|
@ -101,7 +101,7 @@ class PickSerializer(serializers.Serializer):
|
|||
first_step = Step.objects.get(pk=sp.steps[0]['id'])
|
||||
wproducts.update(step=first_step, is_executed=False,
|
||||
act_state=WProduct.WPR_ACT_STATE_DOING, is_hidden=False, warehouse=None,
|
||||
subproduction_plan=sp, production_plan=sp.production_plan)
|
||||
subproduction_plan=sp)
|
||||
sp.is_picked=True
|
||||
sp.state = SubProductionPlan.SUBPLAN_STATE_WORKING #生产中
|
||||
sp.state_date_real = timezone.now() #实际开工日期
|
||||
|
|
|
|||
Loading…
Reference in New Issue