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