diff --git a/apps/wpm/views.py b/apps/wpm/views.py index d226cb34..c4afe65e 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -664,6 +664,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust mlogbout.count_json_from = mlogbin.count_json_from mlogbout.save(update_fields=["count_json_from"]) elif mtype == Process.PRO_MERGE: # 支持批到批,批到个 + div_number = route.div_number xcount = math.floor( (mlogbin.count_use-mlogbin.count_pn_jgqbl) / div_number) d_count_real = xcount d_count_ok = xcount