Browse Source

全国公路,插入设备

zhangweicheng 5 years atrás
parent
commit
a710d23b73
2 changed files with 6 additions and 3 deletions
  1. 0 3
      web/over_write/js/hunan_2020.js
  2. 6 0
      web/over_write/js/quanguo_2018.js

+ 0 - 3
web/over_write/js/hunan_2020.js

@@ -392,9 +392,6 @@ if (typeof baseFigureTemplate !== 'undefined') {
 
 if (typeof projectObj !== 'undefined') {
     projectObj.isInsertEquipmentVisable = function (selected) {
-        return true;   //湖南不管是预算或者工程量清单,都显示   
-    }
-    projectObj.isInsertEquipmentVisable = function (selected) {
         if (projectObj.project.property.valuationType == 'bill') {//预算项目中,右键“插入设备”,仅在第一部分中显示。
             return projectObj.project.Bills.isConstructionInstall(selected);
         }

+ 6 - 0
web/over_write/js/quanguo_2018.js

@@ -473,6 +473,12 @@ if (typeof baseFigureTemplate !== 'undefined') {
   };
 }
 
+if (typeof projectObj !== 'undefined') {
+  projectObj.isInsertEquipmentVisable = function (selected) {
+      return false;   //全国不管是预算或者工程量清单,都是隐藏   
+  }
+}
+
 if (typeof module !== 'undefined' && !module.nodeType) {
   module.exports = {
     progression,