## 后端 - outbound.py: 新增 POST /api/v1/outbound/bom-match-stock 端点 接收 child_ids[],服务端按 base_id IN 查询三表有库存记录并返回 ## 前端 - outbound.ts: 新增 bomMatchStock(childIds) API 函数 - Selection.vue: loadAllStockForBom (while(true) 全量) → loadStockForBom (单次 API) - borrow/apply/index.vue: 同上 ## 效果 - BOM 匹配从 ~90 次 HTTP 请求降为 1 次 - 浏览器内存从 ~18000 条降为 ~8-50 条
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.