diff --git a/src/locales/en-US.js b/src/locales/en-US.js index f0fbc80..89dcbf1 100644 --- a/src/locales/en-US.js +++ b/src/locales/en-US.js @@ -1101,7 +1101,10 @@ export default { inspectionResultPending: 'Pending', maxUploadCount: 'Max 3 images', selectAllDecisionError: 'Please select all inspection results', - currentMoldInfo: 'Current Mold Info', + currentMoldInfo: 'Mold Info', + moldGroupCode: 'Mold Group Code', + moldGroupName: 'Mold Group Name', + cavityCount: 'Cavity Count', moldSize: 'Mold Size', currentDevice: 'Current Device', selectMold: 'Select Mold', diff --git a/src/locales/zh-CN.js b/src/locales/zh-CN.js index 05e7e21..55b3315 100644 --- a/src/locales/zh-CN.js +++ b/src/locales/zh-CN.js @@ -1104,7 +1104,10 @@ export default { inspectionResultPending: '待判定', maxUploadCount: '最多上传3张图片', selectAllDecisionError: '请选择所有点检项的判定结果', - currentMoldInfo: '当前模具信息', + currentMoldInfo: '模具信息', + moldGroupCode: '模具组编码', + moldGroupName: '模具组名称', + cavityCount: '模穴数', moldSize: '模具尺寸', currentDevice: '当前设备', selectMold: '选择模具', diff --git a/src/pages_function/pages/moldCheck/add.vue b/src/pages_function/pages/moldCheck/add.vue index 0042257..0ba8050 100644 --- a/src/pages_function/pages/moldCheck/add.vue +++ b/src/pages_function/pages/moldCheck/add.vue @@ -12,36 +12,43 @@ {{ t('moldCheck.currentMoldInfo') }} - - - {{ t('moldCheck.moldCode') }} - {{ moldInfo.code || '-' }} - - - {{ t('moldCheck.moldName') }} - {{ moldInfo.name || '-' }} - - - {{ t('moldCheck.product') }} - {{ moldInfo.productName || '-' }} - - - {{ t('moldCheck.moldSize') }} - {{ moldInfo.moldSize || '-' }} - - - {{ t('moldCheck.status') }} - {{ moldInfo.statusLabel || '-' }} - - - {{ t('moldCheck.currentDevice') }} - {{ moldInfo.currentDevice || '-' }} + + {{ t('moldCheck.selectMold') }}* + + + {{ moldInfo.id ? (moldInfo.name || moldInfo.code || '-') : t('moldCheck.selectMold') }} + {{ moldInfo.code || t('moldCheck.reSelectMold') }} + + - - * - {{ moldInfo.id ? t('moldCheck.reSelectMold') : t('moldCheck.selectMold') }} - + + + + {{ t('moldCheck.moldGroupCode') }} + {{ moldInfo.code || '-' }} + + + {{ t('moldCheck.moldGroupName') }} + {{ moldInfo.name || '-' }} + + + {{ t('moldCheck.cavityCount') }} + {{ moldInfo.moldSize || '-' }} + + + {{ t('moldCheck.product') }} + {{ moldInfo.productName || '-' }} + + + {{ t('moldCheck.status') }} + {{ moldInfo.statusLabel || '-' }} + + + {{ t('moldCheck.currentDevice') }} + {{ moldInfo.currentDevice || '-' }} + + @@ -54,7 +61,7 @@ {{ t('moldCheck.taskInfo') }} - *{{ t('moldCheck.taskName') }} + {{ t('moldCheck.taskName') }}* - *{{ t('moldCheck.templateSelection') }} + {{ t('moldCheck.templateSelection') }}* {{ selectedTemplate?.planName || t('moldCheck.selectTemplate') }} @@ -76,17 +83,83 @@ {{ index + 1 }} - {{ textValue(item.subjectName) }} + {{ textValue(item.inspectionItemName || item.subjectName) }} + {{ t('moldCheck.requiredText') }} {{ t('moldCheck.inspectionMethod') }} - {{ textValue(item.inspectionMethod) }} + {{ inspectionMethodText(item.inspectionMethod) }} {{ t('moldCheck.judgmentCriteria') }} {{ textValue(item.judgmentCriteria) }} + + {{ t('moldCheck.textInput') }} + + + + + + {{ t('moldCheck.textInput') }} +