소스 검색

fix: 中山接口 CostForHSE 等字段补0

zhangweicheng 4 년 전
부모
커밋
b4a7d92777
1개의 변경된 파일13개의 추가작업 그리고 2개의 파일을 삭제
  1. 13 2
      web/building_saas/standard_interface/export/guangdong_zhongshan.js

+ 13 - 2
web/building_saas/standard_interface/export/guangdong_zhongshan.js

@@ -1099,7 +1099,7 @@ INTERFACE_EXPORT = (() => {
             },
             {
               name: "QtyFormula",
-              value: data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : ""//data.calcBase //data.calcBase ? cbParser.toFExpr(data.calcBase, tenderProject.mainTree.items) : "",
+              value: data.feesIndex && data.feesIndex.common ? data.feesIndex.common.tenderTotalFee : "",//data.calcBase //data.calcBase ? cbParser.toFExpr(data.calcBase, tenderProject.mainTree.items) : "",
             },
             {
               name: "Price",
@@ -1528,27 +1528,38 @@ INTERFACE_EXPORT = (() => {
       let attrs = [{
           name: "TenderSumLimit",
           value: totalItem.feesIndex && totalItem.feesIndex.common && totalItem.feesIndex.common.tenderTotalFee ? totalItem.feesIndex.common.tenderTotalFee : 0,
-          type: TYPE.DECIMAL
+          type: TYPE.DECIMAL,
+          toFix:2,
         },
         {
           name: "BidTotal",
           value: totalItem.feesIndex && totalItem.feesIndex.common && totalItem.feesIndex.common.tenderTotalFee ? totalItem.feesIndex.common.tenderTotalFee : 0,
+          type: TYPE.DECIMAL,
+          toFix:2,
         },
         {
           name: "BillTotal",
           value: oneToSevenItem.feesIndex && oneToSevenItem.feesIndex.common && oneToSevenItem.feesIndex.common.tenderTotalFee ? oneToSevenItem.feesIndex.common.tenderTotalFee : 0,
+          type: TYPE.DECIMAL,
+          toFix:2
         },
         {
           name: "CostForHSE",
           value: safeItem && safeItem.feesIndex && safeItem.feesIndex.common && safeItem.feesIndex.common.tenderTotalFee ? safeItem.feesIndex.common.tenderTotalFee : 0,
+          type: TYPE.DECIMAL,
+          toFix:2,
         },
         {
           name: "ProvisionalSums",
           value: proItem.feesIndex && proItem.feesIndex.common && proItem.feesIndex.common.tenderTotalFee ? proItem.feesIndex.common.tenderTotalFee : 0,
+          type: TYPE.DECIMAL,
+          toFix:2,
         },
         {
           name: "Appraisal",
           value: totalItem.feesIndex && totalItem.feesIndex.estimate && totalItem.feesIndex.estimate.tenderTotalFee ? totalItem.feesIndex.estimate.tenderTotalFee : 0,
+          type: TYPE.DECIMAL,
+          toFix:2,
         },
       ];
       if (isBidInvitation) {