update_cutting_list_with_operation bug
This commit is contained in:
parent
bf711ec9c2
commit
262895d6e6
|
@ -167,6 +167,8 @@ class WpmServies(object):
|
|||
for m in input_q:
|
||||
count_cut = count_cut + m.count
|
||||
from_batch = from_batch + ';' + m.batch if m.batch else from_batch
|
||||
i.count_cut = count_cut
|
||||
i.from_batch = from_batch
|
||||
wpfs = WproductFlow.objects.filter(subproduction_plan=i.subproduction_plan,
|
||||
is_lastlog=True, coperation=op)# 筛选本次操作下子计划的产品日志
|
||||
i.count_real = wpfs.count()
|
||||
|
|
Loading…
Reference in New Issue