From d4df340c1ca7f239d22427e3659ae302b2cc9dd2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 24 Mar 2025 15:16:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20batchst=E6=B7=BB=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=BB=A5=E8=BF=BD=E8=B8=AAmaterial=5Fstart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/models.py b/apps/wpm/models.py index 54390bb0..fd0ca921 100644 --- a/apps/wpm/models.py +++ b/apps/wpm/models.py @@ -601,7 +601,7 @@ class BatchSt(BaseModel): raise ParseError(f"{batch} 该批号已存在不可用") if mio is None and handover is None and mlog is None: raise ParseError("mio or handover or mlog must be provided") - BatchSt.objects.create(batch=batch, mio=mio, handover=handover, mlog=mlog) + BatchSt.objects.create(batch=batch, mio=mio, handover=handover, mlog=mlog, material_start=material_start)