From c640b6f31023bfb47c03e354bdcf33f89ebd8298 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Fri, 28 Aug 2026 16:25:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20=E6=9B=B4=E6=96=B0=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E7=BB=84=E4=BB=B6=E7=9A=84=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E5=92=8C=E4=BC=98=E5=8C=96=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将供应商、零部件相关附件上传界面的按钮、标签、提示信息从英文翻译为中文 - 优化性能评估模板编号编辑权限控制,仅在新增或状态为未开始时允许修改 - 修复清除负责人时只清空账号未清空姓名导致数据显示残留的问题 - 隐藏零件列表中的转正和审批放行功能入口以符合当前业务流程 - 更新采购头部列表和供应商历史回复对话框标题的本地化文本 --- .../modules/srmPart/com_part_Attachments.vue | 44 +++++++++---------- .../modules/srmPart/com_part_Suppliers.vue | 6 +-- src/views/modules/srmPart/partInfoList.vue | 10 ++--- .../supplier/com_inquiry_Attachments.vue | 36 +++++++-------- src/views/modules/supplier/purHeaderList.vue | 24 +++++----- .../modules/supplier/supPurReplyHistList.vue | 2 +- .../myPerformanceEvaluateRequest.vue | 21 ++++++--- 7 files changed, 76 insertions(+), 67 deletions(-) diff --git a/src/views/modules/srmPart/com_part_Attachments.vue b/src/views/modules/srmPart/com_part_Attachments.vue index 17eade3..84521f6 100644 --- a/src/views/modules/srmPart/com_part_Attachments.vue +++ b/src/views/modules/srmPart/com_part_Attachments.vue @@ -4,7 +4,7 @@ - Upload + 上传 @@ -19,39 +19,39 @@ header-align="center" align="left" min-width="200" - label="File"> + label="文件"> + label="上传人"> + label="上传时间"> + label="操作"> - + @@ -64,12 +64,12 @@ multiple :auto-upload="false"> -
Drag files here, or click to upload
+
将文件拖到这里,或点击上传
- + @@ -77,8 +77,8 @@
- Confirm - Close + 确认 + 关闭
@@ -201,7 +201,7 @@ export default { // Stage files on dialog confirm handleUploadFiles() { if (this.fileList2.length === 0) { - this.$message.error('Please select file(s)'); + this.$message.error('请选择文件'); return; } this.stagedFileRemark = this.ossForm.remark || ''; @@ -219,7 +219,7 @@ export default { this.fileList2 = []; this.ossForm.remark = ''; this.ossVisible = false; - this.$message.success('Files staged'); + this.$message.success('文件已暂存'); }, @@ -283,7 +283,7 @@ export default { }); } else { this.$message({ - message: 'Unsupported file type', + message: '不支持的文件类型', type: 'warning' }); } @@ -367,21 +367,21 @@ submitData() { deleteFileReal(row) { if (!row || !row.id) return; - this.$confirm('Are you sure you want to delete this file?', 'Delete Confirmation', { - confirmButtonText: 'OK', - cancelButtonText: 'Cancel', + this.$confirm('确定要删除该文件吗?', '删除确认', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { removeOssFile([row.id]).then(({ data }) => { if (data && data.code === 0) { const idx = this.fileList.findIndex(f => f.id === row.id); if (idx !== -1) this.fileList.splice(idx, 1); - this.$message.success(data.msg || 'File deleted'); + this.$message.success(data.msg || '文件已删除'); } else { - this.$message.warning(data.msg || 'Delete failed'); + this.$message.warning(data.msg || '删除失败'); } }).catch(err => { - this.$message.error('Delete failed:' + (err.message || err)); + this.$message.error('删除失败:' + (err.message || err)); }); }).catch(() => { }); }, diff --git a/src/views/modules/srmPart/com_part_Suppliers.vue b/src/views/modules/srmPart/com_part_Suppliers.vue index 55d65af..4d2edaa 100644 --- a/src/views/modules/srmPart/com_part_Suppliers.vue +++ b/src/views/modules/srmPart/com_part_Suppliers.vue @@ -39,11 +39,11 @@ align="center" width="180" fixed="right" - label="Actions"> + label="操作"> diff --git a/src/views/modules/srmPart/partInfoList.vue b/src/views/modules/srmPart/partInfoList.vue index 29b0a41..5817fc5 100644 --- a/src/views/modules/srmPart/partInfoList.vue +++ b/src/views/modules/srmPart/partInfoList.vue @@ -88,11 +88,11 @@ header-align="center" align="center" width="200" - label="Action"> + label="操作">