chenshilong 5 年之前
父节点
当前提交
0ca883a15a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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];