Tony Kang 1 年之前
父節點
當前提交
04a925c25d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      web/building_saas/standard_interface/import/shandong_common.js

+ 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;