From c89d7876906af8329fd59a8f2c1a21af79413a9b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 21 Sep 2023 16:23:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20puplanitem=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/pum/filters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pum/filters.py b/apps/pum/filters.py index 0f9372a7..5f9697b4 100644 --- a/apps/pum/filters.py +++ b/apps/pum/filters.py @@ -14,6 +14,7 @@ class PuPlanItemFilter(filters.FilterSet): fields = { "material": ["exact"], "pu_plan": ["exact"], + "pu_plan__state": ["exact", "in"], "pu_order": ["exact", 'isnull'], - "pu_order__state": ["exact"] + "pu_order__state": ["exact", "in"] } \ No newline at end of file