From 1243a504637c9c7d2c90e74b4ccc51a9039d7ef0 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 5 Sep 2024 14:17:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mlog=E8=BF=94=E5=9B=9Eroutepack=5Fname?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/views.py b/apps/wpm/views.py index 071a4794..909a8959 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -150,7 +150,7 @@ class MlogViewSet(CustomModelViewSet): serializer_class = MlogSerializer select_related_fields = ['create_by', 'update_by', 'mtask', 'handle_user', 'handle_user_2', 'equipment', - 'equipment_2', 'material_in', 'material_out', + 'equipment_2', 'material_in', 'material_out', 'route__routepack' 'supplier', 'ticket', 'mgroup__process', 'test_user'] prefetch_related_fields = ['handle_users', 'material_outs', 'b_mlog', 'equipments']