feat: 补充仓储业务流程与前端交互

This commit is contained in:
zhouz
2026-11-09 09:09:46 +08:00
parent 29754c431c
commit 4bf554a886
57 changed files with 1205 additions and 132 deletions

View File

@@ -1,4 +1,6 @@
-- 出入库分配模式。standardAllocation 保持现有逻辑;trackSectionAllocation 启用双轨分段逻辑。
-- 出入库分配模式。
-- standardAllocation 保持现有逻辑;trackSectionAllocation 启用双轨分段逻辑;
-- smallColumnInLargeColumnOutAllocation 入库从小列号开始、出库固定从大列号侧取货。
INSERT INTO wms_warehouse_strategy_config
(id, strategy_code, strategy_name, strategy_type, class_type, param, remark,
is_used, ban, form_data, creator, create_time, updater, update_time, deleted)
@@ -16,3 +18,13 @@ SELECT 2079500000000000002, 'trackSectionAllocation', '双轨分段出入库', '
1, 1, NULL, '1', NOW(), '1', NOW(), 0
WHERE NOT EXISTS (SELECT 1 FROM wms_warehouse_strategy_config
WHERE strategy_code = 'trackSectionAllocation' AND deleted = 0);
INSERT INTO wms_warehouse_strategy_config
(id, strategy_code, strategy_name, strategy_type, class_type, param, remark,
is_used, ban, form_data, creator, create_time, updater, update_time, deleted)
SELECT 2079500000000000003, 'smallColumnInLargeColumnOutAllocation',
'小列入库大列出库', 'base', '1', '{}',
'单双通统一按同库区、同块、同排、同层隔离;入库优先小列号,出库固定从大列号侧取货',
1, 1, NULL, '1', NOW(), '1', NOW(), 0
WHERE NOT EXISTS (SELECT 1 FROM wms_warehouse_strategy_config
WHERE strategy_code = 'smallColumnInLargeColumnOutAllocation' AND deleted = 0);