feat: 其他成本数据忘记保存
This commit is contained in:
parent
ac0908dc11
commit
cb60fe2728
|
@ -339,6 +339,7 @@ def cal_enstat(type, sflogId, mgroupId, year, month, day, hour, year_s, month_s,
|
|||
item['cost_unit'] = get_cost_unit(mgroup, fee, year_s, month_s)
|
||||
other_cost_unit = other_cost_unit + item['cost_unit']
|
||||
other_cost_data.append(item)
|
||||
enstat.other_cost_data = other_cost_data
|
||||
enstat.production_cost_unit = imaterial_cost_unit + other_cost_unit
|
||||
enstat.save()
|
||||
|
||||
|
|
Loading…
Reference in New Issue