feat(production-master-data): add 异常不良管理功能

1. 新增设备类别API接口封装
2. 新增异常不良管理的CRUD、导入导出API
3. 添加异常不良管理页面路由与多语言配置
4. 新增文件工具类支持Excel读写下载
5. 实现完整的异常不良管理页面与导入弹窗
6. 新增功能测试流程文档
7. 安装xlsx依赖支持Excel操作
This commit is contained in:
sheng
2026-06-02 14:05:15 +08:00
parent a0192d9567
commit ddc715e17c
11 changed files with 1140 additions and 5 deletions

View File

@@ -248,6 +248,60 @@
"help": "Unit is used to maintain material measurement units (e.g. piece, box, kg)"
}
},
"product_model": {
"product_ng_info": {
"search": "Search",
"reset": "Reset",
"device_category": "Device Category",
"select_device_category": "Please select device category",
"query_type": "Query Type",
"select_query_type": "Please select query type",
"type_error": "Error",
"type_ng": "NG",
"ng_code": "Error/NG Code",
"enter_ng_code": "Please enter error/NG code",
"ng_name": "Error/NG Name",
"enter_ng_name": "Please enter error/NG name",
"type": "Category",
"select_type": "Please select category",
"exception_ng_category": "Error/NG Category",
"remark": "Remark",
"enter_remark": "Please enter remark",
"remark_length": "Length 1 to 100 characters",
"operation": "Action",
"add": "Add",
"edit": "Edit",
"delete": "Delete",
"batch_delete": "Batch Delete",
"import": "Import",
"export": "Export",
"operation_success": "Operation succeeded",
"add_exception_ng_category": "Add Error/NG Category",
"edit_exception_ng_category": "Edit Error/NG Category",
"cancel": "Cancel",
"confirm": "Confirm",
"prompt": "Prompt",
"confirm_delete": "Are you sure to perform this operation?",
"confirm_batch_delete": "Are you sure to delete the selected categories?",
"please_select_data": "Please select data first",
"validation_fail": "Validation failed",
"export_confirm_tip": "Are you sure to export the current query results?",
"operation_cancelled": "Operation cancelled",
"create_download_task_success": "Export task created successfully",
"import_exception_ng_data": "Import Error/NG Data",
"import_file_format_tip": "Please import file in template format",
"import_table": "Import Table",
"select_file": "Select File",
"download_template": "Download Template",
"preview": "Preview",
"import_template_name": "Error/NG data import template",
"file_not_exist": "File does not exist",
"upload_format_error": "Upload file format error",
"file_column_missing": "File column missing: {title}",
"please_import_data": "Please import data first",
"help": "Error/NG management is used to maintain equipment error types and product NG types"
}
},
"product_management": {
"product_list": {
"search": "Search",

View File

@@ -248,6 +248,60 @@
"help": "计量单位用于维护物料所用单位如个、箱、kg"
}
},
"product_model": {
"product_ng_info": {
"search": "查询",
"reset": "重置",
"device_category": "设备类别",
"select_device_category": "请选择设备类别",
"query_type": "查询类型",
"select_query_type": "请选择查询类型",
"type_error": "异常",
"type_ng": "不良",
"ng_code": "异常不良编码",
"enter_ng_code": "请输入异常不良编码",
"ng_name": "异常不良名称",
"enter_ng_name": "请输入异常不良名称",
"type": "类别",
"select_type": "请选择类别",
"exception_ng_category": "异常不良类别",
"remark": "备注",
"enter_remark": "请输入备注",
"remark_length": "长度在1到100个字符",
"operation": "操作",
"add": "新 增",
"edit": "编 辑",
"delete": "删 除",
"batch_delete": "批量删除",
"import": "导 入",
"export": "导 出",
"operation_success": "操作成功",
"add_exception_ng_category": "新增异常不良类别",
"edit_exception_ng_category": "编辑异常不良类别",
"cancel": "取消",
"confirm": "确定",
"prompt": "提示",
"confirm_delete": "确定要执行该操作吗?",
"confirm_batch_delete": "确定要删除所选异常不良类别吗?",
"please_select_data": "请先选择数据",
"validation_fail": "校验失败",
"export_confirm_tip": "确定要导出当前查询结果吗?",
"operation_cancelled": "操作已取消",
"create_download_task_success": "创建导出任务成功",
"import_exception_ng_data": "导入异常不良数据",
"import_file_format_tip": "请按模板格式导入文件",
"import_table": "导入列表",
"select_file": "选择文件",
"download_template": "下载模板",
"preview": "预览",
"import_template_name": "异常不良数据导入模版",
"file_not_exist": "文件不存在",
"upload_format_error": "上传文件格式错误",
"file_column_missing": "文件列缺失: {title}",
"please_import_data": "请先导入数据",
"help": "异常不良管理用于维护设备的异常种类和产品的不良种类信息"
}
},
"product_management": {
"product_list": {
"search": "查询",