邮寄列表table宽度

This commit is contained in:
姚亚男
2021-09-16 17:53:08 +08:00
parent 998c7634ee
commit 0a6cd5c314
+9 -2
View File
@@ -67,7 +67,7 @@
size="middle"
bordered
rowKey="id"
:scroll="{x:true}"
:scroll="{x: 1600}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
@@ -77,7 +77,12 @@
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text, record">
<div class="primary-color" v-html="text"></div>
<a-tooltip placement="top">
<template slot="title">
<span>{{text}}</span>
</template>
<span class="primary-color">{{text}}</span>
</a-tooltip>
</template>
<span slot="print" slot-scope="text, record" class="action-span-cell">
@@ -134,6 +139,8 @@ export default {
},
{
title: '来款项目',
width: 300,
ellipsis: true,
align: 'center',
dataIndex: 'projectName',
scopedSlots: {customRender: 'htmlSlot'}