feat: 库存看板 BOM 标签页改为可下拉选择指定 BOM

- 看板 BOM 物料齐套标签页顶部新增「选择 BOM」下拉框: 默认"全部 BOM(总览)"列出所有 BOM,
  选中某棵则只看该 BOM 的组成物料与齐套状态
- 卡片加 data-bid, 切换下拉时纯前端过滤显示; 右侧显示"共 N 棵 / 已选 1/N 棵"计数
- 新增 .bom-filter 样式(下拉框与标签同行, 不撑满整行)
- 教程同步更新 BOM 看板章节
This commit is contained in:
2026-09-22 13:05:20 +08:00
parent 68b4831d8b
commit f2876b5a02
3 changed files with 33 additions and 3 deletions
+5
View File
@@ -73,6 +73,11 @@ button:hover, .btn:hover { filter: brightness(.96); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.card-head strong { font-size: 16px; }
/* BOM 看板: 下拉选择器 */
.bom-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bom-filter label { margin: 0; white-space: nowrap; }
.bom-filter select { width: auto; min-width: 260px; }
/* 批量导入窗口(模态) */
.modal-mask {
position: fixed; inset: 0; background: rgba(15,23,35,.5);