Browse Source

备注编辑权限控制

laiguoran 3 năm trước cách đây
mục cha
commit
6d5c919719
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/public/js/change_plan_information.js

+ 1 - 1
app/public/js/change_plan_information.js

@@ -259,7 +259,7 @@ $(document).ready(() => {
                 return readOnly;
             },
             isEdit2: function (data) {
-                return change.status === auditConst.status.checked;
+                return !(!readOnly || change.shenpiPower);
             },
         },
     };