fix:冲销入库

This commit is contained in:
zhaoyf
2026-11-23 19:28:46 +08:00
parent e6b97d6516
commit 2002124e88
10 changed files with 285 additions and 41 deletions

View File

@@ -0,0 +1,9 @@
-- SAP手工领料冲销入库重构:状态编辑、平库/货架入库由页面直接完成
-- 已存在字段无需重复执行;以下字段用于保留入库方式和实际库位信息,便于审计和追溯。
ALTER TABLE `sap_manual_picking`
ADD COLUMN `reverse_inbound_mode` varchar(10) DEFAULT NULL COMMENT '冲销入库方式:FLAT平库/SHELF货架' AFTER `reverse_by`,
ADD COLUMN `reverse_storagevehicle_code` varchar(64) DEFAULT NULL COMMENT '冲销入库托盘码' AFTER `reverse_inbound_mode`,
ADD COLUMN `reverse_struct_code` varchar(64) DEFAULT NULL COMMENT '冲销入库库位码' AFTER `reverse_storagevehicle_code`;
-- 平库配置约定:st_ivt_sectattr.sect_code = st_ivt_bsrealstorattr.stor_code,
-- 且每个仓库配置唯一的固定库位;st_ivt_structattr.storagevehicle_code 为永久绑定托盘。