feat: 支持个号转批号的配置2
This commit is contained in:
parent
0ff9aa1e5a
commit
7338d09f5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue