diff --git a/apps/fim/tasks.py b/apps/fim/tasks.py index ff2c0fd3..7c1a62d5 100644 --- a/apps/fim/tasks.py +++ b/apps/fim/tasks.py @@ -56,7 +56,7 @@ def cal_enstat_when_feeset_change(feesetId): from apps.enm.models import EnStat feeset = FeeSet.objects.get(id=feesetId) # 影响物料成本的计算 - cost_unit = feeset.price_unit + cost_unit = feeset.cost_unit mgroup = feeset.mgroup fee = feeset.fee feeId = fee.id