fix
This commit is contained in:
@@ -109,14 +109,16 @@
|
|||||||
<el-icon><List /></el-icon>
|
<el-icon><List /></el-icon>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="purchaseNo" label="申请单编号" min-width="150" show-overflow-tooltip>
|
<el-table-column prop="purchaseNo" label="申请单编号" min-width="180">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-icon><DocumentCopy /></el-icon>
|
<el-icon><DocumentCopy /></el-icon>
|
||||||
<span style="margin-left: 4px">申请单编号</span>
|
<span style="margin-left: 4px">申请单编号</span>
|
||||||
</template>
|
</template>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="purchase-no-cell">
|
<div class="purchase-no-cell">
|
||||||
<span>{{ scope.row.purchaseNo }}</span>
|
<el-tooltip :content="scope.row.purchaseNo" placement="top" :show-after="0" v-if="scope.row.purchaseNo">
|
||||||
|
<span class="purchase-no-text">{{ scope.row.purchaseNo }}</span>
|
||||||
|
</el-tooltip>
|
||||||
<el-button v-if="scope.row.purchaseNo" type="primary" link size="small" class="copy-btn" @click.stop="copyToClipboard(scope.row.purchaseNo)">
|
<el-button v-if="scope.row.purchaseNo" type="primary" link size="small" class="copy-btn" @click.stop="copyToClipboard(scope.row.purchaseNo)">
|
||||||
<el-icon><CopyDocument /></el-icon>
|
<el-icon><CopyDocument /></el-icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -306,7 +308,7 @@
|
|||||||
@refresh="getDataList" />
|
@refresh="getDataList" />
|
||||||
|
|
||||||
<!-- 履约验收弹窗 -->
|
<!-- 履约验收弹窗 -->
|
||||||
<PurchasingAcceptModal ref="acceptModalRef" @refresh="getDataList" />
|
<PurchasingAcceptModal ref="acceptModalRef" />
|
||||||
|
|
||||||
<!-- 查看审批过程(申请单审批 / 文件审批) -->
|
<!-- 查看审批过程(申请单审批 / 文件审批) -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@@ -322,7 +324,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 实施采购:iframe 嵌入 implement.vue,供列表与流程页面使用 -->
|
<!-- 实施采购:iframe 嵌入 implement.vue,供列表与流程页面使用 -->
|
||||||
<ImplementForm ref="implementFormRef" @refresh="getDataList" />
|
<ImplementForm ref="implementFormRef" />
|
||||||
|
|
||||||
<!-- 文件归档弹窗 -->
|
<!-- 文件归档弹窗 -->
|
||||||
<FileArchiveDialog ref="fileArchiveDialogRef" />
|
<FileArchiveDialog ref="fileArchiveDialogRef" />
|
||||||
@@ -1010,13 +1012,15 @@ onMounted(() => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
|
||||||
.copy-btn {
|
.purchase-no-text {
|
||||||
opacity: 0;
|
overflow: hidden;
|
||||||
transition: opacity 0.2s;
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
max-width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .copy-btn {
|
.copy-btn {
|
||||||
opacity: 1;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user