소스 검색

修复bug

ellisran 3 달 전
부모
커밋
c986852078
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/controller/cost_controller.js

+ 1 - 0
app/controller/cost_controller.js

@@ -1025,6 +1025,7 @@ module.exports = app => {
 
 
         async gather(ctx) {
         async gather(ctx) {
             try {
             try {
+                await this.checkDutyRela(ctx);
                 const ledgerStages = await this.getTypeStages(ctx, 'ledger', 'ASC');
                 const ledgerStages = await this.getTypeStages(ctx, 'ledger', 'ASC');
                 const renderData = {
                 const renderData = {
                     ledgerStages,
                     ledgerStages,