Browse Source

feat: 浙江海曙接口公路云里18的清单范本安全生产费是102-3的;养护云里浙江养护的安全生产费是102-4。

zhangweicheng 3 năm trước cách đây
mục cha
commit
1ec7661473

+ 6 - 0
web/building_saas/main/js/views/project_view.js

@@ -1193,6 +1193,12 @@ var projectObj = {
       }
       return true
     },
+    //取安全生产费
+    getSaveProductionCostCode :function(){  
+        //公路云里18的清单范本安全生产费是102-3的;养护云里浙江养护的安全生产费是102-4。
+        return '102-4'
+    },
+
     // 注册自定义插入清单数量
     registerFlexibleInsertBillMenu: function (name) {
         const project = projectObj.project;

+ 2 - 1
web/building_saas/standard_interface/export/zhejiang_ninghai.js

@@ -282,7 +282,8 @@ INTERFACE_EXPORT = (() => {
         return '21';
       }
       // 安全生产费
-      if (node.data.code == '102-4') {
+      const safeCode = projectObj.getSaveProductionCostCode();
+      if (node.data.code == safeCode) {
         return '22'
       }
       // 工程一切险

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

@@ -475,6 +475,11 @@ if (typeof projectObj !== 'undefined') {
   projectObj.isInsertEquipmentVisable = function (selected) {
       return true;   //全国不管是预算或者工程量清单,都是显示   
   }
+
+  projectObj.getSaveProductionCostCode = function(){  
+    //公路云里18的清单范本安全生产费是102-3的;养护云里浙江养护的安全生产费是102-4。
+    return '102-3'
+  }
 }
 
 if (typeof module !== 'undefined' && !module.nodeType) {