chenshilong hace 6 años
padre
commit
02bdd84cdf
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      web/building_saas/main/js/models/calc_program.js

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

@@ -1192,8 +1192,8 @@ let analyzer = {
             for (let base of arrBase){
                 let baseName = base.slice(1, -1);
                 if (!rationCalcBases[baseName]){
-                    analyzer.error = `定额基数${hintBox.font('[' +baseName + ']')}定义!`;
-                    // hintBox.infoBox('错误提示', `定额基数${hintBox.font('[' +baseName + ']')}定义!`, 1);
+                    analyzer.error = `定额基数${hintBox.font('[' +baseName + ']')}定义!`;
+                    // hintBox.infoBox('错误提示', `定额基数${hintBox.font('[' +baseName + ']')}定义!`, 1);
                     return false;
                 }
             };
@@ -1407,7 +1407,7 @@ let executeObj = {
             return calcTools.marketPriceToBase(me.treeNode, baseName, isTender)
         else{
             if (!rationCalcBases[baseName]){
-                hintBox.infoBox('系统提示', '定额基数“' + baseName + '”定义,计算错误。 (模板 ' + me.template.ID + ',规则 ' + me.tempCalcItem.ID +')', 1);
+                hintBox.infoBox('系统提示', '定额基数“' + baseName + '”定义,计算错误。 (模板 ' + me.template.ID + ',规则 ' + me.tempCalcItem.ID +')', 1);
                 return 0;
             }
             else