|
@@ -242,6 +242,7 @@ class jhHelper {
|
|
|
];
|
|
|
for (const dc of gsDefine.defaultCompare) {
|
|
|
const auditor = auditors[dc];
|
|
|
+ if (!auditor) continue;
|
|
|
const auditorStage = await this.ctx.service.stageBills.getAuditorStageData(tender.id, stage.id, auditor.times, auditor.order);
|
|
|
loadData.push({ data: auditorStage, fields: this.billsQueryField, prefix: `r${dc}_`, relaId: 'lid' });
|
|
|
}
|
|
@@ -260,6 +261,7 @@ class jhHelper {
|
|
|
];
|
|
|
for (const dc of gsDefine.defaultCompare) {
|
|
|
const auditor = auditors[dc];
|
|
|
+ if (!auditor) continue;
|
|
|
const auditorStage = await this.ctx.service.stagePos.getAuditorStageData2(tender.id, stage.id, auditor.times, auditor.order);
|
|
|
loadData.push({ data: auditorStage, fields: ['qc_qty'], prefix: `r${dc}_`, relaId: 'pid' });
|
|
|
}
|