From c4ca347f0ef76ff11f6c5f237d22036916939094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B3=89=E4=BD=B3?= <1107186916@qq.com> Date: Mon, 5 Oct 2026 15:52:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=91=E8=9D=B6OFD=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=9F=AD=E8=B7=AF=E6=8F=90=E7=A4=BA=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=EF=BC=9B=E6=AD=A3=E5=BC=8F=E7=BB=93=E7=AE=97=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E4=BF=A1=E6=81=AF=E6=93=8D=E4=BD=9C=E5=88=97=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E6=9C=80=E5=8F=B3=E4=BE=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/vehicle-attachment-table/main.vue | 5 +++++ src/views/settlement/components/formal-settlement-editor.vue | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/vehicle-attachment-table/main.vue b/src/components/vehicle-attachment-table/main.vue index fc43c86..66bc248 100644 --- a/src/components/vehicle-attachment-table/main.vue +++ b/src/components/vehicle-attachment-table/main.vue @@ -360,6 +360,11 @@ export default { this.documentPreviewVisible = true; }, async previewKingdeeAttachment(row) { + // OFD 版式文件浏览器无法在线渲染,直接提示下载,避免拉流后预览失败 + if (this.attachmentExtension(row) === 'ofd') { + this.$message.warning('OFD 版式文件不支持在线预览,请使用下载获取后查看'); + return; + } if (this.kingdeeBusy) return; this.kingdeeBusy = true; try { diff --git a/src/views/settlement/components/formal-settlement-editor.vue b/src/views/settlement/components/formal-settlement-editor.vue index efb392b..3267168 100644 --- a/src/views/settlement/components/formal-settlement-editor.vue +++ b/src/views/settlement/components/formal-settlement-editor.vue @@ -417,7 +417,7 @@ {{ formatMoney(row.matchedAmount) }} - +