feat: initialize inventory profit and loss adjustment module
This commit is contained in:
@ -162,7 +162,17 @@ def create_app():
|
||||
print(f"⚠️ 审计日志菜单初始化跳过: {e}")
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 2.10 注册库位管理模块 (Warehouse)
|
||||
# 2.10 注册盘盈盘亏管理模块 (Stock Adjustment)
|
||||
# -----------------------------------------------------
|
||||
try:
|
||||
from app.api.v1.stock.adjustment import adjustment_bp
|
||||
app.register_blueprint(adjustment_bp, url_prefix='/api/v1/stock/adjustment')
|
||||
print("✅ Stock Adjustment 模块注册成功")
|
||||
except ImportError as e:
|
||||
print(f"❌ 错误: Stock Adjustment 模块导入失败: {e}")
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 2.11 注册库位管理模块 (Warehouse)
|
||||
# -----------------------------------------------------
|
||||
try:
|
||||
from app.api.v1.warehouse import warehouse_bp
|
||||
|
||||
Reference in New Issue
Block a user