Files
vexplor_dev/frontend/lib/registry/components/v2-process-work-standard/config.ts
kjs 199fa60ef5 feat: add BOM materials retrieval functionality
- Implemented a new API endpoint for retrieving BOM materials based on item codes, enhancing the ability to manage and view component materials.
- Added necessary SQL queries to fetch BOM details, ensuring that the data is filtered by company code for multi-tenancy support.
- Updated frontend components to integrate BOM materials fetching, allowing for better visibility and management of materials in the process workflow.

These changes aim to streamline the management of BOM materials, facilitating better tracking and organization within the application.
2026-03-20 13:46:30 +09:00

42 lines
1.4 KiB
TypeScript

/**
* 공정 작업기준 기본 설정
*/
import { ProcessWorkStandardConfig } from "./types";
export const defaultConfig: ProcessWorkStandardConfig = {
dataSource: {
itemTable: "item_info",
itemNameColumn: "item_name",
itemCodeColumn: "item_number",
routingVersionTable: "item_routing_version",
routingFkColumn: "item_code",
routingVersionNameColumn: "version_name",
routingDetailTable: "item_routing_detail",
processTable: "process_mng",
processNameColumn: "process_name",
processCodeColumn: "process_code",
},
phases: [
{ key: "PRE", label: "작업 전 (Pre-Work)", sortOrder: 1 },
{ key: "IN", label: "작업 중 (In-Work)", sortOrder: 2 },
{ key: "POST", label: "작업 후 (Post-Work)", sortOrder: 3 },
],
detailTypes: [
{ value: "checklist", label: "체크리스트" },
{ value: "inspection", label: "검사항목" },
{ value: "procedure", label: "작업절차" },
{ value: "input", label: "직접입력" },
{ value: "lookup", label: "문서참조" },
{ value: "equip_inspection", label: "설비점검" },
{ value: "equip_condition", label: "설비조건" },
{ value: "production_result", label: "실적등록" },
{ value: "material_input", label: "자재투입" },
],
splitRatio: 30,
leftPanelTitle: "품목 및 공정 선택",
readonly: false,
itemListMode: "all",
screenCode: "",
};