Files
klp-oa/klp-ui/src/views/micro/pages/tuozhi/config.js
2026-07-06 16:03:39 +08:00

41 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 脱脂工序集成页公共配置。
// 这里统一维护五个板块共用的逻辑库区保持库存、WIP、发货、品质口径一致。
// 脱脂工序主链路逻辑库区:
// 1. 脱脂原料库:脱脂工序入口原料
// 2. 脱脂成品库:脱脂工序产出成品
// 3. 罩式退火原料库:脱脂下游衔接库区
export const TUOZHI_WAREHOUSE_OPTIONS = [
{ value: '1988150545175736322', label: '脱脂原料库' },
{ value: '1988150586938421250', label: '脱脂成品库' },
{ value: '1988150648993148929', label: '罩式退火原料库' },
]
// 脱脂工序 WIP 直接复用现有 WMS 工序组件:
// - 脱脂工序、脱脂修复工序走 specialSplit 流程
// - 脱脂合卷走普通待办流程
export const TUOZHI_PROCESSING_TABS = [
{
title: '脱脂工序',
name: 'process',
label: '脱脂工序',
// 脱脂工序和修复工序都限定在脱脂主链路库区内操作。
tabs: TUOZHI_WAREHOUSE_OPTIONS,
useSpecialSplit: true,
},
{
title: '合卷',
name: 'merge',
label: '脱脂合卷',
// 合卷沿用待办单模式,不需要传入库区页签。
useSpecialSplit: false,
},
{
title: '脱脂修复',
name: 'repair',
label: '脱脂修复工序',
tabs: TUOZHI_WAREHOUSE_OPTIONS,
useSpecialSplit: true,
},
]