Tony Kang 3 роки тому
батько
коміт
e344693584
1 змінених файлів з 5 додано та 1 видалено
  1. 5 1
      web/building_saas/pm/js/pm_newMain.js

+ 5 - 1
web/building_saas/pm/js/pm_newMain.js

@@ -2095,7 +2095,11 @@ $(document).ready(function() {
         if (selected.data.valuationType === '工程量清单') {
             $('#val-type-group').hide();
         } else {
-            $('#val-type-group').show();
+            if (selected.data.property.hasOwnProperty('valuationType')) {
+                $('#val-type-group').hide();
+            } else {
+                $('#val-type-group').show();
+            }
         }
         const firstProj = selected && selected.data.projType === projectType.project ? selected: projs[0];
         const firstProjID = firstProj && firstProj.data.ID || null;