Ver código fonte

恢复单价、费率文件名称bug

zhongzewei 7 anos atrás
pai
commit
5c389d851b

+ 1 - 2
web/building_saas/pm/js/pm_gc.js

@@ -930,8 +930,7 @@ function m_getFilesObjs(nodes){
     for(let i = 0, len = nodes.length; i < len; i++){
         let fileId = $(nodes[i]).attr('fileId') || null;
         if(fileId){
-            let dispName = $('td:eq(0)', $(nodes[i])[0].parentNode.parentNode)[0].textContent;
-            let name = dispName.slice(0, dispName.length - 4);
+            let name = $('td:eq(0)', $(nodes[i])[0].parentNode.parentNode)[0].textContent;
             if($(nodes[i]).attr('fileType') === fileType.unitPriceFile){
                 fileId = parseInt(fileId);
             }

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

@@ -95,7 +95,7 @@ const projTreeObj = {
             allowContextMenu: false,
             allowCopyPasteExcelStyle : false,
             allowExtendPasteRange: false,
-            allowUserDragDrop : true,
+            allowUserDragDrop : false,
             allowUserDragFill: false,
             scrollbarMaxAlign : true,
             showDragDropTip:false