fix: 正常交接后的物料状态不变
This commit is contained in:
parent
fafe39c1bd
commit
369c452dd5
|
@ -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={
|
||||||
|
|
Loading…
Reference in New Issue