⚡ 优化表格工具栏、附件文件名展示与合同金额两位小数

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-13 12:44:40 +08:00
parent bc7755a160
commit 6955784e93
31 changed files with 967 additions and 344 deletions
+9 -6
View File
@@ -394,15 +394,18 @@
<el-table-column label="附件" min-width="120" align="center">
<template #default="{ row }">
<template v-if="parseAttachments(row.attachmentsJson).length">
<el-link
<span
v-for="(file, index) in parseAttachments(row.attachmentsJson)"
:key="index"
type="primary"
class="exception-disposal-page__attachment-link"
class="attachment-file-name exception-disposal-page__attachment-link"
role="button"
tabindex="0"
@click="previewAttachment(file, parseAttachments(row.attachmentsJson))"
>
{{ file.name || '附件' + (index + 1) }}
</el-link>
@keydown.enter="previewAttachment(file, parseAttachments(row.attachmentsJson))"
@keydown.space.prevent="
previewAttachment(file, parseAttachments(row.attachmentsJson))
"
>{{ file.name || '附件' + (index + 1) }}</span>
</template>
<span v-else>-</span>
</template>