From fa493f943c6488caca8cd783c627fef0b1b0c225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 26 Nov 2025 13:14:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8F=91=E8=B4=A7=E5=8D=95=E6=98=8E?= =?UTF-8?q?=E7=BB=86):=20=E9=87=8D=E6=9E=84=E9=92=A2=E5=8D=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=BB=84=E4=BB=B6=E5=B9=B6=E4=BC=98=E5=8C=96=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E8=87=AA=E5=8A=A8=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将钢卷选择器重构为独立组件,支持触发器模式和外部控制模式 - 添加自动填充表单功能,选中钢卷后自动填充相关字段 - 优化表单布局,移除冗余字段和校验规则 - 增强钢卷选择器的交互和样式,支持显示选中钢卷信息 --- klp-ui/src/components/CoilSelector/index.vue | 346 ++++++++++++++---- .../wms/delivery/componnets/detailTable.vue | 107 ++---- 2 files changed, 310 insertions(+), 143 deletions(-) diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index def9e066..98f98994 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -1,73 +1,64 @@ +::v-deep .el-table { + --el-table-row-hover-bg-color: var(--el-color-primary-light-9); +} + +::v-deep .el-table__row.current-row { + background-color: var(--el-color-primary-light-8) !important; +} + +.dialog-footer { + text-align: right; +} + +// 响应式调整 +@media (max-width: 768px) { + .selected-coil-info { + gap: 12px; + padding: 10px; + } + + .info-item { + flex: 1 1 calc(50% - 12px); + } +} + \ No newline at end of file diff --git a/klp-ui/src/views/wms/delivery/componnets/detailTable.vue b/klp-ui/src/views/wms/delivery/componnets/detailTable.vue index c62754f7..95073934 100644 --- a/klp-ui/src/views/wms/delivery/componnets/detailTable.vue +++ b/klp-ui/src/views/wms/delivery/componnets/detailTable.vue @@ -1,5 +1,5 @@