获取下一步子工序bug
This commit is contained in:
parent
decb1e4aac
commit
216537c742
|
@ -442,7 +442,7 @@ class DoFormSubmit(CreateAPIView, GenericAPIView):
|
|||
else:
|
||||
for wproduct in vdata['wproducts']:
|
||||
# 获取下一步子工序
|
||||
newstep, hasNext = WpmServies.get_next_step(i['subproduction_plan'], vdata['step'])
|
||||
newstep, hasNext = WpmServies.get_next_step(wproduct.subproduction_plan, vdata['step'])
|
||||
wproduct.step = newstep
|
||||
wproduct.pre_step=vdata['step']
|
||||
if hasNext:
|
||||
|
|
Loading…
Reference in New Issue