Explorar o código

修复新建bug

laiguoran %!s(int64=2) %!d(string=hai) anos
pai
achega
19f9ca2e83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,