Tony Kang hace 3 años
padre
commit
e344693584
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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;