Explorar o código

权限控制补齐

laiguoran %!s(int64=3) %!d(string=hai) anos
pai
achega
04ae092758
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/js/material_list.js

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

@@ -599,7 +599,7 @@ $(document).ready(() => {
             // 是否本期添加的工料
             // return data.order === stage_order && !openMaterialChecklist;
             let flag = true;
-            if (type === 'del') {
+            if (type === 'del' || !editListPermission) {
                 flag = data.order === stage_order;
             }
             return flag;