Browse Source

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

zhangweicheng 2 năm trước cách đây
mục cha
commit
dd45347985
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,