|
|
@@ -319,6 +319,7 @@ class BudgetFinal {
|
|
|
async _loadDeal(deal, stage) {
|
|
|
if (!deal || deal.length === 0) return;
|
|
|
|
|
|
+ this.final.contract = deal;
|
|
|
const helper = this.ctx.helper;
|
|
|
const treeData = await this.ctx.service.contractTree.getAllDataByCondition({ where: { id: deal, spid: this.ctx.subProject.id, contract_type: 1 } });
|
|
|
const contractData = await this.ctx.service.contract.getAllDataByCondition({ where: { id: deal, spid: this.ctx.subProject.id, contract_type: 1 } });
|