From b9a34271622b64b4d6f26b1d0b60e0de6e0a0bd8 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 24 Mar 2025 15:18:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20batchst=E6=B7=BB=E5=8A=A0=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/filters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 0e32bc8b..bfb9dd74 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -178,7 +178,8 @@ class BatchStFilter(filters.FilterSet): "last_time": ["exact", "gte", "lte"], "update_time": ["exact", "gte", "lte"], "material_start": ["exact"], - "material_start__type": ["exact"] + "material_start__type": ["exact"], + "material_start__process": ["exact"] } def filter_batch(self, queryset, name, value):