From ef2975d05d22abba6231225e96f78c4946064d6e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 21 Dec 2023 00:14:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20wmaterial=E5=A2=9E=E5=8A=A0=E7=AD=9B?= =?UTF-8?q?=E9=80=89=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index b1818d93..91a59c68 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -38,7 +38,7 @@ class WMaterialFilter(filters.FilterSet): "material__type": ["exact", "in"], "material__process": ["exact", "in"], "belong_dept": ["exact"], - "belong_dept__name": ["exact"], + "belong_dept__name": ["exact", "in"], "batch": ["exact"], "count": ["gte", "lte", "exact"] }