Ver código fonte

修复新建bug

laiguoran 1 ano atrás
pai
commit
19f9ca2e83
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/service/payment_detail.js

+ 1 - 1
app/service/payment_detail.js

@@ -68,7 +68,7 @@ module.exports = app => {
                 }
                 const preDetail = await this.addCommomCheck(trInfo, code);
                 const rptTpl = await this.ctx.service.rptTpl.getDataById(trInfo.rpt_id);
-                const pageRst = this.ctx.service.jpcReport.getAllPreviewPagesCommon(rptTpl, 'A4');
+                const pageRst = await this.ctx.service.jpcReport.getAllPreviewPagesCommon(rptTpl, 'A4');
                 const newDetail = {
                     tender_id: this.ctx.paymentTender.id,
                     tr_id: trInfo.id,