Browse Source

fix: 复制清单bug

zhangweicheng 4 năm trước cách đây
mục cha
commit
9de96e9faa
1 tập tin đã thay đổi với 0 bổ sung10 xóa
  1. 0 10
      web/building_saas/main/js/views/project_view.js

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

@@ -300,16 +300,6 @@ var projectObj = {
                 let libId = projectObj.project.projectInfo.engineeringInfo.bill_lib[0].id;
                 CommonAjax.post('/stdBillsEditor/getStdBillsByCode', {userId: userID, billsLibId: libId, code: stdCode}, function (data) {
                     if (data) {
-                            items.sort(function (a, b) {
-                                let rst = 0;
-                                if(a.serialNo > b.serialNo){
-                                    rst = 1;
-                                }
-                                else if(a.serialNo < b.serialNo){
-                                    rst = -1;
-                                }
-                                return rst;
-                            });
                         
                         function updateBeforeInsert(node, data) {
                             node.data.name = data.name;