|
@@ -2010,7 +2010,9 @@ class CalcProgram {
|
|
|
if (calcTools.isVP_or_GLJR(treeNode)){
|
|
|
let u = treeNode.data.marketUnitFee ? treeNode.data.marketUnitFee : 0;
|
|
|
let t = (u * nQ).toDecimal(decimalObj.ration.totalPrice);
|
|
|
- if (treeNode.data.marketTotalFee != t){
|
|
|
+ if ((treeNode.data.marketTotalFee != t) ||
|
|
|
+ (!treeNode.data.feesIndex || !treeNode.data.feesIndex.common || (treeNode.data.feesIndex.common.totalFee != t))
|
|
|
+ ){
|
|
|
treeNode.data.marketTotalFee = t;
|
|
|
let obj = {};
|
|
|
obj.fieldName = 'common';
|