fix(bx): 限制报销申请和审批列表行高,避免费用项目撑满一屏。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
da8499bc92
commit
b49c99f1bd
3 files changed
+19
-3
No files matched your search
@@ -64,6 +64,20 @@
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* 报销申请 / 报销审批列表:行高最多 100px,费用项目等多行超出后裁切 */
|
||||
.page-container .reimburse-list-row-cap.el-table .el-table__body td.el-table__cell {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.page-container .reimburse-list-row-cap.el-table .el-table__body td.el-table__cell > .cell {
|
||||
box-sizing: border-box;
|
||||
max-height: 100px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.expense-items-line + .expense-items-line {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<ListTable
|
||||
ref="reimburseApplyTableRef"
|
||||
table-key="bx-reimburse-apply"
|
||||
class="list-table"
|
||||
class="list-table reimburse-list-row-cap"
|
||||
:height="tableHeight"
|
||||
:data="rows"
|
||||
v-loading="loading"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<div class="list-body list-wrap">
|
||||
<div ref="pendingTableWrapRef" class="table-scroll bx-list-table-wrap">
|
||||
<ListTable ref="pendingTableRef" :height="pendingTableHeight" table-key="bx-reimburse-approve"
|
||||
class="list-table"
|
||||
class="list-table reimburse-list-row-cap"
|
||||
:data="pendingRows"
|
||||
v-loading="pendingLoading"
|
||||
stripe
|
||||
@@ -95,6 +95,7 @@
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #header>
|
||||
<div class="col-header-with-filter">
|
||||
@@ -367,7 +368,7 @@
|
||||
<div class="list-body list-wrap">
|
||||
<div ref="approvedTableWrapRef" class="table-scroll bx-list-table-wrap">
|
||||
<ListTable ref="approvedTableRef" :height="approvedTableHeight" table-key="bx-reimburse-approve-2"
|
||||
class="list-table"
|
||||
class="list-table reimburse-list-row-cap"
|
||||
:data="approvedRows"
|
||||
v-loading="approvedLoading"
|
||||
stripe
|
||||
@@ -404,6 +405,7 @@
|
||||
min-width="120"
|
||||
align="center"
|
||||
header-align="center"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #header>
|
||||
<div class="col-header-with-filter">
|
||||
|
||||
Reference in new issue
Block a user