From 5c8cefdb6904afbd59382a8636671aaa3c74fef5 Mon Sep 17 00:00:00 2001 From: dxc Date: Mon, 9 Feb 2026 16:18:50 +0800 Subject: [PATCH] feat: implement adaptive layout with internal scrolling for outbound selection Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) --- .../src/views/outbound/Selection.vue | 55 ++++++++++++++++--- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/inventory-web/src/views/outbound/Selection.vue b/inventory-web/src/views/outbound/Selection.vue index bcee42b..a5cd086 100644 --- a/inventory-web/src/views/outbound/Selection.vue +++ b/inventory-web/src/views/outbound/Selection.vue @@ -59,15 +59,16 @@ :closable="false" /> - +
+ @@ -92,6 +93,7 @@ +
{ width: 100%; max-width: 400px; } + +.app-container { + height: 100vh; + overflow: hidden; + display: flex; + flex-direction: column; + padding: 20px; + margin: 0; + box-sizing: border-box; +} + +.app-container .el-card { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; +} + +::v-deep(.el-card__body) { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; +} + +.table-wrapper { + flex: 1; + overflow: auto; +} + +/* 对话框内部滚动 */ +::v-deep(.el-dialog__body) { + max-height: 70vh; + overflow-y: auto; +}