Przeglądaj źródła

期列表编辑功能

laiguoran 5 lat temu
rodzic
commit
f854b63091
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {