diff --git a/hb_server/apps/wpm/views.py b/hb_server/apps/wpm/views.py index d405773..8d77fed 100644 --- a/hb_server/apps/wpm/views.py +++ b/hb_server/apps/wpm/views.py @@ -660,8 +660,9 @@ class OperationViewSet(ListModelMixin, RetrieveModelMixin, CreateModelMixin, Upd if set(list(sps_omi_l)) != set(list(sps_omo_l)): raise exceptions.APIException('消耗与产出不一致') else: - if omis.exists() and processId !=1: # 不是冷加工 - raise exceptions.APIException('请选择消耗物料') + pass + # if omis.exists() and processId !=1: # 不是冷加工 + # raise exceptions.APIException('请选择消耗物料') # 检查自定义表单填写 if OperationRecord.objects.filter(operation=op, is_filled=False).exists():