|
@@ -906,7 +906,9 @@ module.exports = app => {
|
|
|
*/
|
|
|
async checkAuditAgain(ctx) {
|
|
|
try {
|
|
|
- this._checkStageCanModify(ctx);
|
|
|
+ if (ctx.stage.revising) {
|
|
|
+ throw '台账修订中,请勿修改提交期数据';
|
|
|
+ }
|
|
|
|
|
|
if (ctx.stage.auditors[ctx.stage.auditors.length - 1].aid === ctx.session.sessionUser.accountId && ctx.stage.status === auditConst.status.checked && ctx.stage.order === ctx.stage.highOrder) {
|
|
|
await ctx.service.stageAudit.checkAgain(ctx.stage.id, ctx.stage.times);
|