Browse Source

施工图预算工程量清单显示问题

MaiXinRong 3 years ago
parent
commit
6af0c083f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/budget_controller.js

+ 1 - 1
app/controller/budget_controller.js

@@ -237,7 +237,7 @@ module.exports = app => {
         }
         async _getNeedGcl() {
             if (!this.ctx.params.btype) throw '参数错误';
-            const funRela = this.ctx.service.project.getFunRela(this.ctx.session.sessionProject.id);
+            const funRela = await this.ctx.service.project.getFunRela(this.ctx.session.sessionProject.id);
             return this.ctx.params.btype === 'yu' && !!funRela.needGcl;
         }