Forráskód Böngészése

总分包,导入其他标段计量数据,不检查错误数量

MaiXinRong 2 éve
szülő
commit
a49a113677
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/service/stage_bills.js

+ 1 - 1
app/service/stage_bills.js

@@ -491,7 +491,7 @@ module.exports = app => {
                 const sumLoad = new SumLoad(this.ctx);
                 const loadTree = await sumLoad.stageGatherGcl(select, maxId, tenders, null, cover);
                 const result = loadTree.getUpdateData();
-                if (result.errors.length > 100) throw '您导入的数据存在大量数据错误,请您仔细检查';
+                // if (result.errors.length > 100) throw '您导入的数据存在大量数据错误,请您仔细检查';
 
                 const stageBills = await this.getLastestStageData2(this.ctx.tender.id, this.ctx.stage.id);
                 const updateStageBills = [], insertStageBills = [];