Parcourir la source

基数重名导致“日常养护”不显示问题。

chenshilong il y a 3 ans
Parent
commit
fb1cfd65b5

+ 1 - 0
web/building_saas/main/js/models/calc_base.js

@@ -162,6 +162,7 @@ let cbTools = {
   setValidBaseMapping: function (baseFigures, mapping) {
     let baseFigures2 = {};
     if (typeof filterByProjectKind !== "undefined") {
+      debugger;
       const engName = projectObj.project.property.engineeringName;
       for (let baseName in baseFigures) {
         const calcBase = baseFigures[baseName];

+ 5 - 5
web/over_write/js/henan_richang_2022.js

@@ -219,7 +219,7 @@ if (typeof baseFigureMap !== "undefined") {
     },
 
     // 以下是 河南日常养护-日常养护年度预算 用到的基数。和“指标”相关
-    施工场地建设费: {
+    "施工场地建设费(指标)": {
       isProgressive: true,
       base: "ZBSGCDJSF",
       fixedFlag: null,
@@ -227,7 +227,7 @@ if (typeof baseFigureMap !== "undefined") {
       pick: true,
       projectKind: ["日常养护年度预算"],
     },
-    养护管理单位项目管理费: {
+    "养护管理单位项目管理费(指标)": {
       isProgressive: true,
       base: "ZBYHGLDWXMGLF",
       fixedFlag: null,
@@ -235,7 +235,7 @@ if (typeof baseFigureMap !== "undefined") {
       pick: true,
       projectKind: ["日常养护年度预算"],
     },
-    信息化费: {
+    "信息化费(指标)": {
       isProgressive: true,
       base: "ZBXXHF",
       fixedFlag: null,
@@ -243,7 +243,7 @@ if (typeof baseFigureMap !== "undefined") {
       pick: true,
       projectKind: ["日常养护年度预算"],
     },
-    工程监理费: {
+    "工程监理费(指标)": {
       isProgressive: true,
       base: "ZBGCJLF",
       fixedFlag: null,
@@ -251,7 +251,7 @@ if (typeof baseFigureMap !== "undefined") {
       pick: true,
       projectKind: ["日常养护年度预算"],
     },
-    前期工作费: {
+    "前期工作费(指标)": {
       isProgressive: true,
       base: "ZBQQGZF",
       fixedFlag: null,