Compare commits

..

No commits in common. "5e81a3d3dcdf55b9710b5e684d305da3950ddccc" and "a81d03e3ca5d1ab6b40355e9af164dd759acafeb" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -857,9 +857,7 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime,
else:
raise ParseError("不支持非工段报废")
elif handover.type == Handover.H_CHANGE:
if handover.new_wm:
wm_to = handover.new_wm
elif handover.recive_mgroup:
if handover.recive_mgroup:
wm_to, _ = WMaterial.objects.get_or_create(
batch=batch,
material=handover.material_changed,