소스 검색

广东接口,不清空父项工程量

vian 5 년 전
부모
커밋
c31aabd75b
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      web/over_write/js/guangdong_2018_import.js

+ 2 - 3
web/over_write/js/guangdong_2018_import.js

@@ -1053,7 +1053,7 @@ const importXML = (() => {
         mergeOther(tenderData.other);
         mergeTax(tenderData.tax);
         // 需要清空各种原因导入的父项的工程量
-        const parentMap = {};
+        /* const parentMap = {};
         mergedBills.forEach(bills => {
             if (bills.ParentID !== -1) {
                 parentMap[bills.ParentID] = 1;
@@ -1063,8 +1063,7 @@ const importXML = (() => {
             if (parentMap[bills.ID] && commonUtil.isDef(bills.quantity)) {
                 delete bills.quantity;
             }
-        })
-        console.log(mergedBills);
+        }) */
         return mergedBills;
 
         // 合并清单数据