Compare commits

..

No commits in common. "caf00a107a46cdd0bc39b238a8541b65bf506ab7" and "80ead2f4263d92d3854d5abe6d8713e42ce0fa26" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -93,8 +93,7 @@ class Wpr(BaseModel):
if old_wm and ins.wm != old_wm: if old_wm and ins.wm != old_wm:
raise ParseError(f"请检查-{ins.number}-所属车间批次") raise ParseError(f"请检查-{ins.number}-所属车间批次")
if wpr_from: ins.wpr_from = wpr_from
ins.wpr_from = wpr_from
ins.mb = mb ins.mb = mb
if mb: if mb:
ins.material = mb.material ins.material = mb.material