|
@@ -532,7 +532,7 @@ class sumLoad {
|
|
|
{ data: importLid, fields: ['is_import'], prefix: '', relaId: 'lid' },
|
|
|
{ data: stageBills, fields: ['contract_qty', 'contract_tp', 'qc_qty', 'qc_tp'], prefix: '', relaId: 'lid' },
|
|
|
]);
|
|
|
- const pos = await this.ctx.service.pos.getData(this.ctx.tender.id);
|
|
|
+ const pos = await this.ctx.service.pos.getAllDataByCondition({ where: { tid: this.ctx.tender.id } });
|
|
|
this.loadTree.loadBase(posterity, pos);
|
|
|
|
|
|
for (const tender of tenders) {
|