From 272f2db00a4afbea00d4200e8906169c8fcb749f Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 14 Nov 2023 14:19:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20materialsimple=20=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/mtm/serializers.py b/apps/mtm/serializers.py index 7f191dee..f9be2640 100644 --- a/apps/mtm/serializers.py +++ b/apps/mtm/serializers.py @@ -17,7 +17,8 @@ class ShiftSerializer(CustomModelSerializer): class MaterialSimpleSerializer(CustomModelSerializer): class Meta: model = Material - fields = ['id', 'name', 'number', 'specification', 'type', 'cate'] + fields = ['id', 'name', 'number', + 'specification', 'type', 'cate', 'brothers'] class MaterialSerializer(CustomModelSerializer):