From 7338d09f5d26e97cc6551a299a3e399ad7afddfc Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 28 Apr 2025 15:25:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E4=B8=AA=E5=8F=B7?= =?UTF-8?q?=E8=BD=AC=E6=89=B9=E5=8F=B7=E7=9A=84=E9=85=8D=E7=BD=AE2?= 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 bfb8f8ff..d318a8da 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -625,7 +625,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust if lenx == 1: mlogbout.mlogb_from = mlogbin mlogbout.number_from = mlogbwin.number - mlogbout.save(update_fields=["number_from"]) + mlogbout.save() elif material_in.tracking == Material.MA_TRACKING_SINGLE and material_out.tracking == Material.MA_TRACKING_SINGLE: d_count_real = mlogbin.count_use * div_number d_count_ok = d_count_real