Browse Source

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

vian 5 năm trước cách đây
mục cha
commit
c31aabd75b
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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;
 
         // 合并清单数据