From 8c4b11d9c9c17504945e272ae68d4493a09215c7 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 27 Feb 2025 16:59:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mb=E6=B7=BB=E5=8A=A0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/filters.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/inm/filters.py b/apps/inm/filters.py index 9a83211b..31c2f88f 100644 --- a/apps/inm/filters.py +++ b/apps/inm/filters.py @@ -11,7 +11,9 @@ class MaterialBatchFilter(filters.FilterSet): "material": ["exact"], "material__type": ["exact", "in"], "material__process": ["exact", "in"], - "count": ["exact", "gte", "lte"] + "count": ["exact", "gte", "lte"], + "state": ["exact", "in"], + "defect": ["exact"] }