From 369c452dd5ab551a2033eafcc3f0a1c0b507fbc6 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 17 Apr 2025 11:17:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=AD=A3=E5=B8=B8=E4=BA=A4=E6=8E=A5?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E7=89=A9=E6=96=99=E7=8A=B6=E6=80=81=E4=B8=8D?= =?UTF-8?q?=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/services.py b/apps/wpm/services.py index 24256706..410b22fe 100644 --- a/apps/wpm/services.py +++ b/apps/wpm/services.py @@ -764,7 +764,7 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime, material=material, mgroup=recive_mgroup, belong_dept=recive_dept, - state=WMaterial.WM_OK, + state=wm_from.state, notok_sign=wm_from.notok_sign, defect=wm_from.defect, defaults={