From 74271d53bc7cb7b3c4eb906744c6aea36fc24673 Mon Sep 17 00:00:00 2001 From: yueli Date: Mon, 31 Aug 2026 14:07:02 +0800 Subject: [PATCH] =?UTF-8?q?style(purchase):=20=E7=BB=9F=E4=B8=80=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=A1=8C=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CSS 固定主表格行高 52px,行内 line-height 20px - 状态列'待审批 N 项'改为单行 inline 显示(不再撑高) - 物品列加 white-space: nowrap 防止换行导致高度差异 --- inventory-web/src/views/purchase/index.vue | 31 +++++++++++++++------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/inventory-web/src/views/purchase/index.vue b/inventory-web/src/views/purchase/index.vue index 3458ccb..eb691d9 100644 --- a/inventory-web/src/views/purchase/index.vue +++ b/inventory-web/src/views/purchase/index.vue @@ -75,13 +75,15 @@ @@ -100,9 +102,9 @@ 混合 -
- 待审批 {{ row.pendingCount }} 项 -
+ + 待审{{ row.pendingCount }} +
@@ -1273,4 +1275,13 @@ onMounted(() => { :deep(.table-mini-uploader) .el-upload-list--picture-card .el-upload-list__item-actions { font-size: 14px; } + +/* ★ 统一列表行高:防止单/多物品、状态差异导致行高不一致 */ +:deep(.el-table .el-table__row > td) { + height: 52px; + line-height: 20px; +} +:deep(.el-table .el-table__row > td .cell) { + line-height: 20px; +}