|
@@ -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',
|