Browse Source

期列表编辑功能

laiguoran 5 years ago
parent
commit
f854b63091
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/measure_controller.js

+ 1 - 1
app/controller/measure_controller.js

@@ -140,7 +140,7 @@ module.exports = app => {
                 if (!stage) {
                 if (!stage) {
                     throw '提交数据错误';
                     throw '提交数据错误';
                 }
                 }
-                if (stage.status !== auditConst.status.uncheck) {
+                if (stage.status === auditConst.status.checked) {
                     throw '该计量期当前不可编辑';
                     throw '该计量期当前不可编辑';
                 }
                 }
                 if (ctx.session.sessionUser.accountId !== stage.user_id) {
                 if (ctx.session.sessionUser.accountId !== stage.user_id) {