chenshilong 5 năm trước cách đây
mục cha
commit
0ca883a15a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/building_saas/main/js/models/calc_program.js

+ 1 - 1
web/building_saas/main/js/models/calc_program.js

@@ -1872,7 +1872,7 @@ class CalcProgram {
 
         // 量价、工料机类型的定额要求市场合价
         if (treeNode.data.type == rationType.volumePrice){
-            treeNode.data.totalPrice = (treeNode.data.unitPrice * treeNode.data.quantity).toDecimal(decimalObj.ration.totalPrice);
+            treeNode.data.marketTotalFee = (treeNode.data.marketUnitFee * treeNode.data.quantity).toDecimal(decimalObj.ration.totalPrice);
         };
 
         let template = me.compiledTemplates[treeNode.data.programID];