2026-07-28-storage-facility-batch-children.md 790 B

库位树批量新增子节点 Implementation Plan

For agentic workers: 本计划已在同会话落地;保留作变更说明。

Goal: 库位管理左侧树支持按「前缀+序号+后缀」批量新增子节点。

Architecture: 后端新增 batch_create_facilities 与 POST /storage-facilities/batch;前端树节点「批+」打开弹窗,实时预览后一次提交。

Tech Stack: FastAPI + SQLAlchemy;Vue 3 + Element Plus


已完成

  • 设计说明 docs/superpowers/specs/2026-07-28-storage-facility-batch-children-design.md
  • CRUD batch_create_facilities(上限 200、编号唯一、单事务)
  • API POST /web/admin/storage-facilities/batch
  • 前端 fetchBatchCreateStorageFacilities + 弹窗 + 树入口「批+」