Files
zkxw/docs/superpowers/plans/2026-07-28-storage-facility-batch-children.md
T
zlwuandCursor a3af039e74 feat: 质检工单结论、库位批量/筛选与协议样本接收质检摘要
落库并展示质检工单级结论(可编辑/任务派生),库位树支持批量新增子节点与货架格子检索,协议/捐赠列表补充接收与门禁质检摘要,并同步生产物料与工单卡片展示优化。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:46:24 +08:00

19 lines
790 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 库位树批量新增子节点 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` + 弹窗 + 树入口「批+」