fix: 金蝶OFD附件预览短路提示下载;正式结算发票信息操作列固定最右侧

This commit is contained in:
刘泉佳
2026-10-05 15:52:31 +08:00
parent b4ecc90470
commit c4ca347f0e
2 changed files with 7 additions and 2 deletions
@@ -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 {