fix: 金蝶OFD附件预览短路提示下载;正式结算发票信息操作列固定最右侧
This commit is contained in:
@@ -360,6 +360,11 @@ export default {
|
|||||||
this.documentPreviewVisible = true;
|
this.documentPreviewVisible = true;
|
||||||
},
|
},
|
||||||
async previewKingdeeAttachment(row) {
|
async previewKingdeeAttachment(row) {
|
||||||
|
// OFD 版式文件浏览器无法在线渲染,直接提示下载,避免拉流后预览失败
|
||||||
|
if (this.attachmentExtension(row) === 'ofd') {
|
||||||
|
this.$message.warning('OFD 版式文件不支持在线预览,请使用下载获取后查看');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.kingdeeBusy) return;
|
if (this.kingdeeBusy) return;
|
||||||
this.kingdeeBusy = true;
|
this.kingdeeBusy = true;
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -417,7 +417,7 @@
|
|||||||
<span v-else>{{ formatMoney(row.matchedAmount) }}</span>
|
<span v-else>{{ formatMoney(row.matchedAmount) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="220" align="center">
|
<el-table-column label="操作" width="220" fixed="right" align="center">
|
||||||
<template #default="{ row, $index }">
|
<template #default="{ row, $index }">
|
||||||
<div class="formal-editor__links">
|
<div class="formal-editor__links">
|
||||||
<el-link
|
<el-link
|
||||||
@@ -451,7 +451,7 @@
|
|||||||
<el-table-column prop="invoiceAmount" label="价税合计" min-width="130" align="center">
|
<el-table-column prop="invoiceAmount" label="价税合计" min-width="130" align="center">
|
||||||
<template #default="{ row }">{{ formatMoney(row.invoiceAmount) }}</template>
|
<template #default="{ row }">{{ formatMoney(row.invoiceAmount) }}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="160" align="center">
|
<el-table-column label="操作" width="160" fixed="right" align="center">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div class="formal-editor__links">
|
<div class="formal-editor__links">
|
||||||
<el-link type="primary" @click="viewIssuedInvoice(row)">查看</el-link>
|
<el-link type="primary" @click="viewIssuedInvoice(row)">查看</el-link>
|
||||||
|
|||||||
Reference in New Issue
Block a user