feat:模具台账模块

master
黄伟杰 5 days ago
parent 36d5abcf10
commit 5bff23dafa

@ -989,6 +989,78 @@ export default {
validatorNameRequired: 'Component name is required',
confirmDeleteContent: 'Confirm delete component [{name}]?'
},
moldLedger: {
moduleName: 'Mold Ledger',
subTitle: 'Mold ledger management',
detailTitle: 'Mold Detail',
basicInfo: 'Mold Basic Info',
moldPlaceholder: 'Mold',
moldName: 'Mold Name',
product: 'Product',
moldCode: 'Mold Code',
status: 'Status',
versionSpec: 'Version/Spec',
cavityCount: 'Cavity Count',
currentDevice: 'Current Device',
useCount: 'Use Count',
expand: 'Expand',
collapse: 'Collapse',
tabChildMold: 'Sub-molds',
tabInspection: 'Inspection',
tabRepair: 'Repair',
tabMaintenance: 'Maintenance',
tabInstall: 'Installation',
installLocation: 'Install Location',
material: 'Material',
quantity: 'Quantity',
lastReplace: 'Last Replace',
usedDays: 'Used {days} days',
remark: 'Remark',
noChildMold: 'No sub-mold data',
noInspection: 'No inspection records',
noRepair: 'No repair records',
noMaintenance: 'No maintenance records',
noInstall: 'No installation records',
inspectionMethod: 'Inspection Method',
criteria: 'Criteria',
inspectionTime: 'Inspection Time',
maintainMethod: 'Maintenance Method',
maintainTime: 'Maintenance Time',
repairProject: 'Repair Project',
projectContent: 'Project Content',
finishTime: 'Finish Time',
operateMold: 'Mold',
operator: 'Operator',
time: 'Time',
upperMold: 'Mount',
lowerMold: 'Dismount',
missingBrandId: 'Missing mold brand ID',
detailLoadFailed: 'Failed to load detail',
childLoadFailed: 'Failed to load sub-molds',
inspectionLoadFailed: 'Failed to load inspection records',
repairLoadFailed: 'Failed to load repair records',
maintainLoadFailed: 'Failed to load maintenance records',
installLoadFailed: 'Failed to load installation records',
resultPending: 'Pending',
resultPass: 'Pass',
resultWarning: 'Warning',
repairCompleted: 'Completed',
repairAbnormal: 'Abnormal',
repairProcessing: 'Processing',
searchPlaceholder: 'Enter mold code or name',
allStatus: 'All',
selectMoldStatus: 'Select Mold Status',
clear: 'Clear',
name: 'Name',
createTime: 'Created At',
confirmDeleteContent: 'Confirm delete mold brand "{name}"?',
empty: 'No mold ledger data',
scanUnrecognized: 'Unrecognized QR code',
scanFormatError: 'Invalid QR code format',
scanFailed: 'Scan failed',
noIdView: 'Missing ID, cannot view details',
noIdDelete: 'Missing ID, cannot delete'
},
moldRepair: {
moduleName: 'Mold Repair',
createTitle: 'Create Mold Repair',

@ -122,7 +122,9 @@ const literalMap = {
'设备点检记录': 'equipmentInspectionRecord.moduleName',
'设备点检记录详情': 'equipmentInspectionRecord.detailTitle',
'点检记录': 'moldWorkOrder.moduleName',
'点检记录详情': 'moldWorkOrder.detailTitle'
'点检记录详情': 'moldWorkOrder.detailTitle',
'模具台账': 'moldLedger.moduleName',
'模具详情': 'moldLedger.detailTitle'
}
export function getCurrentLocale() {

@ -992,6 +992,78 @@ export default {
validatorNameRequired: '关键件名称不能为空',
confirmDeleteContent: '确认删除关键件【{name}】吗?'
},
moldLedger: {
moduleName: '模具台账',
subTitle: '模具台账管理',
detailTitle: '模具详情',
basicInfo: '模具基本信息',
moldPlaceholder: '模具',
moldName: '模具名称',
product: '产品',
moldCode: '模具编号',
status: '状态',
versionSpec: '版本/规格',
cavityCount: '模穴数',
currentDevice: '当前设备',
useCount: '使用次数',
expand: '展开',
collapse: '收起',
tabChildMold: '子模具',
tabInspection: '点检记录',
tabRepair: '维修记录',
tabMaintenance: '保养记录',
tabInstall: '安装记录',
installLocation: '安装位置',
material: '材质',
quantity: '数量',
lastReplace: '上次更换',
usedDays: '已使用{days}天',
remark: '备注',
noChildMold: '暂无子模具数据',
noInspection: '暂无点检记录',
noRepair: '暂无维修记录',
noMaintenance: '暂无保养记录',
noInstall: '暂无安装记录',
inspectionMethod: '点检方式',
criteria: '判定标准',
inspectionTime: '点检时间',
maintainMethod: '保养方式',
maintainTime: '保养时间',
repairProject: '维修项目',
projectContent: '项目内容',
finishTime: '完成时间',
operateMold: '模具',
operator: '操作人',
time: '时间',
upperMold: '上模',
lowerMold: '下模',
missingBrandId: '缺少模具组ID',
detailLoadFailed: '详情加载失败',
childLoadFailed: '子模具加载失败',
inspectionLoadFailed: '点检记录加载失败',
repairLoadFailed: '维修记录加载失败',
maintainLoadFailed: '保养记录加载失败',
installLoadFailed: '安装记录加载失败',
resultPending: '待处理',
resultPass: '合格',
resultWarning: '警告',
repairCompleted: '完成',
repairAbnormal: '异常',
repairProcessing: '处理中',
searchPlaceholder: '请输入模具组编码或名称',
allStatus: '全部',
selectMoldStatus: '选择模具状态',
clear: '清空',
name: '名称',
createTime: '创建时间',
confirmDeleteContent: '确认删除模具组"{name}"吗?',
empty: '暂无模具台账数据',
scanUnrecognized: '无法识别二维码',
scanFormatError: '二维码格式不正确',
scanFailed: '扫描失败',
noIdView: '缺少ID无法查看详情',
noIdDelete: '缺少ID无法删除'
},
moldRepair: {
moduleName: '模具维修',
createTitle: '新增模具维修',

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -13,6 +13,7 @@ export enum DICT_TYPE {
VALUE_TYPES = "value_types",
JOB_STATUS = "job_status",
MES_TASK_STATUS = "mes_task_status",
SUBMOLD_TYPE = "submold_type",
}
type DictItem = {

Loading…
Cancel
Save