Browse Source

feat:全国公路(2018),新建分段窗口,隐藏“养护类别”、“费用标准”

vian 5 years ago
parent
commit
80252bae83
1 changed files with 9 additions and 1 deletions
  1. 9 1
      web/over_write/js/quanguo_2018.js

+ 9 - 1
web/over_write/js/quanguo_2018.js

@@ -76,4 +76,12 @@ function overwriteRationCalcBases() {
         { type: 'common', name: '建安费' },
         { type: 'rationCommon', name: '定额建安费' }
     ];
-})();
+})();
+
+// 在新建分段的时候需要隐藏养护类别和费用标准
+if (typeof $ !== 'undefined') { // 后端也有引用这个文件,后端引用时$没有定义会报错
+    $(document).ready(function () {
+        $('#tender-engineering-group').hide();
+        $('#tender-feeStandard-group').hide();
+    });
+}