Explorar el Código

同步基本信息库key

zhongzewei hace 6 años
padre
commit
45e7889dfe

+ 2 - 2
web/building_saas/main/js/models/exportStandardInterface.js

@@ -184,7 +184,7 @@ const XMLStandard = (function () {
                 {name: '审核人', value: _util.getValueByKey(source.basicInformation, 'auditUnitAuditor')},
                 {name: '开工日期', value: _util.getValueByKey(source.basicInformation, 'commencementDate'), type: _config.TYPE.DATE},
                 {name: '竣工日期', value: _util.getValueByKey(source.basicInformation, 'completionDate'), type: _config.TYPE.DATE},
-                {name: '编制日期', value: _util.getValueByKey(source.basicInformation, 'essentialEstablishDate'), type: _config.TYPE.DATE, required: true},
+                {name: '编制日期', value: _util.getValueByKey(source.basicInformation, 'establishDate'), type: _config.TYPE.DATE, required: true},
                 {name: '审核日期', value: _util.getValueByKey(source.basicInformation, 'auditDate'), type: _config.TYPE.DATE},
                 {name: '材料价格期', value: _util.getValueByKey(source.basicInformation, 'materialPricePeriod'), required: true},
                 {name: '合同价类型', value: _util.getValueByKey(source.basicInformation, 'contractPriceType')},
@@ -197,7 +197,7 @@ const XMLStandard = (function () {
             //控制总价: 如果文件类型是“控制价”,则导出建设项目的工程造价;如果是“招标”、“投标”,则取0
             let attrs = [
                 {name: '招标代理机构', value: _util.getValueByKey(source.basicInformation, 'agency')},
-                {name: '造价工程师', value: _util.getValueByKey(source.basicInformation, 'tenderingCostEngineer'), required: true},
+                {name: '造价工程师', value: _util.getValueByKey(source.basicInformation, 'tenderCostEngineer'), required: true},
                 {name: '造价工程师注册证号', value: _util.getValueByKey(source.basicInformation, 'tenderingRegistrationCertificateNumber'), required: true},
                 {name: '招标工期', value: _util.getValueByKey(source.basicInformation, 'tenderingPeriod'), required: true, type: _config.TYPE.INT},
                 {name: '控制总价', value: exportKind === _config.EXPORT_KIND.Control ? source.summaryInfo.engineeringCost : '0',

+ 2 - 2
web/building_saas/main/js/models/importStandardInterface.js

@@ -272,13 +272,13 @@ const ImportXML = (() => {
                 info.push({key: 'auditUnitAuditor', value: getValue(projInfoSrc, ['_审核人'])});
                 info.push({key: 'commencementDate', value: getValue(projInfoSrc, ['_开工日期'])});
                 info.push({key: 'completionDate', value: getValue(projInfoSrc, ['_竣工日期'])});
-                info.push({key: 'essentialEstablishDate', value: getValue(projInfoSrc, ['_编制日期'])});
+                info.push({key: 'establishDate', value: getValue(projInfoSrc, ['_编制日期'])});
                 info.push({key: 'auditDate', value: getValue(projInfoSrc, ['_审核日期'])});
                 info.push({key: 'materialPricePeriod', value: getValue(projInfoSrc, ['_材料价格期'])});
                 info.push({key: 'contractPriceType', value: getValue(projInfoSrc, ['_合同价类型'])});
                 //招标信息
                 info.push({key: 'agency', value: getValue(projInfoSrc, ['招标信息', '_招标代理机构'])});
-                info.push({key: 'tenderingCostEngineer', value: getValue(projInfoSrc, ['招标信息', '_造价工程师'])});
+                info.push({key: 'tenderCostEngineer', value: getValue(projInfoSrc, ['招标信息', '_造价工程师'])});
                 info.push({key: 'tenderingRegistrationCertificateNumber', value: getValue(projInfoSrc, ['招标信息', '_造价工程师注册证号'])});
                 info.push({key: 'tenderingPeriod', value: getValue(projInfoSrc, ['招标信息', '_招标工期'])});
                 info.push({key: 'engineeringCost', value: getValue(projInfoSrc, ['招标信息', '_控制总价'])});