From 75be48c3b0833988040c4099b4e8fff03f8fa116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E6=98=8A?= <15984991+wwh2328692301@user.noreply.gitee.com> Date: Sun, 17 May 2026 02:24:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(crm/contract/detail):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=90=88=E5=90=8C=E8=AF=A6=E6=83=85=E9=A1=B5=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E4=BA=A4=E4=BA=92=E4=B8=8E=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 调整状态列宽度并修复选项值绑定语法 2. 重构操作列样式与保存按钮样式 3. 替换客户表格选中逻辑,改为行点击直接选中 4. 移除冗余的客户表格操作列,添加行悬停高亮样式 --- .../src/views/crm/contract/detail/index.vue | 68 ++++++++++++++----- 1 file changed, 52 insertions(+), 16 deletions(-) diff --git a/klp-ui/src/views/crm/contract/detail/index.vue b/klp-ui/src/views/crm/contract/detail/index.vue index 5c302d6e..bf2fbf04 100644 --- a/klp-ui/src/views/crm/contract/detail/index.vue +++ b/klp-ui/src/views/crm/contract/detail/index.vue @@ -313,13 +313,13 @@ - + @@ -338,9 +338,16 @@ - + @@ -388,7 +395,8 @@ size="small" border highlight-current-row - @current-change="handleCustomerCurrentChange" + row-class-name="customer-selectable-row" + @row-click="handleCustomerRowClick" style="width: 100%" max-height="360" > @@ -397,11 +405,6 @@ - - -
td { + background-color: #e6f7ff !important; +} + +::v-deep .el-table__body tr.customer-selectable-row.current-row > td { + background-color: #b3e0ff !important; +} + /* 筛选结果数量显示 */ .result-count { margin-left: auto;