فهرست منبع

报表数据源,合同管理数据问题

MaiXinRong 3 ماه پیش
والد
کامیت
3243893337
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      app/service/report_memory.js

+ 4 - 3
app/service/report_memory.js

@@ -1726,15 +1726,16 @@ module.exports = app => {
 
         async getSpContractTree(tid, contract_type) {
             await this.ctx.service.tender.checkTender(tid);
-            await this._getContractTree({ spid: this.ctx.tender.data.spid, contract_type });
+            console.log(this.ctx.tender);
+            await this._getContractTree({ spid: this.ctx.tender.spid, contract_type });
         }
         async getSpContract(tid, contract_type) {
             await this.ctx.service.tender.checkTender(tid);
-            return await this._getContract({ spid: this.ctx.tender.data.spid, contract_type });
+            return await this._getContract({ spid: this.ctx.tender.spid, contract_type });
         }
         async getSpContractPay(tid, contract_type) {
             await this.ctx.service.tender.checkTender(tid);
-            return await this._getContractPay({ spid: this.ctx.tender.data.spid, contract_type });
+            return await this._getContractPay({ spid: this.ctx.tender.spid, contract_type });
         }
     }