feat: 益选 OCR 订单处理系统初始提交
- 智能供应商识别(蓉城易购/烟草/杨碧月/通用) - 百度 OCR 表格识别集成 - 规则引擎(列映射/数据清洗/单位转换/规格推断) - 条码映射管理与云端同步(Gitea REST API) - 云端同步支持:条码映射、供应商配置、商品资料、采购模板 - 拖拽一键处理(图片→OCR→Excel→合并) - 191 个单元测试 - 移除无用的模板管理功能 - 清理 IDE 产物目录 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Changelog
|
||||
|
||||
## [v2.2.0] - 2026-03-31
|
||||
### Added
|
||||
- **UI Simplification**: Removed dedicated buttons for Rongcheng and Tobacco; all Excel orders now use the intelligent auto-routing.
|
||||
- **Enhanced Yang Biyue Support**: Fixed column mapping for Yang Biyue orders, ensuring standard fields (Barcode, Quantity, Price) are correctly extracted.
|
||||
- **Headless API Auto-Detect**: `headless_api.py` now automatically distinguishes between Image (OCR) and Excel (Direct) inputs based on file extension.
|
||||
|
||||
### Fixed
|
||||
- **Yang Biyue Preprocessing**: Resolved issue where data was empty due to incorrect column renaming.
|
||||
- **Interference Filtering**: Added logic to exclude distractor columns like "Settlement Unit" or "Base Quantity" during preprocessing.
|
||||
|
||||
### Removed
|
||||
- **Redundant Files**: Cleaned up `run.py`, `clean.py`, and unused CLI modules.
|
||||
- **Legacy UI Elements**: Removed tobacco-specific keyboard shortcuts and help entries.
|
||||
|
||||
## [v2.1.0] - 2026-03-30
|
||||
### Added
|
||||
- **Intelligent Recognition**: Automated fingerprinting for Rongcheng Yigou, Tobacco, and Yang Biyue orders.
|
||||
- **Auto-Routing**: `OrderService.process_excel` now automatically handles preprocessing without explicit flags.
|
||||
- **Headless API Enhancements**: `headless_api.py` updated to support the new intelligent recognition mode.
|
||||
- **Comprehensive Documentation**: Added `OPENCLAW_GUIDE.md` and `FINAL_UPDATE_REPORT.md`.
|
||||
|
||||
### Fixed
|
||||
- **Rongcheng Yigou**: Fixed barcode splitting issue where quantities were incorrectly distributed (30 to 5).
|
||||
- **Tobacco Orders**: Corrected unit price calculation (divided by 10) and quantity calculation (multiplied by 10).
|
||||
- **Identification Failure**: Fixed issue where `header=0` caused identification keywords at the very first row to be missed.
|
||||
|
||||
## [v2.0.0] - 2026-03-25
|
||||
### Added
|
||||
- **Headless API**: First release of `headless_api.py` for OpenClaw integration.
|
||||
- **Price Validation**: Integration with PosPal item data for unit price auditing.
|
||||
- **Asynchronous Logging**: GUI now uses a queue for log output to prevent UI freezing.
|
||||
|
||||
## [v1.1.0] - 2026-03-10
|
||||
### Added
|
||||
- **Rongcheng Yigou Support**: Initial support for Rongcheng Excel templates.
|
||||
- **Tobacco Support**: Initial support for Tobacco Excel templates.
|
||||
- **Excel Processor**: Refactored core processing logic into `ExcelProcessor`.
|
||||
Reference in New Issue
Block a user