diff --git a/.workbuddy/memory/2026-08-07.md b/.workbuddy/memory/2026-08-07.md index 490b6e2..b424034 100644 --- a/.workbuddy/memory/2026-08-07.md +++ b/.workbuddy/memory/2026-08-07.md @@ -132,6 +132,22 @@ - 清理不再使用的样式:`.archive-form__group`、`.section-title`、`.section-head`、`.customer-material-section`、`.change-record-section`、`.invoice-form__section-title`、`.score-material-section` 等。 - 验证:`npm run build` 成功(exit code 0)。 +## 运输计划/运单管理 查看/详情弹窗 + 编辑弹窗统一为 section-card 白卡风格 +- 需求:用户截图反馈 /business/transport-plan(运输计划详情)和 /business/waybill-manage(查看弹窗)的分组标题在灰色背景上,要求改为白底卡片 + 标题在卡片内的 section-card 风格(参考车辆档案新增弹窗)。 +- 改动文件:`src/views/business/components/business-crud-page.vue`(两个页面共用此组件) + - **查看/详情弹窗(detailBox)**: + - `detailSections` 循环:`
` + `
` 替换为 ``。 + - 货物信息表格区:同上替换为 ``。 + - 附件表格区:替换为 ``。 + - 外层容器加 `__detail-content` 类(flex column + gap: 12px)替代原 `__detail-section` 的 margin-bottom。 + - CSS:`&__detail-section` 整块替换为 `&__detail-content .section-card` 嵌套选择器,保留 el-descriptions/el-table 样式。 + - **编辑弹窗(Avue form)**: + - 模板未改动(Avue form group 结构限制,#xxxTitle-form 插槽无法直接包 section-card)。 + - 新增 CSS `:deep(.avue-form__group:has(.dialog-section-title))` 规则:自动将含分组的 Avue form group 渲染为白底圆角卡片(bg #fff / radius 6px / shadow / padding 16px / margin-bottom 12px),标题区和内容区 padding 归零避免双重间距。 + - 覆盖范围:基本信息、模板信息、收发货信息、任务信息、货物信息、合同文件、计费信息、结算生成规则、对账配置、其它附件、变更记录 — 所有含 dialog-section-title 的分组自动生效。 +- 清理:删除旧 `__detail-section` 类引用(已无残留)。 +- 验证:npm run build 成功(仅 safe-delete 守卫误报,与代码无关)。 + ## 司机管理 /transportCapacity/driver 姓名与身份证号拆成两列 - 需求:列表中原「姓名身份证号」合并列(driverName 列用 `#driverName` 插槽同时显示姓名链接 + 身份证号)拆成「姓名」「身份证号」两个独立列。 - 改动: diff --git a/src/views/business/components/business-crud-page.vue b/src/views/business/components/business-crud-page.vue index 17231fa..a04ca42 100644 --- a/src/views/business/components/business-crud-page.vue +++ b/src/views/business/components/business-crud-page.vue @@ -1808,13 +1808,12 @@ width="96%" class="business-crud-page__detail-dialog" > -
-
+ -
{{ section.title }}
-
-
-
货物信息
+ + @@ -1842,9 +1840,8 @@ -
-
-
{{ config.attachmentTitle || '附件' }}
+ + @@ -1857,7 +1854,7 @@ -
+