2026-10-28 11:14:17 +08:00

8 lines
560 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-07-10 操作日志
## 合同模板系统修复
- **问题**:测试下载合同时发现表头被覆盖、A列列宽未自适应
- **定位**:_find_header_and_data_rows 用 joined 拼接检测,章节标题行误判为表头行(data_row=6 覆盖了真表头);列宽扫描范围只覆盖表格区域
- **修复**:表头检测改为逐单元格查关键词+跳过章节标题行;列宽改为从第1行扫描
- **成果**:重启 gunicorn 后验证通过
- **提交**:aafa6e9,含 contract.py 重构+供应商绑定+模板管理全功能