ERP-node/frontend/lib/registry/components/rack-structure/config.ts

28 lines
554 B
TypeScript

/**
* 렉 구조 컴포넌트 기본 설정
*/
import { RackStructureComponentConfig } from "./types";
export const defaultConfig: RackStructureComponentConfig = {
// 기본 제한
maxConditions: 10,
maxRows: 99,
maxLevels: 20,
// 기본 코드 패턴
codePattern: "{warehouseCode}-{floor}{zone}-{row:02d}-{level}",
namePattern: "{zone}구역-{row:02d}열-{level}단",
// UI 설정
showTemplates: true,
showPreview: true,
showStatistics: true,
readonly: false,
// 초기 조건 없음
initialConditions: [],
};