@@ -1306,7 +1306,7 @@ module.exports = app => {
*/
async checkAudit(ctx) {
try {
- if (!ctx.material || (ctx.material.status !== auditConst.status.checking || ctx.material.status !== auditConst.status.checkNoPre)) {
+ if (!ctx.material || (ctx.material.status !== auditConst.status.checking && ctx.material.status !== auditConst.status.checkNoPre)) {
throw '当前材料调差期数据有误';
}
if (ctx.material.curAuditorIds.indexOf(ctx.session.sessionUser.accountId) < 0) {