ellisran 2 недель назад
Родитель
Сommit
a8f4d562db
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/public/js/measure_material.js

+ 1 - 1
app/public/js/measure_material.js

@@ -262,7 +262,7 @@ $(function () {
             materialTotalPrice.m_tp = ZhCalc.add(materialTotalPrice.m_tp, ZhCalc.round(s.m_tp, s.decimal.tp));
             materialTotalPrice.tax_tp = !s.material_tax ? ZhCalc.add(materialTotalPrice.tax_tp, ZhCalc.round(ZhCalc.mul(s.m_tp, 1 + s.rate / 100), s.decimal.tp)) : materialTotalPrice.tax_tp;
             materialTotalPrice.ex_tp = ZhCalc.add(materialTotalPrice.ex_tp, ZhCalc.round(s.ex_tp, s.decimal.tp));
-            materialTotalPrice.ex_tax_tp = ZhCalc.add(materialTotalPrice.ex_tax_tp, ZhCalc.round(ZhCalc.mul(s.ex_tp, 1 + s.exponent_rate / 100), s.decimal.tp));
+            materialTotalPrice.ex_tax_tp = ZhCalc.add(materialTotalPrice.ex_tax_tp, s.ex_tax_tp);
             materialTotalPrice.m_tax_tp = s.material_tax ? ZhCalc.add(materialTotalPrice.m_tax_tp, ZhCalc.round(s.m_tax_tp, s.decimal.tp)) : materialTotalPrice.m_tax_tp;
         }
         materialTotalPrice.total_tp = ZhCalc.add(materialTotalPrice.m_tp, materialTotalPrice.ex_tp);