Tony Kang %!s(int64=2) %!d(string=hai) anos
pai
achega
5cae641778

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

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