落库并展示质检工单级结论(可编辑/任务派生),库位树支持批量新增子节点与货架格子检索,协议/捐赠列表补充接收与门禁质检摘要,并同步生产物料与工单卡片展示优化。 Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
790 B
Markdown
19 lines
790 B
Markdown
# 库位树批量新增子节点 Implementation Plan
|
||
|
||
> **For agentic workers:** 本计划已在同会话落地;保留作变更说明。
|
||
|
||
**Goal:** 库位管理左侧树支持按「前缀+序号+后缀」批量新增子节点。
|
||
|
||
**Architecture:** 后端新增 `batch_create_facilities` 与 `POST /storage-facilities/batch`;前端树节点「批+」打开弹窗,实时预览后一次提交。
|
||
|
||
**Tech Stack:** FastAPI + SQLAlchemy;Vue 3 + Element Plus
|
||
|
||
---
|
||
|
||
## 已完成
|
||
|
||
- [x] 设计说明 `docs/superpowers/specs/2026-07-28-storage-facility-batch-children-design.md`
|
||
- [x] CRUD `batch_create_facilities`(上限 200、编号唯一、单事务)
|
||
- [x] API `POST /web/admin/storage-facilities/batch`
|
||
- [x] 前端 `fetchBatchCreateStorageFacilities` + 弹窗 + 树入口「批+」
|