feat(分拣批次卡): 补显效期,解释「为何先出这批」
- 背景:本系统 FIFO = **效期优先**(ORDER BY expiry_date ASC NULLS LAST, created_at ASC),不是先入库先出;界面原先不显示效期,用户无法理解排序
- 后端 listPickingOutboundBatches 增返 expiry_date
- Web 批次编辑行 + 小程序批次卡补显「效期 {expiry}」;rowMeta 三语同步
- 不改排序口径(库存冻结面);只多显示一个字段
- 验证:两端 tsc + 小程序 node --check 通过;前端全量仍基线(3 文件/4 例)
This commit is contained in:
@@ -1167,6 +1167,8 @@ export interface PickingOutboundBatches {
|
||||
storage_zone: string | null;
|
||||
inbound_date: string | null;
|
||||
production_date: string | null;
|
||||
/** 效期(分拣批次的**第一排序键**:效期优先);展示出来才能解释“为何先出这批” */
|
||||
expiry_date: string | null;
|
||||
}>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user