From 93cabf0ebcbf3218d4d84fd35c1c321de4e00921 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 21 Nov 2024 11:25:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mlogb=E5=A2=9E=E5=8A=A0=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E4=BB=A5=E6=94=AF=E6=8C=81=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=BF=94=E5=B7=A5=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/filters.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/wpm/filters.py b/apps/wpm/filters.py index 59d70620..30b484dd 100644 --- a/apps/wpm/filters.py +++ b/apps/wpm/filters.py @@ -117,6 +117,9 @@ class MlogbFilter(filters.FilterSet): fields = { "mlog": ["exact"], "mtask": ["exact"], + "wm_in": ["exact"], + "mlog__submit_time": ["isnull"], + "wm_in__state": ["exact"], "material_in": ["exact", "isnull"], "material_out": ["exact", "isnull"], }