fix: add stocktake and adjustment modules to role permission assignment UI
This commit is contained in:
@ -158,8 +158,9 @@ def create_app():
|
||||
from app.services.permission_service import PermissionService
|
||||
with app.app_context():
|
||||
PermissionService.init_audit_menu()
|
||||
PermissionService.init_stocktake_menus()
|
||||
except Exception as e:
|
||||
print(f"⚠️ 审计日志菜单初始化跳过: {e}")
|
||||
print(f"⚠️ 菜单初始化跳过: {e}")
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 2.10 注册盘盈盘亏管理模块 (Stock Adjustment)
|
||||
|
||||
Reference in New Issue
Block a user