Files
KCGL/inventory-web
yueli 709aeefeda feat(stocktake): 活跃天数可编辑(默认 90 天)并补充勾选提示
- 把写死的 30 天改为响应式 recommendDays(默认 90,范围 1~365),
  界面上是一个 el-input-number;【获取推荐】按 ?days=<recommendDays>&top_n=<N>
  动态传参,不再固定 30。
- 推荐条数默认由 50 调整为 10(与「前 N 个」的实际使用节奏一致)。
- el-tree 上方加一行灰色小字提示:
  「💡 提示:勾选父级货架,将自动涵盖其下属的所有末级库位及库存。」
  对应已确认的决策——保持 el-tree 原生级联、后端精确匹配,
  勾父节点时其全部子孙 full_path 都会进入提交范围,故提示属实。

已确认的两项决策(本轮无代码改动,记录备查):
- 不使用 check-strictly,保留原生级联;右侧计数已足以提示规模
- 后端保持精确匹配,不做前缀匹配
2026-09-11 14:29:13 +08:00
..
2026-01-28 17:44:39 +08:00
2026-01-26 13:47:53 +08:00
2026-01-26 13:47:53 +08:00
2026-01-26 13:47:53 +08:00
2026-01-26 13:47:53 +08:00

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.