瀏覽代碼

工料机汇总逻辑调整

Tony Kang 3 年之前
父節點
當前提交
aa977b4098
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/main/facade/project_facade.js

+ 1 - 1
modules/main/facade/project_facade.js

@@ -807,7 +807,7 @@ function mergeGLJ(mp, projects, names, prjTypeNames, compilationName = '') {
       //但有些省份不需要检测,体现在noPriceCheck标记
       let connect_key = gljUtil.getIndex(t);
       let g = gljMap[connect_key];
-      if (noPriceCheck || (g && g.marketPrice == t.marketPrice)) {
+      if (g && (noPriceCheck || g.marketPrice == t.marketPrice)) {
         g.quantityMap[projects[i].name] = t.tenderQuantity;
         g.unitPriceMap[projects[i].name] = t.marketPrice;
       } else {