增加入库记录页面,同时修正三组入库的时间问题

This commit is contained in:
dxc
2026-02-05 14:30:11 +08:00
parent 10e53cab23
commit 0bc47d306d
12 changed files with 511 additions and 85 deletions

View File

@ -4,6 +4,8 @@ from .semi import inbound_semi_bp
from .base import inbound_base_bp
# 导入 product
from .product import inbound_product_bp
# ★ [新增] 导入 summary
from .inbound_summary import bp as inbound_summary_bp
inbound_bp = Blueprint('inbound', __name__)
@ -11,4 +13,7 @@ inbound_bp.register_blueprint(inbound_buy_bp, url_prefix='/buy')
inbound_bp.register_blueprint(inbound_semi_bp, url_prefix='/semi')
inbound_bp.register_blueprint(inbound_base_bp, url_prefix='/base')
# 挂载 product前缀改为 /product
inbound_bp.register_blueprint(inbound_product_bp, url_prefix='/product')
inbound_bp.register_blueprint(inbound_product_bp, url_prefix='/product')
# ★ [新增] 挂载 summary, url 变成 /api/v1/inbound/summary/list
inbound_bp.register_blueprint(inbound_summary_bp, url_prefix='/summary')