fix: fim.py cost_unit 字段

This commit is contained in:
zty 2024-08-01 15:55:19 +08:00
parent f3f0ea132c
commit 261ed40d94
1 changed files with 1 additions and 1 deletions

View File

@ -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