This commit is contained in:
侯欢 2025-05-02 18:17:24 +08:00
parent 131fff6a7d
commit b3cecda175
23 changed files with 131 additions and 10 deletions

View File

@ -1,3 +1,3 @@
{
"D:\\My Documents\\python\\orc-order-v2\\data\\output\\微信图片_20250227193150(1).xlsx": "D:\\My Documents\\python\\orc-order-v2\\data\\output\\采购单_微信图片_20250227193150(1).xls"
}

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:15
Active since: 2025-05-02 18:01:40

View File

@ -29,3 +29,11 @@
2025-05-02 17:40:08,402 - __main__ - INFO - Excel处理成功输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls
2025-05-02 17:42:15,227 - __main__ - INFO - 处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 17:42:15,838 - __main__ - INFO - Excel处理成功输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls
2025-05-02 17:57:41,817 - __main__ - INFO - 处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 17:57:42,390 - __main__ - INFO - Excel处理成功输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls
2025-05-02 18:00:56,509 - __main__ - INFO - 处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:00:57,127 - __main__ - ERROR - Excel处理失败
2025-05-02 18:01:27,765 - __main__ - INFO - 处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:28,275 - __main__ - ERROR - Excel处理失败
2025-05-02 18:01:40,472 - __main__ - INFO - 处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:41,097 - __main__ - ERROR - Excel处理失败

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:15
Active since: 2025-05-02 18:01:40

View File

@ -53,3 +53,19 @@
2025-05-02 17:42:15,794 - app.core.excel.converter - INFO - 标准单位转换: 件->瓶, 规格=1*15, 包装数量=15
2025-05-02 17:42:15,794 - app.core.excel.converter - INFO - 标准单位转换: 件->瓶, 规格=1*15, 包装数量=15
2025-05-02 17:42:15,794 - app.core.excel.converter - INFO - 标准单位转换: 件->瓶, 规格=1*15, 包装数量=15
2025-05-02 17:57:42,343 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,343 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-02 17:57:42,343 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,344 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-02 17:57:42,344 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,344 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-02 17:57:42,344 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,345 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-02 17:57:42,345 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,345 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 65.0 -> 4.333333333333333, 单位: 件 -> 瓶
2025-05-02 17:57:42,345 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,345 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 65.0 -> 4.333333333333333, 单位: 件 -> 瓶
2025-05-02 17:57:42,346 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,346 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 0 -> 0, 单位: 件 -> 瓶
2025-05-02 17:57:42,346 - app.core.excel.converter - INFO - 解析二级规格: 1*15 -> 1*15
2025-05-02 17:57:42,346 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 0 -> 0, 单位: 件 -> 瓶

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:15
Active since: 2025-05-02 18:01:40

View File

@ -32,3 +32,11 @@
2025-05-02 17:40:07,688 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 17:42:15,226 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-02 17:42:15,226 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 17:57:41,816 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-02 17:57:41,817 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:00:56,507 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-02 18:00:56,508 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:01:27,764 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-02 18:01:27,765 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:01:40,471 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-02 18:01:40,472 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:15
Active since: 2025-05-02 18:01:40

View File

@ -110,3 +110,56 @@
2025-05-02 17:42:15,833 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0赠品数量=15.0
2025-05-02 17:42:15,833 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0赠品数量=15.0
2025-05-02 17:42:15,836 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls
2025-05-02 17:57:41,815 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-02 17:57:41,816 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 17:57:41,817 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 17:57:42,341 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行
2025-05-02 17:57:42,341 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-02 17:57:42,347 - app.core.excel.processor - INFO - 提取到 8 个商品信息
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 开始处理8 个产品信息
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 发现正常商品条码6973497202346, 数量=15.0, 单价=3.6666666666666665
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202940, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 发现正常商品条码6973497202940, 数量=15.0, 单价=3.6666666666666665
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 发现正常商品条码6973497200267, 数量=15.0, 单价=3.6666666666666665
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 发现正常商品条码6973497200403, 数量=15.0, 单价=3.6666666666666665
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False
2025-05-02 17:57:42,354 - app.core.excel.processor - INFO - 发现正常商品条码6873497204449, 数量=15.0, 单价=4.333333333333333
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=15.0, 单价=4.333333333333333, 是否赠品=False
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 发现正常商品条码6973497204432, 数量=15.0, 单价=4.333333333333333
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 发现赠品条码6973497202360, 数量=15.0
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 发现赠品条码6973497202889, 数量=15.0
2025-05-02 17:57:42,355 - app.core.excel.processor - INFO - 分组后共8 个不同条码的商品
2025-05-02 17:57:42,384 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果正常商品数量15.0单价3.6666666666666665赠品数量0
2025-05-02 17:57:42,384 - app.core.excel.processor - INFO - 条码 6973497202940 处理结果正常商品数量15.0单价3.6666666666666665赠品数量0
2025-05-02 17:57:42,384 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果正常商品数量15.0单价3.6666666666666665赠品数量0
2025-05-02 17:57:42,384 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果正常商品数量15.0单价3.6666666666666665赠品数量0
2025-05-02 17:57:42,384 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果正常商品数量15.0单价4.333333333333333赠品数量0
2025-05-02 17:57:42,385 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果正常商品数量15.0单价4.333333333333333赠品数量0
2025-05-02 17:57:42,385 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0
2025-05-02 17:57:42,385 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0
2025-05-02 17:57:42,385 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0赠品数量=15.0
2025-05-02 17:57:42,385 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0赠品数量=15.0
2025-05-02 17:57:42,388 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls
2025-05-02 18:00:56,507 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-02 18:00:56,507 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:00:56,509 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:00:57,127 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 12 行
2025-05-02 18:00:57,127 - app.core.excel.processor - ERROR - 未找到条码列,无法处理
2025-05-02 18:00:57,127 - app.core.excel.processor - WARNING - 未提取到有效商品信息
2025-05-02 18:01:27,763 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-02 18:01:27,764 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:01:27,766 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:28,275 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 12 行
2025-05-02 18:01:28,275 - app.core.excel.processor - ERROR - 未找到条码列,无法处理
2025-05-02 18:01:28,275 - app.core.excel.processor - WARNING - 未提取到有效商品信息
2025-05-02 18:01:40,470 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-02 18:01:40,471 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-02 18:01:40,473 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:41,097 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 12 行
2025-05-02 18:01:41,097 - app.core.excel.processor - ERROR - 未找到条码列,无法处理
2025-05-02 18:01:41,097 - app.core.excel.processor - WARNING - 未提取到有效商品信息

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:14
Active since: 2025-05-02 18:01:39

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:14
Active since: 2025-05-02 18:01:39

View File

@ -63,3 +63,19 @@
2025-05-02 17:42:15,224 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 17:42:15,224 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-02 17:42:15,225 - app.core.ocr.table_ocr - INFO - OCR处理器初始化完成输入目录: D:\My Documents\python\orc-order-v2\data\input, 输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 17:57:41,815 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-02 17:57:41,815 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 17:57:41,815 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-02 17:57:41,815 - app.core.ocr.table_ocr - INFO - OCR处理器初始化完成输入目录: D:\My Documents\python\orc-order-v2\data\input, 输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:00:56,506 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-02 18:00:56,506 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:00:56,506 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-02 18:00:56,506 - app.core.ocr.table_ocr - INFO - OCR处理器初始化完成输入目录: D:\My Documents\python\orc-order-v2\data\input, 输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:01:27,762 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-02 18:01:27,762 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:01:27,762 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-02 18:01:27,763 - app.core.ocr.table_ocr - INFO - OCR处理器初始化完成输入目录: D:\My Documents\python\orc-order-v2\data\input, 输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:01:40,469 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-02 18:01:40,470 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-02 18:01:40,470 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-02 18:01:40,470 - app.core.ocr.table_ocr - INFO - OCR处理器初始化完成输入目录: D:\My Documents\python\orc-order-v2\data\input, 输出目录: D:\My Documents\python\orc-order-v2\data\output

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:14
Active since: 2025-05-02 18:01:39

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:14
Active since: 2025-05-02 18:01:39

View File

@ -31,3 +31,11 @@
2025-05-02 17:40:07,686 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-02 17:42:15,222 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-02 17:42:15,225 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-02 17:57:41,814 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-02 17:57:41,815 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-02 18:00:56,505 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-02 18:00:56,506 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-02 18:01:27,761 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-02 18:01:27,763 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-02 18:01:40,468 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-02 18:01:40,470 - app.services.ocr_service - INFO - OCRService初始化完成

View File

@ -1 +1 @@
Active since: 2025-05-02 17:42:15
Active since: 2025-05-02 18:01:40

View File

@ -29,3 +29,15 @@
2025-05-02 17:42:15,225 - app.services.order_service - INFO - 初始化OrderService
2025-05-02 17:42:15,226 - app.services.order_service - INFO - OrderService初始化完成
2025-05-02 17:42:15,227 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 17:57:41,815 - app.services.order_service - INFO - 初始化OrderService
2025-05-02 17:57:41,817 - app.services.order_service - INFO - OrderService初始化完成
2025-05-02 17:57:41,817 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:00:56,506 - app.services.order_service - INFO - 初始化OrderService
2025-05-02 18:00:56,508 - app.services.order_service - INFO - OrderService初始化完成
2025-05-02 18:00:56,509 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:27,763 - app.services.order_service - INFO - 初始化OrderService
2025-05-02 18:01:27,765 - app.services.order_service - INFO - OrderService初始化完成
2025-05-02 18:01:27,766 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx
2025-05-02 18:01:40,470 - app.services.order_service - INFO - 初始化OrderService
2025-05-02 18:01:40,472 - app.services.order_service - INFO - OrderService初始化完成
2025-05-02 18:01:40,472 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx

Binary file not shown.