diff --git a/apps/wpm/services.py b/apps/wpm/services.py index b9dea08d..f785b55a 100644 --- a/apps/wpm/services.py +++ b/apps/wpm/services.py @@ -733,8 +733,9 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime, batches = [new_batch] else: raise ParseError("合并批次时请提供新批次号") - if handover.new_wm is None: - check_batch_exist = True + # 暂时去除以下校验 + # if handover.new_wm is None: + # check_batch_exist = True target_b, _ = BatchSt.g_create(batch=new_batch, handover=handover, material_start=material, check_batch_exist=check_batch_exist) exclude_batchst_ids.append(target_b.id) elif mtype == Handover.H_DIV: