From 1003e0aea74a7874e37ee415fea648038c8b96d3 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 2 Aug 2024 21:00:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20route=E6=B7=BB=E5=8A=A0filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/filters.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/mtm/filters.py b/apps/mtm/filters.py index 1ba30f9f..c36c4568 100644 --- a/apps/mtm/filters.py +++ b/apps/mtm/filters.py @@ -51,6 +51,8 @@ class RouteFilter(filters.FilterSet): "material_out": ["exact", "in"], "process": ["exact", "in"], "is_autotask": ["exact"], + "routepack": ["exact", "isnull"], + "routepack__state": ["exact"], "mgroup": ["exact", "in", "isnull"], "mgroup__name": ["exact", "contains"], "mgroup__belong_dept": ["exact"],