ellisran 4 дней назад
Родитель
Сommit
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,