更新之后,我也不知道有没有问题

This commit is contained in:
2025-05-08 21:16:58 +08:00
parent 390eeb67af
commit 7b7d491663
26 changed files with 1840 additions and 145 deletions
+18
View File
@@ -367,3 +367,21 @@
2025-05-07 22:28:53,640 - __main__ - INFO - 发现 1 个采购单文件
2025-05-07 22:28:53,640 - __main__ - WARNING - 只有1个采购单文件 D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250507222846.xls,无需合并
2025-05-07 22:28:53,641 - __main__ - INFO - === 完整流程处理成功(只有一个文件,跳过合并)===
2025-05-08 19:45:41,035 - __main__ - INFO - === 流程步骤 1: OCR识别 ===
2025-05-08 19:45:41,036 - __main__ - INFO - 批量处理所有图片
2025-05-08 19:45:48,795 - __main__ - INFO - OCR处理完成,总计: 1,成功: 1
2025-05-08 19:45:48,795 - __main__ - INFO - === 流程步骤 2: Excel处理 ===
2025-05-08 19:45:48,797 - __main__ - INFO - 处理最新的Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx
2025-05-08 19:45:56,356 - __main__ - INFO - Excel处理成功,输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:45:56,357 - __main__ - INFO - === 流程步骤 3: 订单合并 ===
2025-05-08 19:45:56,358 - __main__ - INFO - 发现 1 个采购单文件
2025-05-08 19:45:56,358 - __main__ - WARNING - 只有1个采购单文件 D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls,无需合并
2025-05-08 19:45:56,358 - __main__ - INFO - === 完整流程处理成功(只有一个文件,跳过合并)===
2025-05-08 19:47:28,886 - __main__ - INFO - 处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 19:47:34,495 - __main__ - INFO - Excel处理成功,输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:51:23,190 - __main__ - INFO - 处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 19:51:27,459 - __main__ - INFO - Excel处理成功,输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:04:06,909 - __main__ - INFO - 处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:04:14,985 - __main__ - INFO - Excel处理成功,输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:46:00,701 - __main__ - INFO - 处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:46:07,564 - __main__ - INFO - Excel处理成功,输出文件: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
+39
View File
@@ -1832,3 +1832,42 @@
2025-05-07 22:28:53,518 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-07 22:28:53,518 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-07 22:28:53,518 - app.core.excel.converter - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 55.0 -> 3.6666666666666665, 单位: 件 -> 瓶
2025-05-08 19:45:49,632 - app.core.excel.converter - INFO - 提取规格: 外星人-维B水阳光青提500mL -> 500*None
2025-05-08 19:45:49,635 - app.core.excel.converter - INFO - 从名称推断规格(通用模式): 外星人-维B水阳光青提500mL -> 500*None
2025-05-08 19:45:49,639 - app.core.excel.converter - WARNING - 无法解析规格: 500*None,使用默认值1*1
2025-05-08 19:47:29,598 - app.core.excel.converter - INFO - 提取规格: 外星人-维B水阳光青提500mL -> 500*None
2025-05-08 19:47:29,599 - app.core.excel.converter - INFO - 从名称推断规格(通用模式): 外星人-维B水阳光青提500mL -> 500*None
2025-05-08 19:47:29,601 - app.core.excel.converter - WARNING - 无法解析规格: 500*None,使用默认值1*1
2025-05-08 19:51:24,077 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 19:51:24,078 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 19:51:24,081 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 19:51:24,086 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 19:51:24,088 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 19:51:24,089 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 19:51:24,104 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 19:51:24,106 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 19:51:24,106 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 19:51:24,107 - app.core.excel.converter - INFO - 解析容量(ml)规格: 480ml*15 -> 1*15
2025-05-08 19:51:24,108 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:04:07,790 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:04:07,793 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 20:04:07,794 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:04:07,798 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:04:07,799 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:04:07,822 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 20:04:07,823 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 20:04:07,824 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 20:04:07,825 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:04:07,827 - app.core.excel.converter - INFO - 解析容量(ml)规格: 480ml*15 -> 1*15
2025-05-08 20:04:07,843 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:46:01,837 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:46:01,839 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 20:46:01,840 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
2025-05-08 20:46:01,867 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:46:01,868 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:46:01,869 - app.core.excel.converter - INFO - 解析容量(ml)规格: 600ml*15 -> 1*15
2025-05-08 20:46:01,869 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 20:46:01,870 - app.core.excel.converter - INFO - 解析容量(ml)规格: 900ml*12 -> 1*12
2025-05-08 20:46:01,871 - app.core.excel.converter - INFO - 解析容量(ml)规格: 400mL*15 -> 1*15
2025-05-08 20:46:01,872 - app.core.excel.converter - INFO - 解析容量(ml)规格: 480ml*15 -> 1*15
2025-05-08 20:46:01,873 - app.core.excel.converter - INFO - 解析容量(ml)规格: 500ml*15 -> 1*15
@@ -0,0 +1,35 @@
2025-05-08 19:45:49,639 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 0.0 -> 0.0, 单价: 56.0 -> 56.0, 单位: 件 -> 瓶
2025-05-08 19:47:29,601 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 1.0, 单价: 56.0 -> 56.0, 单位: 件 -> 瓶
2025-05-08 19:51:24,077 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 19:51:24,078 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 19:51:24,082 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 19:51:24,086 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 19:51:24,089 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 19:51:24,090 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 30.0 -> 2.0, 单位: 件 -> 瓶
2025-05-08 19:51:24,105 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 19:51:24,106 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 19:51:24,106 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 2.0, 单价: 0, 单位: 瓶
2025-05-08 19:51:24,107 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 1.0, 单价: 0, 单位: 瓶
2025-05-08 19:51:24,108 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 9.0, 单价: 0, 单位: 瓶
2025-05-08 20:04:07,791 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 20:04:07,793 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 20:04:07,794 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:04:07,798 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:04:07,799 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:04:07,822 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 30.0 -> 2.0, 单位: 件 -> 瓶
2025-05-08 20:04:07,823 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 20:04:07,825 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 20:04:07,826 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 2.0, 单价: 0, 单位: 瓶
2025-05-08 20:04:07,827 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 1.0, 单价: 0, 单位: 瓶
2025-05-08 20:04:07,843 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 9.0, 单价: 0, 单位: 瓶
2025-05-08 20:46:01,838 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 20:46:01,839 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 68.0 -> 4.533333333333333, 单位: 件 -> 瓶
2025-05-08 20:46:01,840 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:46:01,867 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:46:01,868 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 56.0 -> 3.7333333333333334, 单位: 件 -> 瓶
2025-05-08 20:46:01,869 - app.core.excel.handlers.unit_converter_handlers - INFO - 件单位处理: 数量: 1.0 -> 15.0, 单价: 30.0 -> 2.0, 单位: 件 -> 瓶
2025-05-08 20:46:01,870 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 20:46:01,870 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品件单位处理: 数量: 1.0 -> 12.0, 单价: 0, 单位: 件 -> 瓶
2025-05-08 20:46:01,871 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 2.0, 单价: 0, 单位: 瓶
2025-05-08 20:46:01,872 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 1.0, 单价: 0, 单位: 瓶
2025-05-08 20:46:03,157 - app.core.excel.handlers.unit_converter_handlers - INFO - 赠品瓶单位处理: 保持原样 数量: 9.0, 单价: 0, 单位: 瓶
+12
View File
@@ -481,3 +481,15 @@
2025-05-07 22:28:51,556 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-07 22:28:53,639 - app.core.excel.merger - INFO - 搜索目录 D:\My Documents\python\orc-order-v2\data\output 中的采购单Excel文件
2025-05-07 22:28:53,640 - app.core.excel.merger - INFO - 找到 1 个采购单Excel文件
2025-05-08 19:45:41,034 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-08 19:45:41,035 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 19:45:56,357 - app.core.excel.merger - INFO - 搜索目录 D:\My Documents\python\orc-order-v2\data\output 中的采购单Excel文件
2025-05-08 19:45:56,358 - app.core.excel.merger - INFO - 找到 1 个采购单Excel文件
2025-05-08 19:47:28,885 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-08 19:47:28,886 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 19:51:23,189 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-08 19:51:23,189 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 20:04:06,909 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-08 20:04:06,909 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 20:46:00,700 - app.core.excel.merger - INFO - 初始化PurchaseOrderMerger
2025-05-08 20:46:00,701 - app.core.excel.merger - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
+379
View File
@@ -5374,3 +5374,382 @@ ValueError: could not convert string to float: '2\n96'
2025-05-07 22:28:53,634 - app.core.excel.processor - INFO - 条码 6902538007169 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0
2025-05-07 22:28:53,637 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250507222846.xls
2025-05-07 22:28:53,639 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250507222846.xls
2025-05-08 19:45:41,032 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-08 19:45:41,034 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 19:45:48,795 - app.core.excel.processor - INFO - 搜索目录 D:\My Documents\python\orc-order-v2\data\output 中的Excel文件
2025-05-08 19:45:48,797 - app.core.excel.processor - INFO - 找到最新的Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx
2025-05-08 19:45:48,798 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx
2025-05-08 19:45:49,604 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx, 共 13 行
2025-05-08 19:45:49,606 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行,评分: 60
2025-05-08 19:45:49,606 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 12 行有效数据
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-05-08 19:45:49,623 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-05-08 19:45:49,624 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-05-08 19:45:49,624 - app.core.excel.processor - INFO - 找到price列: 单价
2025-05-08 19:45:49,624 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-08 19:45:49,625 - app.core.excel.processor - INFO - 是否存在规格列: False
2025-05-08 19:45:49,625 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6937003700207, 名称=外星人PRO运动恢复类-原味, 规格=, 数量=0, 单位=件, 单价=68.0
2025-05-08 19:45:49,628 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6937003706346, 名称=600ml外星人电解质西柚, 规格=, 数量=0, 单位=件, 单价=68.0
2025-05-08 19:45:49,629 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6937003706568, 名称=外星人-维B水阳光青提500mL, 规格=, 数量=0, 单位=件, 单价=56.0
2025-05-08 19:45:49,637 - app.core.excel.processor - INFO - 从商品名称推断规格: 外星人-维B水阳光青提500mL -> 500*None, 包装数量=None
2025-05-08 19:45:49,639 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石榴复合果蔬汁饮品, 规格=, 数量=0, 单位=件, 单价=56.0
2025-05-08 19:45:49,640 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6937003708166, 名称=天山爷爷新疆玉葡萄复合果汁饮品, 规格=, 数量=0, 单位=件, 单价=56.0
2025-05-08 19:45:49,640 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6937003703086, 名称=外星人WAVE风味水饮品淡柠檬味, 规格=, 数量=0, 单位=件, 单价=30.0
2025-05-08 19:45:49,641 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6975176784785, 名称=大柠檬冰茶, 规格=, 数量=0, 单位=件, 单价=0.0
2025-05-08 19:45:49,641 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6937003703437, 名称=大葡萄柚冰绿茶, 规格=, 数量=0, 单位=件, 单价=0.0
2025-05-08 19:45:49,879 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石复合果蔬汁饮品, 规格=, 数量=2.0, 单位=瓶, 单价=0.0
2025-05-08 19:45:49,880 - app.core.excel.processor - INFO - 第10行: 提取商品信息 条码=6975176781777, 名称=日式可乐味苏打气泡水, 规格=, 数量=0, 单位=瓶, 单价=0.0
2025-05-08 19:45:49,882 - app.core.excel.processor - INFO - 第11行: 提取商品信息 条码=6975176782460, 名称=燃茶无糖茉莉花茶无糖饮料, 规格=, 数量=9.0, 单位=瓶, 单价=0.0
2025-05-08 19:45:49,883 - app.core.excel.processor - INFO - 提取到 11 个商品信息
2025-05-08 19:45:49,892 - app.core.excel.processor - INFO - 开始处理11 个产品信息
2025-05-08 19:45:49,893 - app.core.excel.processor - INFO - 处理商品: 条码=6937003700207, 数量=0.0, 单价=68.0, 是否赠品=False
2025-05-08 19:45:49,893 - app.core.excel.processor - INFO - 发现正常商品:条码6937003700207, 数量=0.0, 单价=68.0
2025-05-08 19:45:49,893 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=0.0, 单价=68.0, 是否赠品=False
2025-05-08 19:45:49,893 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706346, 数量=0.0, 单价=68.0
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706568, 数量=0.0, 单价=56.0, 是否赠品=False
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706568, 数量=0.0, 单价=56.0
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=0.0, 单价=56.0, 是否赠品=False
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708173, 数量=0.0, 单价=56.0
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708166, 数量=0.0, 单价=56.0, 是否赠品=False
2025-05-08 19:45:49,894 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708166, 数量=0.0, 单价=56.0
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703086, 数量=0.0, 单价=30.0, 是否赠品=False
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 发现正常商品:条码6937003703086, 数量=0.0, 单价=30.0
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=0.0, 单价=0.0, 是否赠品=True
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 发现赠品:条码6975176784785, 数量=0.0
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703437, 数量=0.0, 单价=0.0, 是否赠品=True
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 发现赠品:条码6937003703437, 数量=0.0
2025-05-08 19:45:49,895 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=2.0, 单价=0.0, 是否赠品=True
2025-05-08 19:45:49,896 - app.core.excel.processor - INFO - 发现赠品:条码6937003708173, 数量=2.0
2025-05-08 19:45:49,896 - app.core.excel.processor - INFO - 处理商品: 条码=6975176781777, 数量=0.0, 单价=0.0, 是否赠品=True
2025-05-08 19:45:49,896 - app.core.excel.processor - INFO - 发现赠品:条码6975176781777, 数量=0.0
2025-05-08 19:45:49,896 - app.core.excel.processor - INFO - 处理商品: 条码=6975176782460, 数量=9.0, 单价=0.0, 是否赠品=True
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 发现赠品:条码6975176782460, 数量=9.0
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 分组后共10 个不同条码的商品
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 条码 6937003700207 处理结果:正常商品数量0.0,单价68.0,赠品数量0
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果:正常商品数量0.0,单价68.0,赠品数量0
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 条码 6937003706568 处理结果:正常商品数量0.0,单价56.0,赠品数量0
2025-05-08 19:45:49,897 - app.core.excel.processor - INFO - 条码 6937003708173 处理结果:正常商品数量0.0,单价56.0,赠品数量2.0
2025-05-08 19:45:49,898 - app.core.excel.processor - INFO - 条码 6937003708166 处理结果:正常商品数量0.0,单价56.0,赠品数量0
2025-05-08 19:45:56,348 - app.core.excel.processor - INFO - 条码 6937003703086 处理结果:正常商品数量0.0,单价30.0,赠品数量0
2025-05-08 19:45:56,348 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果:只有赠品,数量=0.0
2025-05-08 19:45:56,348 - app.core.excel.processor - INFO - 条码 6937003703437 处理结果:只有赠品,数量=0.0
2025-05-08 19:45:56,348 - app.core.excel.processor - INFO - 条码 6975176781777 处理结果:只有赠品,数量=0.0
2025-05-08 19:45:56,348 - app.core.excel.processor - INFO - 条码 6975176782460 处理结果:只有赠品,数量=9.0
2025-05-08 19:45:56,349 - app.core.excel.processor - INFO - 条码 6937003708173 填充:采购量=0.0,赠品数量2.0
2025-05-08 19:45:56,349 - app.core.excel.processor - INFO - 条码 6975176784785 填充:仅有赠品,采购量=0,赠品数量=0.0
2025-05-08 19:45:56,349 - app.core.excel.processor - INFO - 条码 6937003703437 填充:仅有赠品,采购量=0,赠品数量=0.0
2025-05-08 19:45:56,349 - app.core.excel.processor - INFO - 条码 6975176781777 填充:仅有赠品,采购量=0,赠品数量=0.0
2025-05-08 19:45:56,349 - app.core.excel.processor - INFO - 条码 6975176782460 填充:仅有赠品,采购量=0,赠品数量=9.0
2025-05-08 19:45:56,354 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:45:56,356 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:47:28,884 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-08 19:47:28,885 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 19:47:28,886 - app.core.excel.processor - INFO - 开始处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 19:47:29,546 - app.core.excel.processor - INFO - 成功读取Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx, 共 13 行
2025-05-08 19:47:29,551 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行,评分: 60
2025-05-08 19:47:29,551 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-05-08 19:47:29,589 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 12 行有效数据
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 找到price列: 单价
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-08 19:47:29,590 - app.core.excel.processor - INFO - 是否存在规格列: False
2025-05-08 19:47:29,591 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6937003700207, 名称=外星人PRO运动恢复类-原味, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 19:47:29,597 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6937003706346, 名称=600ml外星人电解质西柚, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 19:47:29,598 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6937003706568, 名称=外星人-维B水阳光青提500mL, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:47:29,600 - app.core.excel.processor - INFO - 从商品名称推断规格: 外星人-维B水阳光青提500mL -> 500*None, 包装数量=None
2025-05-08 19:47:29,602 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石榴复合果蔬汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:47:29,602 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6937003708166, 名称=天山爷爷新疆玉葡萄复合果汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:47:29,602 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6937003703086, 名称=外星人WAVE风味水饮品淡柠檬味, 规格=, 数量=1.0, 单位=件, 单价=30.0
2025-05-08 19:47:29,603 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6975176784785, 名称=大柠檬冰茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 19:47:29,603 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6937003703437, 名称=大葡萄柚冰绿茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 19:47:29,603 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石复合果蔬汁饮品, 规格=, 数量=2.0, 单位=瓶, 单价=0.0
2025-05-08 19:47:29,604 - app.core.excel.processor - INFO - 第10行: 提取商品信息 条码=6975176781777, 名称=日式可乐味苏打气泡水, 规格=, 数量=1.0, 单位=瓶, 单价=0.0
2025-05-08 19:47:29,604 - app.core.excel.processor - INFO - 第11行: 提取商品信息 条码=6975176782460, 名称=燃茶无糖茉莉花茶无糖饮料, 规格=, 数量=9.0, 单位=瓶, 单价=0.0
2025-05-08 19:47:29,604 - app.core.excel.processor - INFO - 提取到 11 个商品信息
2025-05-08 19:47:29,616 - app.core.excel.processor - INFO - 开始处理11 个产品信息
2025-05-08 19:47:29,616 - app.core.excel.processor - INFO - 处理商品: 条码=6937003700207, 数量=1.0, 单价=68.0, 是否赠品=False
2025-05-08 19:47:29,616 - app.core.excel.processor - INFO - 发现正常商品:条码6937003700207, 数量=1.0, 单价=68.0
2025-05-08 19:47:29,617 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=1.0, 单价=68.0, 是否赠品=False
2025-05-08 19:47:29,617 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706346, 数量=1.0, 单价=68.0
2025-05-08 19:47:29,617 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706568, 数量=1.0, 单价=56.0, 是否赠品=False
2025-05-08 19:47:29,673 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706568, 数量=1.0, 单价=56.0
2025-05-08 19:47:29,673 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=1.0, 单价=56.0, 是否赠品=False
2025-05-08 19:47:29,673 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708173, 数量=1.0, 单价=56.0
2025-05-08 19:47:29,673 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708166, 数量=1.0, 单价=56.0, 是否赠品=False
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708166, 数量=1.0, 单价=56.0
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703086, 数量=1.0, 单价=30.0, 是否赠品=False
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 发现正常商品:条码6937003703086, 数量=1.0, 单价=30.0
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=1.0, 单价=0.0, 是否赠品=True
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 发现赠品:条码6975176784785, 数量=1.0
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703437, 数量=1.0, 单价=0.0, 是否赠品=True
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 发现赠品:条码6937003703437, 数量=1.0
2025-05-08 19:47:29,674 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=2.0, 单价=0.0, 是否赠品=True
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 发现赠品:条码6937003708173, 数量=2.0
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 处理商品: 条码=6975176781777, 数量=1.0, 单价=0.0, 是否赠品=True
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 发现赠品:条码6975176781777, 数量=1.0
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 处理商品: 条码=6975176782460, 数量=9.0, 单价=0.0, 是否赠品=True
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 发现赠品:条码6975176782460, 数量=9.0
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 分组后共10 个不同条码的商品
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 条码 6937003700207 处理结果:正常商品数量1.0,单价68.0,赠品数量0
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果:正常商品数量1.0,单价68.0,赠品数量0
2025-05-08 19:47:29,675 - app.core.excel.processor - INFO - 条码 6937003706568 处理结果:正常商品数量1.0,单价56.0,赠品数量0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6937003708173 处理结果:正常商品数量1.0,单价56.0,赠品数量2.0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6937003708166 处理结果:正常商品数量1.0,单价56.0,赠品数量0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6937003703086 处理结果:正常商品数量1.0,单价30.0,赠品数量0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果:只有赠品,数量=1.0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6937003703437 处理结果:只有赠品,数量=1.0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6975176781777 处理结果:只有赠品,数量=1.0
2025-05-08 19:47:29,676 - app.core.excel.processor - INFO - 条码 6975176782460 处理结果:只有赠品,数量=9.0
2025-05-08 19:47:29,677 - app.core.excel.processor - INFO - 条码 6937003708173 填充:采购量=1.0,赠品数量2.0
2025-05-08 19:47:29,677 - app.core.excel.processor - INFO - 条码 6975176784785 填充:仅有赠品,采购量=0,赠品数量=1.0
2025-05-08 19:47:29,677 - app.core.excel.processor - INFO - 条码 6937003703437 填充:仅有赠品,采购量=0,赠品数量=1.0
2025-05-08 19:47:29,677 - app.core.excel.processor - INFO - 条码 6975176781777 填充:仅有赠品,采购量=0,赠品数量=1.0
2025-05-08 19:47:29,677 - app.core.excel.processor - INFO - 条码 6975176782460 填充:仅有赠品,采购量=0,赠品数量=9.0
2025-05-08 19:47:29,681 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:47:29,683 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:51:23,178 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-08 19:51:23,188 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 19:51:23,190 - app.core.excel.processor - INFO - 开始处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 19:51:24,003 - app.core.excel.processor - INFO - 成功读取Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx, 共 13 行
2025-05-08 19:51:24,008 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行,评分: 60
2025-05-08 19:51:24,008 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-05-08 19:51:24,060 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 12 行有效数据
2025-05-08 19:51:24,060 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 找到price列: 单价
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-08 19:51:24,061 - app.core.excel.processor - INFO - 是否存在规格列: False
2025-05-08 19:51:24,075 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6937003700207, 名称=外星人PRO运动恢复类-原味, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 19:51:24,076 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 19:51:24,077 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6937003706346, 名称=600ml外星人电解质西柚, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 19:51:24,078 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 19:51:24,081 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6937003706568, 名称=外星人-维B水阳光青提500mL, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:51:24,081 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 19:51:24,083 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石榴复合果蔬汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:51:24,088 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6937003708166, 名称=天山爷爷新疆玉葡萄复合果汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 19:51:24,089 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6937003703086, 名称=外星人WAVE风味水饮品淡柠檬味, 规格=, 数量=1.0, 单位=件, 单价=30.0
2025-05-08 19:51:24,089 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 19:51:24,090 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6975176784785, 名称=大柠檬冰茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 19:51:24,104 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 19:51:24,105 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6937003703437, 名称=大葡萄柚冰绿茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 19:51:24,105 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 19:51:24,106 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石复合果蔬汁饮品, 规格=, 数量=2.0, 单位=瓶, 单价=0.0
2025-05-08 19:51:24,107 - app.core.excel.processor - INFO - 第10行: 提取商品信息 条码=6975176781777, 名称=日式可乐味苏打气泡水, 规格=, 数量=1.0, 单位=瓶, 单价=0.0
2025-05-08 19:51:24,107 - app.core.excel.processor - INFO - 从映射列解析规格: 480ml*15 -> 包装数量=15
2025-05-08 19:51:24,108 - app.core.excel.processor - INFO - 第11行: 提取商品信息 条码=6975176782460, 名称=燃茶无糖茉莉花茶无糖饮料, 规格=, 数量=9.0, 单位=瓶, 单价=0.0
2025-05-08 19:51:24,108 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 19:51:24,109 - app.core.excel.processor - INFO - 提取到 11 个商品信息
2025-05-08 19:51:24,122 - app.core.excel.processor - INFO - 开始处理11 个产品信息
2025-05-08 19:51:24,122 - app.core.excel.processor - INFO - 处理商品: 条码=6937003700207, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 19:51:24,122 - app.core.excel.processor - INFO - 发现正常商品:条码6937003700207, 数量=15.0, 单价=4.533333333333333
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706346, 数量=15.0, 单价=4.533333333333333
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706568, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706568, 数量=15.0, 单价=3.7333333333333334
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708173, 数量=15.0, 单价=3.7333333333333334
2025-05-08 19:51:24,123 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708166, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 19:51:24,124 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708166, 数量=15.0, 单价=3.7333333333333334
2025-05-08 19:51:24,124 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703086, 数量=15.0, 单价=2.0, 是否赠品=False
2025-05-08 19:51:24,124 - app.core.excel.processor - INFO - 发现正常商品:条码6937003703086, 数量=15.0, 单价=2.0
2025-05-08 19:51:24,124 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 19:51:27,449 - app.core.excel.processor - INFO - 发现赠品:条码6975176784785, 数量=12.0
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703437, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 发现赠品:条码6937003703437, 数量=12.0
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=2.0, 单价=0, 是否赠品=True
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 发现赠品:条码6937003708173, 数量=2.0
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 处理商品: 条码=6975176781777, 数量=1.0, 单价=0, 是否赠品=True
2025-05-08 19:51:27,450 - app.core.excel.processor - INFO - 发现赠品:条码6975176781777, 数量=1.0
2025-05-08 19:51:27,451 - app.core.excel.processor - INFO - 处理商品: 条码=6975176782460, 数量=9.0, 单价=0, 是否赠品=True
2025-05-08 19:51:27,451 - app.core.excel.processor - INFO - 发现赠品:条码6975176782460, 数量=9.0
2025-05-08 19:51:27,451 - app.core.excel.processor - INFO - 分组后共10 个不同条码的商品
2025-05-08 19:51:27,451 - app.core.excel.processor - INFO - 条码 6937003700207 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 19:51:27,451 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6937003706568 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6937003708173 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量2.0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6937003708166 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6937003703086 处理结果:正常商品数量15.0,单价2.0,赠品数量0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果:只有赠品,数量=12.0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6937003703437 处理结果:只有赠品,数量=12.0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6975176781777 处理结果:只有赠品,数量=1.0
2025-05-08 19:51:27,452 - app.core.excel.processor - INFO - 条码 6975176782460 处理结果:只有赠品,数量=9.0
2025-05-08 19:51:27,453 - app.core.excel.processor - INFO - 条码 6937003708173 填充:采购量=15.0,赠品数量2.0
2025-05-08 19:51:27,453 - app.core.excel.processor - INFO - 条码 6975176784785 填充:仅有赠品,采购量=0,赠品数量=12.0
2025-05-08 19:51:27,453 - app.core.excel.processor - INFO - 条码 6937003703437 填充:仅有赠品,采购量=0,赠品数量=12.0
2025-05-08 19:51:27,453 - app.core.excel.processor - INFO - 条码 6975176781777 填充:仅有赠品,采购量=0,赠品数量=1.0
2025-05-08 19:51:27,453 - app.core.excel.processor - INFO - 条码 6975176782460 填充:仅有赠品,采购量=0,赠品数量=9.0
2025-05-08 19:51:27,457 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 19:51:27,459 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:04:06,908 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-08 20:04:06,908 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 20:04:06,910 - app.core.excel.processor - INFO - 开始处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:04:07,659 - app.core.excel.processor - INFO - 成功读取Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx, 共 13 行
2025-05-08 20:04:07,674 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行,评分: 60
2025-05-08 20:04:07,674 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-05-08 20:04:07,785 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 12 行有效数据
2025-05-08 20:04:07,786 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-05-08 20:04:07,786 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-05-08 20:04:07,786 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-05-08 20:04:07,786 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-05-08 20:04:07,786 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-05-08 20:04:07,787 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-05-08 20:04:07,787 - app.core.excel.processor - INFO - 找到price列: 单价
2025-05-08 20:04:07,787 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-08 20:04:07,787 - app.core.excel.processor - INFO - 是否存在规格列: False
2025-05-08 20:04:07,788 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6937003700207, 名称=外星人PRO运动恢复类-原味, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 20:04:07,789 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:04:07,792 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6937003706346, 名称=600ml外星人电解质西柚, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 20:04:07,792 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 20:04:07,793 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6937003706568, 名称=外星人-维B水阳光青提500mL, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:04:07,794 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:04:07,796 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石榴复合果蔬汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:04:07,799 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6937003708166, 名称=天山爷爷新疆玉葡萄复合果汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:04:07,818 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6937003703086, 名称=外星人WAVE风味水饮品淡柠檬味, 规格=, 数量=1.0, 单位=件, 单价=30.0
2025-05-08 20:04:07,821 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 20:04:07,822 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6975176784785, 名称=大柠檬冰茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 20:04:07,823 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 20:04:07,824 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6937003703437, 名称=大葡萄柚冰绿茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 20:04:07,824 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 20:04:07,825 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石复合果蔬汁饮品, 规格=, 数量=2.0, 单位=瓶, 单价=0.0
2025-05-08 20:04:07,826 - app.core.excel.processor - INFO - 第10行: 提取商品信息 条码=6975176781777, 名称=日式可乐味苏打气泡水, 规格=, 数量=1.0, 单位=瓶, 单价=0.0
2025-05-08 20:04:07,826 - app.core.excel.processor - INFO - 从映射列解析规格: 480ml*15 -> 包装数量=15
2025-05-08 20:04:07,827 - app.core.excel.processor - INFO - 第11行: 提取商品信息 条码=6975176782460, 名称=燃茶无糖茉莉花茶无糖饮料, 规格=, 数量=9.0, 单位=瓶, 单价=0.0
2025-05-08 20:04:07,842 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:04:07,844 - app.core.excel.processor - INFO - 提取到 11 个商品信息
2025-05-08 20:04:07,872 - app.core.excel.processor - INFO - 开始处理11 个产品信息
2025-05-08 20:04:07,872 - app.core.excel.processor - INFO - 处理商品: 条码=6937003700207, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 发现正常商品:条码6937003700207, 数量=15.0, 单价=4.533333333333333
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706346, 数量=15.0, 单价=4.533333333333333
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706568, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706568, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:04:07,873 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708173, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:04:07,874 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708166, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:04:10,344 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708166, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:04:10,344 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703086, 数量=15.0, 单价=2.0, 是否赠品=False
2025-05-08 20:04:10,344 - app.core.excel.processor - INFO - 发现正常商品:条码6937003703086, 数量=15.0, 单价=2.0
2025-05-08 20:04:10,344 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 发现赠品:条码6975176784785, 数量=12.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703437, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 发现赠品:条码6937003703437, 数量=12.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=2.0, 单价=0, 是否赠品=True
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 发现赠品:条码6937003708173, 数量=2.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 处理商品: 条码=6975176781777, 数量=1.0, 单价=0, 是否赠品=True
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 发现赠品:条码6975176781777, 数量=1.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 处理商品: 条码=6975176782460, 数量=9.0, 单价=0, 是否赠品=True
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 发现赠品:条码6975176782460, 数量=9.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 分组后共10 个不同条码的商品
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003700207 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003706568 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003708173 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量2.0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003708166 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 20:04:10,345 - app.core.excel.processor - INFO - 条码 6937003703086 处理结果:正常商品数量15.0,单价2.0,赠品数量0
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果:只有赠品,数量=12.0
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003703437 处理结果:只有赠品,数量=12.0
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6975176781777 处理结果:只有赠品,数量=1.0
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6975176782460 处理结果:只有赠品,数量=9.0
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003700207 填充:采购量=15.0(原商品15.0+赠品0),单价=4.533333333333333
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003706346 填充:采购量=15.0(原商品15.0+赠品0),单价=4.533333333333333
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003706568 填充:采购量=15.0(原商品15.0+赠品0),单价=3.7333333333333334
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003708173 单价调整: 原价=3.7333333333333334, 新价=3.2941176470588234 (包含赠品后重新计算)
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003708173 填充:采购量=17.0(原商品15.0+赠品2.0),单价=3.2941176470588234
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003708166 填充:采购量=15.0(原商品15.0+赠品0),单价=3.7333333333333334
2025-05-08 20:04:10,346 - app.core.excel.processor - INFO - 条码 6937003703086 填充:采购量=15.0(原商品15.0+赠品0),单价=2.0
2025-05-08 20:04:10,347 - app.core.excel.processor - INFO - 条码 6975176784785 填充:仅有赠品,采购量=12.0,单价=0
2025-05-08 20:04:10,347 - app.core.excel.processor - INFO - 条码 6937003703437 填充:仅有赠品,采购量=12.0,单价=0
2025-05-08 20:04:10,347 - app.core.excel.processor - INFO - 条码 6975176781777 填充:仅有赠品,采购量=1.0,单价=0
2025-05-08 20:04:14,980 - app.core.excel.processor - INFO - 条码 6975176782460 填充:仅有赠品,采购量=9.0,单价=0
2025-05-08 20:04:14,983 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:04:14,985 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:46:00,697 - app.core.excel.processor - INFO - 初始化ExcelProcessor
2025-05-08 20:46:00,700 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls
2025-05-08 20:46:00,750 - app.core.excel.processor - INFO - 开始处理Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:46:01,732 - app.core.excel.processor - INFO - 成功读取Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx, 共 13 行
2025-05-08 20:46:01,737 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行,评分: 60
2025-05-08 20:46:01,737 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-05-08 20:46:01,833 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 12 行有效数据
2025-05-08 20:46:01,833 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-05-08 20:46:01,834 - app.core.excel.processor - INFO - 找到price列: 单价
2025-05-08 20:46:01,835 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价'}
2025-05-08 20:46:01,835 - app.core.excel.processor - INFO - 是否存在规格列: False
2025-05-08 20:46:01,836 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6937003700207, 名称=外星人PRO运动恢复类-原味, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 20:46:01,836 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:46:01,838 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6937003706346, 名称=600ml外星人电解质西柚, 规格=, 数量=1.0, 单位=件, 单价=68.0
2025-05-08 20:46:01,838 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 20:46:01,840 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6937003706568, 名称=外星人-维B水阳光青提500mL, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:46:01,840 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:46:01,859 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石榴复合果蔬汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:46:01,868 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6937003708166, 名称=天山爷爷新疆玉葡萄复合果汁饮品, 规格=, 数量=1.0, 单位=件, 单价=56.0
2025-05-08 20:46:01,868 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6937003703086, 名称=外星人WAVE风味水饮品淡柠檬味, 规格=, 数量=1.0, 单位=件, 单价=30.0
2025-05-08 20:46:01,868 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-05-08 20:46:01,869 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6975176784785, 名称=大柠檬冰茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 20:46:01,869 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 20:46:01,870 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6937003703437, 名称=大葡萄柚冰绿茶, 规格=, 数量=1.0, 单位=件, 单价=0.0
2025-05-08 20:46:01,870 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-05-08 20:46:01,871 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6937003708173, 名称=天山爷爷新疆甜石复合果蔬汁饮品, 规格=, 数量=2.0, 单位=瓶, 单价=0.0
2025-05-08 20:46:01,872 - app.core.excel.processor - INFO - 第10行: 提取商品信息 条码=6975176781777, 名称=日式可乐味苏打气泡水, 规格=, 数量=1.0, 单位=瓶, 单价=0.0
2025-05-08 20:46:01,872 - app.core.excel.processor - INFO - 从映射列解析规格: 480ml*15 -> 包装数量=15
2025-05-08 20:46:01,872 - app.core.excel.processor - INFO - 第11行: 提取商品信息 条码=6975176782460, 名称=燃茶无糖茉莉花茶无糖饮料, 规格=, 数量=9.0, 单位=瓶, 单价=0.0
2025-05-08 20:46:01,872 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-05-08 20:46:03,157 - app.core.excel.processor - INFO - 提取到 11 个商品信息
2025-05-08 20:46:03,171 - app.core.excel.processor - INFO - 开始处理11 个产品信息
2025-05-08 20:46:03,171 - app.core.excel.processor - INFO - 处理商品: 条码=6937003700207, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 发现正常商品:条码6937003700207, 数量=15.0, 单价=4.533333333333333
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706346, 数量=15.0, 单价=4.533333333333333
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706568, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 发现正常商品:条码6937003706568, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:46:03,172 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:46:03,173 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708173, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:46:03,173 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708166, 数量=15.0, 单价=3.7333333333333334, 是否赠品=False
2025-05-08 20:46:03,173 - app.core.excel.processor - INFO - 发现正常商品:条码6937003708166, 数量=15.0, 单价=3.7333333333333334
2025-05-08 20:46:03,173 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703086, 数量=15.0, 单价=2.0, 是否赠品=False
2025-05-08 20:46:03,174 - app.core.excel.processor - INFO - 发现正常商品:条码6937003703086, 数量=15.0, 单价=2.0
2025-05-08 20:46:03,174 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 20:46:03,174 - app.core.excel.processor - INFO - 发现赠品:条码6975176784785, 数量=12.0
2025-05-08 20:46:03,175 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703437, 数量=12.0, 单价=0, 是否赠品=True
2025-05-08 20:46:03,175 - app.core.excel.processor - INFO - 发现赠品:条码6937003703437, 数量=12.0
2025-05-08 20:46:03,176 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708173, 数量=2.0, 单价=0, 是否赠品=True
2025-05-08 20:46:03,176 - app.core.excel.processor - INFO - 发现赠品:条码6937003708173, 数量=2.0
2025-05-08 20:46:03,176 - app.core.excel.processor - INFO - 处理商品: 条码=6975176781777, 数量=1.0, 单价=0, 是否赠品=True
2025-05-08 20:46:03,176 - app.core.excel.processor - INFO - 发现赠品:条码6975176781777, 数量=1.0
2025-05-08 20:46:03,176 - app.core.excel.processor - INFO - 处理商品: 条码=6975176782460, 数量=9.0, 单价=0, 是否赠品=True
2025-05-08 20:46:03,177 - app.core.excel.processor - INFO - 发现赠品:条码6975176782460, 数量=9.0
2025-05-08 20:46:03,177 - app.core.excel.processor - INFO - 分组后共10 个不同条码的商品
2025-05-08 20:46:03,177 - app.core.excel.processor - INFO - 条码 6937003700207 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 20:46:03,177 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果:正常商品数量15.0,单价4.533333333333333,赠品数量0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6937003706568 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6937003708173 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量2.0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6937003708166 处理结果:正常商品数量15.0,单价3.7333333333333334,赠品数量0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6937003703086 处理结果:正常商品数量15.0,单价2.0,赠品数量0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果:只有赠品,数量=12.0
2025-05-08 20:46:03,178 - app.core.excel.processor - INFO - 条码 6937003703437 处理结果:只有赠品,数量=12.0
2025-05-08 20:46:07,558 - app.core.excel.processor - INFO - 条码 6975176781777 处理结果:只有赠品,数量=1.0
2025-05-08 20:46:07,558 - app.core.excel.processor - INFO - 条码 6975176782460 处理结果:只有赠品,数量=9.0
2025-05-08 20:46:07,558 - app.core.excel.processor - INFO - 条码 6937003708173 填充:采购量=15.0,赠品数量2.0
2025-05-08 20:46:07,559 - app.core.excel.processor - INFO - 条码 6975176784785 填充:仅有赠品,采购量=0,赠品数量=12.0
2025-05-08 20:46:07,559 - app.core.excel.processor - INFO - 条码 6937003703437 填充:仅有赠品,采购量=0,赠品数量=12.0
2025-05-08 20:46:07,559 - app.core.excel.processor - INFO - 条码 6975176781777 填充:仅有赠品,采购量=0,赠品数量=1.0
2025-05-08 20:46:07,559 - app.core.excel.processor - INFO - 条码 6975176782460 填充:仅有赠品,采购量=0,赠品数量=9.0
2025-05-08 20:46:07,563 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
2025-05-08 20:46:07,564 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250508194532.xls
+9
View File
@@ -0,0 +1,9 @@
2025-05-08 19:45:49,628 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,629 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,638 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,639 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,640 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,641 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,641 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,878 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
2025-05-08 19:45:49,881 - app.core.excel.validators - WARNING - 数量验证失败: 数量必须大于0,当前值: 0.0
+1
View File
@@ -68,3 +68,4 @@
2025-05-07 21:22:01,976 - app.core.ocr.baidu_ocr - INFO - 成功获取访问令牌
2025-05-07 21:54:55,605 - app.core.ocr.baidu_ocr - INFO - 成功获取访问令牌
2025-05-07 22:28:51,887 - app.core.ocr.baidu_ocr - INFO - 成功获取访问令牌
2025-05-08 19:45:41,386 - app.core.ocr.baidu_ocr - INFO - 成功获取访问令牌
+26
View File
@@ -654,3 +654,29 @@
2025-05-07 22:28:52,829 - app.core.ocr.table_ocr - INFO - 图片处理成功: D:\My Documents\python\orc-order-v2\data\input\微信图片_20250507222846.jpg, 输出文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250507222846.xlsx
2025-05-07 22:28:52,832 - app.core.ocr.table_ocr - INFO - 批次处理完成, 成功: 1/1
2025-05-07 22:28:52,832 - app.core.ocr.table_ocr - INFO - 所有图片处理完成, 总计: 1, 成功: 1
2025-05-08 19:45:41,028 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-08 19:45:41,030 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-08 19:45:41,030 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-08 19:45:41,030 - 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-08 19:45:41,036 - app.core.ocr.table_ocr - INFO - 找到 1 个图片文件,其中 1 个未处理
2025-05-08 19:45:41,036 - app.core.ocr.table_ocr - INFO - 处理批次 1/1, 大小: 1
2025-05-08 19:45:41,037 - app.core.ocr.table_ocr - INFO - 开始处理图片: D:\My Documents\python\orc-order-v2\data\input\微信图片_20250508194532.jpg
2025-05-08 19:45:48,792 - app.core.ocr.table_ocr - INFO - 图片处理成功: D:\My Documents\python\orc-order-v2\data\input\微信图片_20250508194532.jpg, 输出文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx
2025-05-08 19:45:48,794 - app.core.ocr.table_ocr - INFO - 批次处理完成, 成功: 1/1
2025-05-08 19:45:48,795 - app.core.ocr.table_ocr - INFO - 所有图片处理完成, 总计: 1, 成功: 1
2025-05-08 19:47:28,883 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-08 19:47:28,883 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-08 19:47:28,883 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-08 19:47:28,884 - 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-08 19:51:23,177 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-08 19:51:23,177 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-08 19:51:23,177 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-08 19:51:23,178 - 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-08 20:04:06,906 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-08 20:04:06,907 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-08 20:04:06,907 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-08 20:04:06,907 - 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-08 20:46:00,693 - app.core.ocr.table_ocr - INFO - 使用输入目录: D:\My Documents\python\orc-order-v2\data\input
2025-05-08 20:46:00,694 - app.core.ocr.table_ocr - INFO - 使用输出目录: D:\My Documents\python\orc-order-v2\data\output
2025-05-08 20:46:00,694 - app.core.ocr.table_ocr - INFO - 使用临时目录: D:\My Documents\python\orc-order-v2\data\temp
2025-05-08 20:46:00,695 - 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
+11
View File
@@ -264,3 +264,14 @@
2025-05-07 22:28:51,544 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-07 22:28:51,548 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-07 22:28:51,557 - app.services.ocr_service - INFO - OCRService开始批量处理图片, batch_size=None, max_workers=None
2025-05-08 19:45:41,026 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-08 19:45:41,030 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-08 19:45:41,036 - app.services.ocr_service - INFO - OCRService开始批量处理图片, batch_size=None, max_workers=None
2025-05-08 19:47:28,878 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-08 19:47:28,884 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-08 19:51:23,176 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-08 19:51:23,178 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-08 20:04:06,905 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-08 20:04:06,907 - app.services.ocr_service - INFO - OCRService初始化完成
2025-05-08 20:46:00,690 - app.services.ocr_service - INFO - 初始化OCRService
2025-05-08 20:46:00,696 - app.services.ocr_service - INFO - OCRService初始化完成
+15
View File
@@ -300,3 +300,18 @@
2025-05-07 22:28:51,548 - app.services.order_service - INFO - 初始化OrderService
2025-05-07 22:28:51,556 - app.services.order_service - INFO - OrderService初始化完成
2025-05-07 22:28:52,834 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250507222846.xlsx
2025-05-08 19:45:41,030 - app.services.order_service - INFO - 初始化OrderService
2025-05-08 19:45:41,035 - app.services.order_service - INFO - OrderService初始化完成
2025-05-08 19:45:48,798 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250508194532.xlsx
2025-05-08 19:47:28,884 - app.services.order_service - INFO - 初始化OrderService
2025-05-08 19:47:28,886 - app.services.order_service - INFO - OrderService初始化完成
2025-05-08 19:47:28,886 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 19:51:23,178 - app.services.order_service - INFO - 初始化OrderService
2025-05-08 19:51:23,190 - app.services.order_service - INFO - OrderService初始化完成
2025-05-08 19:51:23,190 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:04:06,907 - app.services.order_service - INFO - 初始化OrderService
2025-05-08 20:04:06,909 - app.services.order_service - INFO - OrderService初始化完成
2025-05-08 20:04:06,910 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx
2025-05-08 20:46:00,697 - app.services.order_service - INFO - 初始化OrderService
2025-05-08 20:46:00,701 - app.services.order_service - INFO - OrderService初始化完成
2025-05-08 20:46:00,750 - app.services.order_service - INFO - OrderService开始处理指定Excel文件: D:/My Documents/python/orc-order-v2/data/output/微信图片_20250508194532.xlsx