From 2806f9ce449b4a62af688be3575af091d0e8c1f7 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 9 Jun 2026 18:17:17 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=A8=A1=E5=85=B7=E7=BB=84-?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4-=E7=82=B9=E6=A3=80=E3=80=81=E4=BF=9D?= =?UTF-8?q?=E5=85=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 12 ++++- src/locales/zh-CN.ts | 12 ++++- .../erp/mold/components/MoldMaintainView.vue | 47 +++++++++++++------ .../components/TicketResultDialog.vue | 6 ++- 4 files changed, 60 insertions(+), 17 deletions(-) diff --git a/src/locales/en.ts b/src/locales/en.ts index 4c9e1ede..80776d1b 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -2592,7 +2592,17 @@ export default { placeholderReplaceNetRemark: 'Please input remark', moldInfo: 'Mold Info', maintainInfo: 'Maintain Info', - inspectionResult: 'Inspection Result' + inspectionResult: 'Inspection Result', + index: 'Index', + inspectionItemName: 'Inspection Item Name', + inspectionMethod: 'Inspection Method', + judgmentCriteria: 'Judgment Criteria', + pendingInspection: 'Pending', + pass: 'Pass', + notPass: 'Not Pass', + inputValue: 'Input Value', + noInspectionItems: 'No Inspection Items', + pleaseSelectProjectForm: 'Please Select Project Form' }, MoldBrandDetail: { diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 3d78c23a..9394ba29 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -2075,7 +2075,17 @@ export default { placeholderReplaceNetRemark: '请输入备注', moldInfo: '模具信息', maintainInfo: '维护信息', - inspectionResult: '检验结果' + inspectionResult: '检验结果', + index: '序号', + inspectionItemName: '检验项名称', + inspectionMethod: '检验方式', + judgmentCriteria: '判定基准', + pendingInspection: '待检测', + pass: '通过', + notPass: '不通过', + inputValue: '输入值', + noInspectionItems: '暂无检验项', + pleaseSelectProjectForm: '请选择项目表单' }, MoldBrandDetail: { diff --git a/src/views/erp/mold/components/MoldMaintainView.vue b/src/views/erp/mold/components/MoldMaintainView.vue index 97b82088..522343f0 100644 --- a/src/views/erp/mold/components/MoldMaintainView.vue +++ b/src/views/erp/mold/components/MoldMaintainView.vue @@ -99,10 +99,10 @@ type="primary" link :disabled="!ticketResultList.length" - @click="ticketResultEditable = !ticketResultEditable" + @click="handleTicketResultEditToggle" > - {{ ticketResultEditable ? '停止编辑' : '编辑' }} + {{ ticketResultEditable ? t('common.cancel') : t('action.edit') }} - - + + - - + + - + - + - + + + - + + +