fix: 正常交接后的物料状态不变

This commit is contained in:
caoqianming 2025-04-17 11:17:05 +08:00
parent fafe39c1bd
commit 369c452dd5
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime,
material=material, material=material,
mgroup=recive_mgroup, mgroup=recive_mgroup,
belong_dept=recive_dept, belong_dept=recive_dept,
state=WMaterial.WM_OK, state=wm_from.state,
notok_sign=wm_from.notok_sign, notok_sign=wm_from.notok_sign,
defect=wm_from.defect, defect=wm_from.defect,
defaults={ defaults={