- Added new endpoints for managing registered items, including retrieval, registration, and batch registration. - Enhanced the existing processWorkStandardController to support filtering and additional columns in item queries. - Updated the processWorkStandardRoutes to include routes for registered items management. - Introduced a new documentation file detailing the design and structure of the POP 작업진행 관리 system. These changes aim to improve the management of registered items within the process work standard, enhancing usability and functionality. Made-with: Cursor
50 lines
1.7 KiB
TypeScript
50 lines
1.7 KiB
TypeScript
import { ItemRoutingConfig } from "./types";
|
|
|
|
export const defaultConfig: ItemRoutingConfig = {
|
|
dataSource: {
|
|
itemTable: "item_info",
|
|
itemNameColumn: "item_name",
|
|
itemCodeColumn: "item_number",
|
|
routingVersionTable: "item_routing_version",
|
|
routingVersionFkColumn: "item_code",
|
|
routingVersionNameColumn: "version_name",
|
|
routingDetailTable: "item_routing_detail",
|
|
routingDetailFkColumn: "routing_version_id",
|
|
processTable: "process_mng",
|
|
processNameColumn: "process_name",
|
|
processCodeColumn: "process_code",
|
|
},
|
|
modals: {
|
|
versionAddScreenId: 1613,
|
|
processAddScreenId: 1614,
|
|
processEditScreenId: 1615,
|
|
},
|
|
processColumns: [
|
|
{ name: "seq_no", label: "순서", width: 60, align: "center" },
|
|
{ name: "process_code", label: "공정코드", width: 120 },
|
|
{ name: "work_type", label: "작업유형", width: 100 },
|
|
{ name: "standard_time", label: "표준시간(분)", width: 100, align: "right" },
|
|
{ name: "is_required", label: "필수여부", width: 80, align: "center" },
|
|
{ name: "is_fixed_order", label: "순서고정", width: 80, align: "center" },
|
|
{ name: "outsource_supplier", label: "외주업체", width: 120 },
|
|
],
|
|
splitRatio: 40,
|
|
leftPanelTitle: "품목 목록",
|
|
rightPanelTitle: "공정 순서",
|
|
readonly: false,
|
|
autoSelectFirstVersion: true,
|
|
versionAddButtonText: "+ 라우팅 버전 추가",
|
|
processAddButtonText: "+ 공정 추가",
|
|
itemListMode: "all",
|
|
screenCode: "",
|
|
itemDisplayColumns: [
|
|
{ name: "item_name", label: "품명" },
|
|
{ name: "item_code", label: "품번", width: 100 },
|
|
],
|
|
modalDisplayColumns: [
|
|
{ name: "item_name", label: "품명" },
|
|
{ name: "item_code", label: "품번", width: 100 },
|
|
],
|
|
itemFilterConditions: [],
|
|
};
|