|
@@ -1114,7 +1114,7 @@ module.exports = app => {
|
|
|
// 计算该审批人最终数据
|
|
|
await this.ctx.service.stagePay.calcAllStagePays(this.ctx.stage, transaction);
|
|
|
// 复制一份最新数据给下一人
|
|
|
- await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, curAudit.order + 1, transaction);
|
|
|
+ await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, curAudit.order + 1, transaction, this.ctx.stage.times, this.ctx.stage.curOrder + 1);
|
|
|
await this.ctx.service.stageJgcl.updateHistory(this.ctx.stage, transaction);
|
|
|
await this.ctx.service.stageBonus.updateHistory(this.ctx.stage, transaction);
|
|
|
await this.ctx.service.stageOther.updateHistory(this.ctx.stage, transaction);
|
|
@@ -1197,7 +1197,7 @@ module.exports = app => {
|
|
|
// 计算该审批人最终数据
|
|
|
await this.ctx.service.stagePay.calcAllStagePays(this.ctx.stage, transaction);
|
|
|
// 复制一份最新数据给下一人
|
|
|
- await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, curAudit.order + 1, transaction);
|
|
|
+ await this.ctx.service.stagePay.copyAuditStagePays(this.ctx.stage, this.ctx.stage.times, curAudit.order + 1, transaction, this.ctx.stage.times, this.ctx.stage.curOrder + 1);
|
|
|
await this.ctx.service.stageJgcl.updateHistory(this.ctx.stage, transaction);
|
|
|
await this.ctx.service.stageBonus.updateHistory(this.ctx.stage, transaction);
|
|
|
await this.ctx.service.stageOther.updateHistory(this.ctx.stage, transaction);
|