소스 검색

fix:导入导出接口,项目起止桩号key变更

vian 5 년 전
부모
커밋
d4fbfc131b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      web/building_saas/standard_interface/export/anhui_maanshan.js
  2. 1 1
      web/building_saas/standard_interface/import/anhui_maanshan.js

+ 1 - 1
web/building_saas/standard_interface/export/anhui_maanshan.js

@@ -65,7 +65,7 @@ INTERFACE_EXPORT = (() => {
         { name: 'Xmmc', value: projectName }, // 项目名称
         { name: 'Bzlx', value: '清单' }, // 项目编制类型
         { name: 'Jjyj', value: '【18清单】2018部颁清单计价依据' }, // 计价依据
-        { name: 'Xmqzzh', value: getValueByKey(information, 'startAndChainages') }, // 项目起止桩号
+        { name: 'Xmqzzh', value: getValueByKey(information, 'startEndChainages') }, // 项目起止桩号
         { name: 'Jsdw', value: getValueByKey(information, 'constructingUnits') }, // 建设单位
         { name: 'Czzt', value: czzt[exportKind] }, // 操作状态:招标、投标、招标控制,即导出接口时,所选的文件类型
         { name: 'Jsfs', value: taxModeMap[getValueByKey(information, 'taxMode')] || '1', type: TYPE.INT }, // 计税方式,默认1。1=一般计税 2=简易计税

+ 1 - 1
web/building_saas/standard_interface/import/anhui_maanshan.js

@@ -31,7 +31,7 @@ INTERFACE_IMPORT = (() => {
       const info = [
         { key: 'projNum', value: getValue(projectSrc, ['_Xmbh']) },
         { key: 'projType', value: getValue(projectSrc, ['_Bzlx']) },
-        { key: 'startAndChainages', value: getValue(projectSrc, ['_Xmqzzh']) },
+        { key: 'startEndChainages', value: getValue(projectSrc, ['_Xmqzzh']) },
         { key: 'constructingUnits', value: getValue(projectSrc, ['_Jsdw']) },
         { key: 'taxMode', value: getValue(projectSrc, ['_Jsfs']) },
         { key: 'tendereeName', value: getValue(projectSrc, ['ZhaoBiaoXx', '_Zbr']) },