소스 검색

Merge branch 'master' of http://192.168.1.41:3000/maixinrong/Calculation

laiguoran 5 년 전
부모
커밋
bccffcd0d2
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/controller/report_controller.js
  2. BIN
      app/public/files/template/ledger/导入工程量清单EXCEL格式.xls

+ 2 - 2
app/controller/report_controller.js

@@ -650,11 +650,11 @@ async function getMultiRptsCommon(ctx, params, outputType, baseDir) {
             const dftOption = params.option || JV.PAGING_OPTION_NORMAL;
 
             printCom.initialize(rptTpl);
-            const customDefine = await ctx.service.rptCustomDefine.getDataByCondition({
+            const cdDefine = await ctx.service.rptCustomDefine.getDataByCondition({
                 tid: params.tender_id, sid: params.stage_id, rid: params.rpt_tpl_id
             });
             // console.log(rptTpl);
-            printCom.analyzeData(ctx.helper, rptTpl, tplData, defProperties, dftOption, outputType, customDefine);
+            printCom.analyzeData(ctx.helper, rptTpl, tplData, defProperties, dftOption, outputType, cdDefine);
             const maxPages = printCom.totalPages;
             let pageRst = null;
             // console.log(maxPages);

BIN
app/public/files/template/ledger/导入工程量清单EXCEL格式.xls