MaiXinRong преди 1 месец
родител
ревизия
4a91459fc0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/service/report_memory.js

+ 1 - 1
app/service/report_memory.js

@@ -1751,7 +1751,7 @@ module.exports = app => {
             await this.ctx.service.phasePay.checkStageRelaPhasePay(tid, sid);
 
             if (!this.ctx.stageRelaPhasePay) return [];
-            const data = this.ctx.service.phasePayDetail.getDetailData(this.ctx.stageRelaPhasePay);
+            const data = await this.ctx.service.phasePayDetail.getDetailData(this.ctx.stageRelaPhasePay);
             const payTree = new Ledger.baseTree(this.ctx, {
                 id: 'tree_id', pid: 'tree_pid', order: 'tree_order',
                 level: 'tree_level', isLeaf: 'tree_is_leaf', fullPath: 'tree_full_path',