Преглед изворни кода

fix: 导出广联达砂浆缺少组成物问题

zhangweicheng пре 2 година
родитељ
комит
dd45347985
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      web/over_write/js/chongqing_2018_export.js

+ 1 - 1
web/over_write/js/chongqing_2018_export.js

@@ -2132,7 +2132,7 @@ const XMLStandard = (function () {
                         ratioData = detail.projectGLJ.datas.mixRatioMap[connectKey];
                     if (ratioData && Array.isArray(ratioData)) {
                         for (let ratio of ratioData) {
-                            let pGLJ = detail.projectGLJ.datas.gljList.find(d => d.original_code === ratio.code);
+                            let pGLJ = detail.projectGLJ.datas.gljList.find(d => d.code === ratio.code);
                             if (pGLJ) {
                                 let gljRatio = new GljRatio({
                                     code: pGLJ.code,