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

+ 1 - 1
app/controller/ledger_controller.js

@@ -52,7 +52,7 @@ module.exports = app => {
          */
         _ledgerReadOnly() {
             const tender = this.ctx.tender.data;
-            return tender.user_id === this.ctx.session.sessionUser.accountId &&
+            return tender.user_id !== this.ctx.session.sessionUser.accountId &&
                 (tender.ledger_status === auditConst.status.checking || tender.ledger_status === auditConst.status.checked);
         }