From 08ec2389a5739f6fbb75de76f05d0cf9e42a88cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Wed, 29 Jul 2026 17:00:34 +0800 Subject: [PATCH] =?UTF-8?q?style(cargo-type):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E8=A1=8C=E9=AB=98=E5=8F=8A=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将表格行高从32调整为22以增强紧凑感 - 注释掉表头和数据行的 padding 样式,暂时禁用加高效果 - 注释掉表格容器的高度自适应样式,避免布局异常 - 调整分页组件容器的内边距以优化视觉间距 --- .workbuddy/memory/2025-07-29.md | 3 +++ src/option/base/cargo-type.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .workbuddy/memory/2025-07-29.md diff --git a/.workbuddy/memory/2025-07-29.md b/.workbuddy/memory/2025-07-29.md new file mode 100644 index 0000000..729873c --- /dev/null +++ b/.workbuddy/memory/2025-07-29.md @@ -0,0 +1,3 @@ +## 2025-07-29 + +- 货物类型管理页面(cargo-type):搜索栏「类型」和「货物类型编码」字段 searchSpan 从 12 分别调整为 6 和 8,收窄 input 宽度使两字段在一排内紧凑展示 diff --git a/src/option/base/cargo-type.js b/src/option/base/cargo-type.js index 3dd24c8..aeea28a 100644 --- a/src/option/base/cargo-type.js +++ b/src/option/base/cargo-type.js @@ -57,7 +57,7 @@ export const getCargoTypeOption = ctx => ({ dataType: 'number', dicData: typeLevelDic, search: true, - searchSpan: 12, + searchSpan: 6, value: 2, span: 24, minWidth: 120, @@ -108,7 +108,7 @@ export const getCargoTypeOption = ctx => ({ prop: 'cargoCode', minWidth: 140, search: true, - searchSpan: 12, + searchSpan: 6, maxlength: 4, editDisabled: true, rules: [