Tony Kang 1 năm trước cách đây
mục cha
commit
04a925c25d

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

@@ -186,6 +186,7 @@ INTERFACE_IMPORT = (() => {
         if (item._ProvisionalType == '3') {
           let sumVal = getValue(item, ['_Sum']);
           let priceVal = getValue(item, ['_Price']);
+          if ((+sumVal) < (+priceVal)) sumVal = priceVal;
           bill.fees = [{ fieldName: "common",tenderTotalFee:sumVal, tenderUnitFee: priceVal, totalFee: sumVal, unitFee: priceVal }];
           bill.calcBase = sumVal;
           bill.calcFlag = 1;