docs: 统一修正全项目“SN管理”相关术语为“序列号”

本次 commit 统一修正了全项目范围内关于 SN 管理的术语表述,将原“SN管理”、“序列号件”、“批次件”等表述调整为“序列号”、“序列号=是”、“序列号=否”,同时同步更新了相关文档、代码注释、前端提示文本、数据库 schema 注释、API 文档等,确保全链路术语统一,消除理解歧义。
This commit is contained in:
SunYF
2026-10-10 15:58:59 +08:00
parent b032f47fc7
commit 8be6e03a15
335 changed files with 5742 additions and 1616 deletions
-7
View File
@@ -615,13 +615,6 @@ func (s *Service) buildAlarms(ctx context.Context, today time.Time) []AlarmItem
Status: "active",
})
}
if wh := s.buildWarehouse(ctx); wh.Available && wh.LockedQty > 0 {
items = append(items, AlarmItem{
ID: "stock-locked", Level: "warning", Type: "material",
Target: "库房", Message: "锁定库存 " + itoa(wh.LockedQty) + " 件待出库", Time: fmtDashboardTime(time.Now()),
Status: "active",
})
}
if len(items) == 0 {
items = []AlarmItem{}
}