Files
KCGL/inventory-web
yueli 091847596e feat(stocktake): 欢迎页改为创建盘点任务表单
无活跃会话时不再只有一个孤零零的按钮,而是先配置再开始:

- 盘点模式:明盘 / 盲盘,默认明盘
- 盘点范围:全仓盘点 / 活跃库位抽盘

有活跃会话时表单隐藏,显示绿色「加入当前盘点」,提示语带出该会话的
模式与范围(如「盲盘 · 全仓盘点,已扫 12 件,发起人:韩善龙」)。
次要入口「开启新一轮盘点」改为展开配置表单,并在表单内提示
「开启新一轮会把当前进行中的盘点置为已结束(历史数据仍保留)」,
提交时仍走原有的 10 秒确认弹窗。

「活跃库位抽盘」选项置灰并注明原因:范围过滤尚未实现,此时若放开,
结束盘点会把抽盘范围外的全部库存批量标成盘亏。后端同样以 400 拦截,
前后端一致,避免绕过 UI 直接调接口。

activeSession 类型与 checkServerDraft 同步补上 mode / scope_type。
2026-09-11 13:28:53 +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.