From 4ef0342708910d02453fdcfae2148eadbf6d7004 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期三, 05 六月 2024 11:34:21 +0800 Subject: [PATCH] 1、设备综合效率分析页面表格列属性ellipsis开启后内容若超出盒子宽度则出现与表头错位现象,而无法实现ellipsis开启后内容超出单元格则省略功能,现采取增加列宽度方式且关闭ellipsis属性功能方法解决问题 2、设备综合效率分析页面调整计算表格垂直滚动条方法以试图解决项目服务器上无法正常显示水平滚动条问题 --- src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementDetailList.vue | 30 ++++++++++++++---------------- 1 files changed, 14 insertions(+), 16 deletions(-) diff --git a/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementDetailList.vue b/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementDetailList.vue index cf79f71..7d10f26 100644 --- a/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementDetailList.vue +++ b/src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementDetailList.vue @@ -15,7 +15,7 @@ size='middle' bordered rowKey='id' - :scroll='{x:true}' + :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" :columns='columns' :dataSource='dataSource' :pagination='ipagination' @@ -147,55 +147,53 @@ title: '澶囦欢缂栫爜', align: 'center', dataIndex: 'spareNum', - width: 150, }, { title: '澶囦欢鍚嶇О', align: 'center', dataIndex: 'spareName', - width: 150, + }, { title: '瑙勬牸', align: 'center', dataIndex: 'specification', - width: 130, + }, { title: '鍨嬪彿', align: 'center', dataIndex: 'model', - width: 150, + }, { - title: '涓诲崟浣�', + title: '鍗曚綅', align: 'center', dataIndex: 'mainUnitIdName', - width: 100, + }, { - title: '涓绘暟閲�', + title: '鏁伴噺', align: 'center', dataIndex: 'mainQuantity', - width: 100, + }, - { + /* { title: '杈呮暟閲�', align: 'center', dataIndex: 'auxiliaryQuantity', - width: 100, - }, - { + + }, */ + /* { title: '杈呭崟浣�', align: 'center', dataIndex: 'auxiliaryUnitIdName', - width: 100, - }, + + }, */ { title: '闇�姹傛棩鏈�', align: 'center', dataIndex: 'requirementTime', - width: 100, }, ], url: { -- Gitblit v1.9.3