From b47c69f0de4270beec4536c9376b2b2d416a7e3c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 2 Nov 2021 16:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E6=8E=A5=E5=8F=A3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/apps/wpm/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hb_server/apps/wpm/serializers.py b/hb_server/apps/wpm/serializers.py index e9c9bb3..1e38cf4 100644 --- a/hb_server/apps/wpm/serializers.py +++ b/hb_server/apps/wpm/serializers.py @@ -42,6 +42,7 @@ class PickSerializer(serializers.Serializer): for i in picks: # 更新出库详情 i['fifo'] = fifo + i['count'] = i.pop('pick_count') FIFODetail.objects.create(**i) # 更新车间物料 wm = WMaterial.objects.get_or_create(material=i['material'], batch=i['batch'], \