From 7645b97200a8b79b07f82783b5e2acbd760ebe22 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 10 Dec 2025 14:57:21 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-10=20pda=E7=89=A9=E6=96=99=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/other-inout/otherInboundDetail.vue | 4 ++-- src/views/modules/other-inout/otherOutboundDetail.vue | 4 ++-- .../modules/production-pick/productionPickingDetail.vue | 4 ++-- src/views/modules/production/productionInboundStorage.vue | 6 +++--- src/views/modules/purchase-inbound/inboundStorage.vue | 6 +++--- src/views/modules/purchase-return/purchaseReturnDetail.vue | 4 ++-- src/views/modules/sales-return/salesReturnStorage.vue | 4 ++-- src/views/modules/sales/salesOutboundDetail.vue | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/modules/other-inout/otherInboundDetail.vue b/src/views/modules/other-inout/otherInboundDetail.vue index bae8fb4..7302d1e 100644 --- a/src/views/modules/other-inout/otherInboundDetail.vue +++ b/src/views/modules/other-inout/otherInboundDetail.vue @@ -1434,9 +1434,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; } diff --git a/src/views/modules/other-inout/otherOutboundDetail.vue b/src/views/modules/other-inout/otherOutboundDetail.vue index 49376a6..9293e7d 100644 --- a/src/views/modules/other-inout/otherOutboundDetail.vue +++ b/src/views/modules/other-inout/otherOutboundDetail.vue @@ -991,9 +991,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; } diff --git a/src/views/modules/production-pick/productionPickingDetail.vue b/src/views/modules/production-pick/productionPickingDetail.vue index e81e667..e910739 100644 --- a/src/views/modules/production-pick/productionPickingDetail.vue +++ b/src/views/modules/production-pick/productionPickingDetail.vue @@ -1038,9 +1038,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; } diff --git a/src/views/modules/production/productionInboundStorage.vue b/src/views/modules/production/productionInboundStorage.vue index abf5bb1..f9d3843 100644 --- a/src/views/modules/production/productionInboundStorage.vue +++ b/src/views/modules/production/productionInboundStorage.vue @@ -1431,7 +1431,8 @@ export default { } .stock-table { - width: 100%; + min-width: 500px; + width: max-content; } .stock-table .table-header { @@ -1448,8 +1449,7 @@ export default { } .stock-table .table-body { - max-height: 400px; - overflow-y: auto; + /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { diff --git a/src/views/modules/purchase-inbound/inboundStorage.vue b/src/views/modules/purchase-inbound/inboundStorage.vue index 4202346..afd27cd 100644 --- a/src/views/modules/purchase-inbound/inboundStorage.vue +++ b/src/views/modules/purchase-inbound/inboundStorage.vue @@ -1581,7 +1581,8 @@ export default { } .stock-table { - width: 100%; + min-width: 500px; + width: max-content; } .stock-table .table-header { @@ -1598,8 +1599,7 @@ export default { } .stock-table .table-body { - max-height: 400px; - overflow-y: auto; + /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { diff --git a/src/views/modules/purchase-return/purchaseReturnDetail.vue b/src/views/modules/purchase-return/purchaseReturnDetail.vue index f527ac4..0424315 100644 --- a/src/views/modules/purchase-return/purchaseReturnDetail.vue +++ b/src/views/modules/purchase-return/purchaseReturnDetail.vue @@ -1046,9 +1046,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; } diff --git a/src/views/modules/sales-return/salesReturnStorage.vue b/src/views/modules/sales-return/salesReturnStorage.vue index 1c0e194..fe18704 100644 --- a/src/views/modules/sales-return/salesReturnStorage.vue +++ b/src/views/modules/sales-return/salesReturnStorage.vue @@ -1330,9 +1330,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; z-index: 1; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; font-size: 12px; } diff --git a/src/views/modules/sales/salesOutboundDetail.vue b/src/views/modules/sales/salesOutboundDetail.vue index 35a80f9..9641b2d 100644 --- a/src/views/modules/sales/salesOutboundDetail.vue +++ b/src/views/modules/sales/salesOutboundDetail.vue @@ -1109,9 +1109,9 @@ export default { .stock-modal { background: white; border-radius: 12px; width: 100%; max-width: 800px; max-height: 80vh; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); overflow: hidden; display: flex; flex-direction: column; } .stock-modal .modal-header { background: #17B3A3; color: white; padding: 5px 16px; display: flex; justify-content: space-between; align-items: center; min-height: 28px; } .stock-modal .modal-body { flex: 1; overflow: auto; padding: 0; } -.stock-table { width: 100%; } +.stock-table { min-width: 500px; width: max-content; } .stock-table .table-header { display: flex; background: #f8f9fa; padding: 10px 6px; border-bottom: 2px solid #17B3A3; font-size: 12px; color: #333; font-weight: 600; position: sticky; top: 0; } -.stock-table .table-body { max-height: 400px; overflow-y: auto; } +.stock-table .table-body { /* 垂直滚动由modal-body处理 */ } .stock-table .table-row { display: flex; padding: 10px 6px; border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #333; } .stock-table .table-row:hover { background-color: #f8f9fa; } .stock-table .col-roll-no { flex: 1.5; text-align: center; min-width: 100px; }