浏览代码

code sync

TonyKang 4 年之前
父节点
当前提交
2d4ae6fdab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/equipment_purchase/facade/equipment_purchase_facade.js

+ 1 - 1
modules/equipment_purchase/facade/equipment_purchase_facade.js

@@ -90,7 +90,7 @@ async function getEquipmentSummary(user_id, projectIDs) {
                     // 属性summaryType是作为一个判断依据给后来代码用
                     dtlData.projectID = projectID;
                     dtlData.projectName = prj.name;
-                    dtlData.total = item.total;
+                    dtlData.total = map[projectID].total;
                     // dtlData.parentID = prj.ParentID;
                     dtlData.parentName = (prj.fullFolder.length > 0) ? prj.fullFolder[1] : '';
                     // dtlData.fullFolder = prj.fullFolder;