From abdee3d2d5677f342ddac41576ca329ed0927801 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 6 Mar 2024 17:21:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0wmaterial=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 | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 9bd1a6d0..28fc1e12 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -36,6 +36,7 @@ class WMaterialFilter(filters.FilterSet): fields = { "material": ["exact", "in"], "material__type": ["exact", "in"], + "material__name": ["exact", "in", "contains"], "material__process": ["exact", "in"], "material__process__name": ["exact", "contains", "in"], "belong_dept": ["exact"],