Просмотр исходного кода

浙江投标接口调整,总价保留2位小数

Tony Kang 3 лет назад
Родитель
Сommit
9bb0d1d6ec

+ 2 - 1
web/building_saas/standard_interface/export/zhejiang_ninghai.js

@@ -253,7 +253,8 @@ INTERFACE_EXPORT = (() => {
           { name: '投标人法人或其授权人', value: getValueByKey(info, 'bidderAuthorizer') },
           { name: '投标人资质证号', value: getValueByKey(info, 'bidderCertNo') },
           { name: '总工期日历天', value: getValueByKey(info, 'timeLimit')},
-          { name: '投标总价', value: constructionSummary.totalCost, type: TYPE.DECIMAL },
+          //{ name: '投标总价', value: constructionSummary.totalCost, type: TYPE.DECIMAL },
+          { name: '投标总价', value: (constructionSummary.totalCost).toFixed(2) }, // 根据需求,固定写死2位小数,所以不设定Decimal,当string来看
           { name: '投标下浮率', value: getValueByKey(info, 'downwardFloatingRateOfBid') },
           { name: '投标报价说明', value: getValueByKey(info, 'descriptionOfTenderOffer') },
           { name: '质量承诺', value: getValueByKey(info, 'qualityCommitment') },

+ 2 - 1
web/building_saas/standard_interface/export/zhejiang_xiangshan.js

@@ -253,7 +253,8 @@ INTERFACE_EXPORT = (() => {
             { name: '投标人法人或其授权人', value: getValueByKey(info, 'bidderAuthorizer') },
             { name: '投标人资质证号', value: getValueByKey(info, 'bidderCertNo') },
             { name: '总工期日历天', value: getValueByKey(info, 'timeLimit')},
-            { name: '投标总价', value: constructionSummary.totalCost, type: TYPE.DECIMAL },
+            // { name: '投标总价', value: constructionSummary.totalCost, type: TYPE.DECIMAL },
+            { name: '投标总价', value: (constructionSummary.totalCost).toFixed(2) }, // 根据需求,固定写死2位小数,所以不设定Decimal,当string来看
             { name: '投标下浮率', value: getValueByKey(info, 'downwardFloatingRateOfBid') },
             { name: '投标报价说明', value: getValueByKey(info, 'descriptionOfTenderOffer') },
             { name: '质量承诺', value: getValueByKey(info, 'qualityCommitment') },