feat(headless_api): 扩展条码映射功能,支持倍数、单价和规格配置

- 修改 update_barcode_mapping 函数,新增 multiplier、unit、price、spec 参数
- 支持特殊倍数处理(如箱转瓶)、固定单价和规格配置
- 更新命令行参数,增加 --multiplier、--unit、--price、--spec 选项
- 完善映射配置结构,支持多字段描述
- 同步更新 OPENCLAW_GUIDE.md 文档说明新功能
This commit is contained in:
2026-03-31 11:38:07 +08:00
parent 10ebe9240b
commit fefcfe4595
14 changed files with 1478 additions and 14 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

+5 -4
View File
@@ -2,9 +2,10 @@
"window_size": "900x600",
"theme_mode": "light",
"recent_files": [
"data/result\\采购单_预处理之后_订单1774849009841.xls",
"data/output\\预处理之后_订单1774849009841.xlsx",
"E:/2025Code/python/orc-order-v2/data/output/订单1774849009841.xlsx",
"data/output\\订单1774849009841.xlsx"
"data/result\\采购单_20260331-112747.xls",
"data/result\\采购单_20260331-112736.xls",
"E:\\2025Code\\python\\orc-order-v2\\data\\output\\20260331-112736.xlsx",
"E:/2025Code/python/orc-order-v2/data/output/20260331-112747.xlsx",
"E:\\2025Code\\python\\orc-order-v2\\data\\output\\20260331-112747.xlsx"
]
}