Explorar o código

期列表编辑功能

laiguoran %!s(int64=5) %!d(string=hai) anos
pai
achega
f854b63091
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/controller/measure_controller.js

+ 1 - 1
app/controller/measure_controller.js

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