|
@@ -495,7 +495,7 @@ module.exports = app => {
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
- if (this._checkFieldsExist(fields, preFields.concat(endFields, finalFields))) {
|
|
|
+ if (this._checkFieldsExist(fields, billsFields.stageEnd)) {
|
|
|
const preStage = this.ctx.stage.order > 1 ? await this.ctx.service.stageBillsFinal.getFinalData(this.ctx.tender, this.ctx.stage.order - 1) : [];
|
|
|
this.ctx.helper.assignRelaData(billsData, [
|
|
|
{data: preStage, fields: ['contract_qty', 'contract_tp', 'qc_qty', 'qc_tp'], prefix: 'pre_', relaId: 'lid'}
|