feat(production-master-data): 新增工艺流程管理完整模块
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

- 添加工艺流程、流程卡工序的全套CRUD及复制接口
- 新增工艺流程列表页与流程卡详情页的路由和页面组件
- 补充产品、工序分类、工序子类的全量查询接口
- 优化弹窗表单组件,支持字段禁用与focus/blur/change事件回调
- 修复工序单元页面的国际化调用和权限配置问题
- 补充中英文多语言国际化文案
- 新增该模块的功能测试文档
This commit is contained in:
sheng
2026-06-04 17:07:15 +08:00
parent b6c362d906
commit 3f546564cc
15 changed files with 2071 additions and 36 deletions

View File

@@ -153,6 +153,80 @@
"setting_placeholder": "Preset setting configuration area",
"setting_tip": "Configure preset settings for this process unit here",
"import_tip": "Import function is under development"
},
"process_routing": {
"search": "Search",
"reset": "Reset",
"sort": "No.",
"code": "Routing Code",
"name": "Routing Name",
"category": "Category",
"product": "Product",
"remark": "Remark",
"creator": "Creator",
"create_time": "Created At",
"operation": "Actions",
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"set_process": "Set Process",
"copy": "Copy",
"enter_code": "Please enter routing code",
"enter_name": "Please enter routing name",
"enter_remark": "Please enter remark",
"select_category": "Please select a category",
"select_product": "Please select a product",
"remark_length": "Length must be 1-100 characters",
"add_title": "Add Process Routing",
"edit_title": "Edit Process Routing",
"cancel": "Cancel",
"confirm": "Confirm",
"tip": "Tip",
"confirm_delete": "Are you sure to delete this process routing?",
"confirm_copy": "Are you sure to copy this process routing?",
"operation_success": "Operation succeeded",
"validation_fail": "Validation failed",
"help": "Process routing defines the production flow and manages routing cards by linking multiple process steps in order to form a complete production route.",
"batch_bound_no_delete": "This routing is bound to a batch and cannot be deleted",
"card": {
"flow_info": "Flow Info",
"flow_name": "Flow Name",
"category": "Category",
"product": "Product",
"batch_bound": "Batch Bound",
"yes": "Yes",
"no": "No",
"sort": "No.",
"step_code": "Step Code",
"step_name": "Step Name",
"process_unit": "Process Unit",
"process_unit_name": "Process Unit Name",
"operation": "Actions",
"add_step": "Add",
"edit_step": "Edit Step",
"delete": "Delete",
"setting": "Settings",
"result_param": "Result Params",
"temperature": "Temperature Compensation",
"calculation_script": "Calculation Script",
"view_log": "View Log",
"enter_step_code": "Please enter step code",
"enter_step_name": "Please enter step name",
"select_process_unit": "Please select a process unit",
"pin_check": "Channel Detection",
"enable": "Enable",
"disable": "Disable",
"select_pin_check": "Please select channel detection status",
"confirm": "Confirm",
"cancel": "Cancel",
"tip": "Tip",
"confirm_delete": "Are you sure to delete this step?",
"operation_success": "Operation succeeded",
"length_1_100": "Length must be 1-100 characters",
"batch_bound_no_move": "Batch bound, cannot move",
"select_category": "Please select a category",
"log_operation_step": "Operation step: "
}
}
},
"material_model": {

View File

@@ -153,6 +153,80 @@
"setting_placeholder": "预设设定值配置区域",
"setting_tip": "在此配置工序单元的预设设定值",
"import_tip": "导入功能开发中"
},
"process_routing": {
"search": "查询",
"reset": "重置",
"sort": "序号",
"code": "工艺流程编码",
"name": "工艺流程名称",
"category": "流程类别",
"product": "关联产品",
"remark": "备注",
"creator": "创建人",
"create_time": "创建时间",
"operation": "操作",
"add": "新 增",
"edit": "编 辑",
"delete": "删 除",
"set_process": "设置工序",
"copy": "复 制",
"enter_code": "请输入工艺流程编码",
"enter_name": "请输入工艺流程名称",
"enter_remark": "请输入备注",
"select_category": "请选择流程类别",
"select_product": "请选择关联产品",
"remark_length": "长度在 1 到 100 个字符",
"add_title": "新增工艺流程",
"edit_title": "编辑工艺流程",
"cancel": "取消",
"confirm": "确定",
"tip": "提示",
"confirm_delete": "确定要删除该工艺流程吗?",
"confirm_copy": "确定要复制该工艺流程吗?",
"operation_success": "操作成功",
"validation_fail": "校验失败",
"help": "工艺流程用于设置生产工艺流程并管理流程卡,将多个工序单元有序串联形成完整的生产工艺路线。",
"batch_bound_no_delete": "该工艺流程已绑定批次,不可删除",
"card": {
"flow_info": "工艺信息",
"flow_name": "流程名称",
"category": "流程类别",
"product": "产品型号",
"batch_bound": "绑定批次",
"yes": "是",
"no": "否",
"sort": "序号",
"step_code": "工序编码",
"step_name": "工序名称",
"process_unit": "工序单元",
"process_unit_name": "工序单元名称",
"operation": "操作",
"add_step": "新 增",
"edit_step": "编辑工序",
"delete": "删 除",
"setting": "设定值",
"result_param": "结果参数",
"temperature": "温度补偿",
"calculation_script": "计算脚本",
"view_log": "查看日志",
"enter_step_code": "请输入工序编码",
"enter_step_name": "请输入工序名称",
"select_process_unit": "请选择工序单元",
"pin_check": "通道检测",
"enable": "启用",
"disable": "禁用",
"select_pin_check": "请选择通道检测状态",
"confirm": "确定",
"cancel": "取消",
"tip": "提示",
"confirm_delete": "确定要删除该工序吗?",
"operation_success": "操作成功",
"length_1_100": "长度在 1 到 100 个字符",
"batch_bound_no_move": "已绑定批次,不可移动",
"select_category": "请选择流程类别",
"log_operation_step": "操作工序:"
}
}
},
"material_model": {