Преглед изворни кода

山东导入微调(QtyFormula==''不作为条件)

Tony Kang пре 2 година
родитељ
комит
a3bd6f668b
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      web/building_saas/standard_interface/import/shandong_common.js

+ 2 - 1
web/building_saas/standard_interface/import/shandong_common.js

@@ -152,7 +152,8 @@ INTERFACE_IMPORT = (() => {
           qtyFormula: item._QtyFormula,
           children: []
         }
-        if ((needClac || bill.name == "暂列金额(不含计日工总额)") && bill.qtyFormula && bill.qtyFormula !== '') {
+        // if ((needClac || bill.name == "暂列金额(不含计日工总额)") && bill.qtyFormula && bill.qtyFormula !== '') {
+        if ((needClac || bill.name == "暂列金额(不含计日工总额)") && bill.qtyFormula) {
           let formula = getValue(item, ['CostComposition', 'Formula', '_Formulas']);
           let ratio = getValue(item, ['CostComposition', 'Formula', '_Ratio']);
           if (formula !== undefined && formula !== null && formula !== '') {