2025-05-02 16:10:30,800 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:10:30,803 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 16:11:05,077 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:11:05,079 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 16:15:14,538 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:15:14,539 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 16:24:57,642 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:24:57,644 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 16:34:26,012 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:34:26,013 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 16:34:28,702 - app.core.excel.processor - INFO - 搜索目录 D:\My Documents\python\orc-order-v2\output 中的Excel文件 2025-05-02 16:34:28,702 - app.core.excel.processor - INFO - 找到最新的Excel文件: D:\My Documents\python\orc-order-v2\output\微信图片_20250227193150(1).xlsx 2025-05-02 16:34:28,703 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\output\微信图片_20250227193150(1).xlsx 2025-05-02 16:34:29,373 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 16:34:29,373 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 16:34:29,380 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 16:34:29,399 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\output\采购单_微信图片_20250227193150(1)_20250502163429.xls 2025-05-02 16:55:26,479 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 16:55:26,480 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:08:58,654 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:08:58,655 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:10:09,222 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:10:09,223 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:10:09,225 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 17:10:09,803 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 17:10:09,803 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 17:10:09,808 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 17:10:09,823 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\output\采购单_微信图片_20250227193150(1)_20250502171009.xls 2025-05-02 17:16:24,476 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:16:24,477 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:16:24,478 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 17:16:25,022 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 17:16:25,022 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 17:16:25,025 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 17:16:25,035 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1)_20250502171625.xls 2025-05-02 17:32:36,461 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:32:36,463 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:32:36,464 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 17:32:37,128 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 17:32:37,129 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 17:32:37,132 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 17:32:37,141 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 17:40:07,686 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:40:07,688 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:40:07,690 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 17:40:08,376 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 17:40:08,376 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 17:40:08,381 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 17:40:08,392 - app.core.excel.processor - INFO - 开始处理8 个产品信息 2025-05-02 17:40:08,392 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:40:08,392 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202940, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202940, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=0, 单价=65.0, 是否赠品=False 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=0, 单价=65.0 2025-05-02 17:40:08,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=15.0, 单价=4.333333333333333 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 分组后共8 个不同条码的商品 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 条码 6973497202940 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:40:08,394 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量0,单价65.0,赠品数量0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 17:40:08,395 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 17:40:08,399 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 17:42:15,225 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 17:42:15,226 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 17:42:15,228 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 17:42:15,790 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 11 行 2025-05-02 17:42:15,790 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 17:42:15,795 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 17:42:15,801 - app.core.excel.processor - INFO - 开始处理8 个产品信息 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202940, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202940, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=15.0, 单价=4.333333333333333 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=15.0, 单价=4.333333333333333 2025-05-02 17:42:15,802 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 分组后共8 个不同条码的商品 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497202940 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 17:42:15,803 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 17:42:15,833 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 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 - 未提取到有效商品信息 2025-05-02 18:16:10,312 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:16:10,313 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:16:10,314 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:16:10,958 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 12 行 2025-05-02 18:16:10,959 - app.core.excel.processor - ERROR - 未找到条码列,无法处理 2025-05-02 18:16:10,959 - app.core.excel.processor - WARNING - 未提取到有效商品信息 2025-05-02 18:27:30,080 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:27:30,081 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:27:30,083 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:27:30,780 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 13 行 2025-05-02 18:27:30,783 - app.core.excel.processor - INFO - 找到可能的表头行: 第2行,评分: 35 2025-05-02 18:27:30,783 - app.core.excel.processor - INFO - 识别到表头在第 2 行 2025-05-02 18:27:30,821 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 11 行有效数据 2025-05-02 18:27:30,822 - app.core.excel.processor - INFO - 移除空行后,有效数据行数: 11 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 条码 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 使用条码列: 条码 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 找到name列(部分匹配): 商品全名 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 找到specification列: 规格 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 找到quantity列: 数量 2025-05-02 18:27:30,823 - app.core.excel.processor - INFO - 找到unit列: 单位 2025-05-02 18:27:30,824 - app.core.excel.processor - INFO - 找到price列: 单价 2025-05-02 18:27:30,824 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'name': '商品全名', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 18:27:30,825 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6973497202346, 名称=无糖茶栀栀乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:27:30,826 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6925019900087, 名称=无糖茶茉莉龙井, 规格=1*15, 数量=1.0, 单位=副, 单价=55.0 2025-05-02 18:27:30,826 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6973497200267, 名称=活力水平衡香水柠檬味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:27:30,827 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6973497200403, 名称=活力水平衡红提味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:27:30,827 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6873497204449, 名称=450ml轻乳茶桂花乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=65.0 2025-05-02 18:27:30,828 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6973497204432, 名称=450ml轻乳茶大红袍乌龙, 规格=1*6*15, 数量=1.0, 单位=提, 单价=65.0 2025-05-02 18:27:30,828 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6973497202360, 名称=无糖茶金桂乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:27:30,829 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6973497202889, 名称=无糖茶青柑乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:27:30,830 - app.core.excel.processor - INFO - 提取到 8 个商品信息 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 开始处理8 个产品信息 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 处理商品: 条码=6925019900087, 数量=10.0, 单价=5.5, 是否赠品=False 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 发现正常商品:条码6925019900087, 数量=10.0, 单价=5.5 2025-05-02 18:27:30,840 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:27:30,841 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:27:30,841 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:27:30,951 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:27:30,951 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 18:27:30,951 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=15.0, 单价=4.333333333333333 2025-05-02 18:27:30,951 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=90.0, 单价=0.7222222222222222, 是否赠品=False 2025-05-02 18:27:30,951 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=90.0, 单价=0.7222222222222222 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 分组后共8 个不同条码的商品 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6925019900087 处理结果:正常商品数量10.0,单价5.5,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量90.0,单价0.7222222222222222,赠品数量0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 18:27:30,952 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 2025-05-02 18:27:30,953 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:27:30,953 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:27:30,955 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 18:31:29,326 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:31:29,327 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:31:29,329 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:31:29,849 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 13 行 2025-05-02 18:31:29,852 - app.core.excel.processor - INFO - 找到可能的表头行: 第2行,评分: 35 2025-05-02 18:31:29,852 - app.core.excel.processor - INFO - 识别到表头在第 2 行 2025-05-02 18:31:29,884 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 11 行有效数据 2025-05-02 18:31:29,885 - app.core.excel.processor - INFO - 移除空行后,有效数据行数: 11 2025-05-02 18:31:29,885 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 条码 2025-05-02 18:31:29,885 - app.core.excel.processor - INFO - 使用条码列: 条码 2025-05-02 18:31:29,885 - app.core.excel.processor - INFO - 找到name列(部分匹配): 商品全名 2025-05-02 18:31:29,885 - app.core.excel.processor - INFO - 找到specification列: 规格 2025-05-02 18:31:29,886 - app.core.excel.processor - INFO - 找到quantity列: 数量 2025-05-02 18:31:29,886 - app.core.excel.processor - INFO - 找到unit列: 单位 2025-05-02 18:31:29,886 - app.core.excel.processor - INFO - 找到price列: 单价 2025-05-02 18:31:29,886 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'name': '商品全名', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 18:31:29,886 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6973497202346, 名称=无糖茶栀栀乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:31:29,887 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6925019900087, 名称=无糖茶茉莉龙井, 规格=1*15, 数量=1.0, 单位=副, 单价=55.0 2025-05-02 18:31:29,888 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6973497200267, 名称=活力水平衡香水柠檬味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:31:29,888 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6973497200403, 名称=活力水平衡红提味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:31:29,888 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6873497204449, 名称=450ml轻乳茶桂花乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=65.0 2025-05-02 18:31:29,889 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6973497204432, 名称=450ml轻乳茶大红袍乌龙, 规格=1*6*15, 数量=1.0, 单位=提, 单价=65.0 2025-05-02 18:31:29,890 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6973497202360, 名称=无糖茶金桂乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:31:29,891 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6973497202889, 名称=无糖茶青柑乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:31:29,891 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6973497202884, 名称=无糖茶(单瓶), 规格=1*9*8, 数量=1.0, 单位=盒, 单价=16.0 2025-05-02 18:31:29,896 - app.core.excel.processor - INFO - 提取到 9 个商品信息 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 开始处理9 个产品信息 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 处理商品: 条码=6925019900087, 数量=10.0, 单价=5.5, 是否赠品=False 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 发现正常商品:条码6925019900087, 数量=10.0, 单价=5.5 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:31:29,907 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=15.0, 单价=4.333333333333333 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=90.0, 单价=0.7222222222222222, 是否赠品=False 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=90.0, 单价=0.7222222222222222 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202884, 数量=72.0, 单价=0.2222222222222222, 是否赠品=False 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202884, 数量=72.0, 单价=0.2222222222222222 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 分组后共9 个不同条码的商品 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 条码 6925019900087 处理结果:正常商品数量10.0,单价5.5,赠品数量0 2025-05-02 18:31:29,908 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量90.0,单价0.7222222222222222,赠品数量0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497202884 处理结果:正常商品数量72.0,单价0.2222222222222222,赠品数量0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:31:29,909 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:31:31,499 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 18:33:05,100 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:33:05,101 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:33:05,104 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:33:05,813 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 14 行 2025-05-02 18:33:05,816 - app.core.excel.processor - INFO - 找到可能的表头行: 第3行,评分: 35 2025-05-02 18:33:05,816 - app.core.excel.processor - INFO - 识别到表头在第 3 行 2025-05-02 18:33:05,844 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 11 行有效数据 2025-05-02 18:33:05,845 - app.core.excel.processor - INFO - 移除空行后,有效数据行数: 11 2025-05-02 18:33:05,845 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 条码 2025-05-02 18:33:05,845 - app.core.excel.processor - INFO - 使用条码列: 条码 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 找到name列(部分匹配): 商品全名 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 找到specification列: 规格 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 找到quantity列: 数量 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 找到unit列: 单位 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 找到price列: 单价 2025-05-02 18:33:05,846 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'name': '商品全名', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 18:33:05,847 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6973497202346, 名称=无糖茶栀栀乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:33:05,849 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6925019900087, 名称=无糖茶茉莉龙井, 规格=1*15, 数量=1.0, 单位=副, 单价=55.0 2025-05-02 18:33:05,849 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6973497200267, 名称=活力水平衡香水柠檬味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:33:05,850 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6973497200403, 名称=活力水平衡红提味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:33:05,850 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6873497204449, 名称=450ml轻乳茶桂花乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=65.0 2025-05-02 18:33:05,851 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6973497204432, 名称=450ml轻乳茶大红袍乌龙, 规格=1*6*15, 数量=1.0, 单位=提, 单价=65.0 2025-05-02 18:33:05,851 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6973497202360, 名称=无糖茶金桂乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:33:05,852 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6973497202889, 名称=无糖茶青柑乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:33:05,852 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6973497202884, 名称=无糖茶(单瓶), 规格=1*9*8, 数量=1.0, 单位=盒, 单价=16.0 2025-05-02 18:33:05,866 - app.core.excel.processor - INFO - 提取到 9 个商品信息 2025-05-02 18:33:05,874 - app.core.excel.processor - INFO - 开始处理9 个产品信息 2025-05-02 18:33:05,874 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:33:05,874 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:33:05,874 - app.core.excel.processor - INFO - 处理商品: 条码=6925019900087, 数量=10.0, 单价=5.5, 是否赠品=False 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 发现正常商品:条码6925019900087, 数量=10.0, 单价=5.5 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=15.0, 单价=4.333333333333333 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=90.0, 单价=0.7222222222222222, 是否赠品=False 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=90.0, 单价=0.7222222222222222 2025-05-02 18:33:05,875 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202884, 数量=72.0, 单价=0.2222222222222222, 是否赠品=False 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202884, 数量=72.0, 单价=0.2222222222222222 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 分组后共9 个不同条码的商品 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6925019900087 处理结果:正常商品数量10.0,单价5.5,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量90.0,单价0.7222222222222222,赠品数量0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 2025-05-02 18:33:05,876 - app.core.excel.processor - INFO - 条码 6973497202884 处理结果:正常商品数量72.0,单价0.2222222222222222,赠品数量0 2025-05-02 18:33:05,877 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:33:05,877 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:33:07,376 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 18:38:52,879 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:38:52,880 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:38:52,881 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:38:53,571 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 14 行 2025-05-02 18:38:53,574 - app.core.excel.processor - INFO - 找到可能的表头行: 第3行,评分: 35 2025-05-02 18:38:53,574 - app.core.excel.processor - INFO - 识别到表头在第 3 行 2025-05-02 18:38:53,621 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 11 行有效数据 2025-05-02 18:38:53,623 - app.core.excel.processor - INFO - 移除空行后,有效数据行数: 11 2025-05-02 18:38:53,623 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 条码 2025-05-02 18:38:53,624 - app.core.excel.processor - INFO - 使用条码列: 条码 2025-05-02 18:38:53,624 - app.core.excel.processor - INFO - 找到name列(部分匹配): 商品全名 2025-05-02 18:38:53,624 - app.core.excel.processor - INFO - 找到specification列: 规格 2025-05-02 18:38:53,624 - app.core.excel.processor - INFO - 找到quantity列: 数量 2025-05-02 18:38:53,624 - app.core.excel.processor - INFO - 找到unit列: 单位 2025-05-02 18:38:53,625 - app.core.excel.processor - INFO - 找到price列: 单价 2025-05-02 18:38:53,625 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'name': '商品全名', 'specification': '规格', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 18:38:53,627 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6973497202346, 名称=无糖茶栀栀乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:38:53,629 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6925019900087, 名称=无糖茶茉莉龙井, 规格=1*15, 数量=1.0, 单位=副, 单价=55.0 2025-05-02 18:38:53,630 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6973497200267, 名称=活力水平衡香水柠檬味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:38:53,632 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6973497200403, 名称=活力水平衡红提味, 规格=1*15, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:38:53,634 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6873497204449, 名称=450ml轻乳茶桂花乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=65.0 2025-05-02 18:38:53,635 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6973497204432, 名称=450ml轻乳茶大红袍乌龙, 规格=1*6*15, 数量=1.0, 单位=提, 单价=65.0 2025-05-02 18:38:53,637 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6973497202360, 名称=无糖茶金桂乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:38:53,639 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6973497202889, 名称=无糖茶青柑乌龙, 规格=1*15, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:38:53,641 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6973497202884, 名称=无糖茶(单瓶), 规格=1*9*8, 数量=1.0, 单位=盒, 单价=16.0 2025-05-02 18:38:53,667 - app.core.excel.processor - INFO - 提取到 9 个商品信息 2025-05-02 18:38:53,677 - app.core.excel.processor - INFO - 开始处理9 个产品信息 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 处理商品: 条码=6925019900087, 数量=10.0, 单价=5.5, 是否赠品=False 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 发现正常商品:条码6925019900087, 数量=10.0, 单价=5.5 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:38:53,678 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=15.0, 单价=3.6666666666666665, 是否赠品=False 2025-05-02 18:38:53,679 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=15.0, 单价=3.6666666666666665 2025-05-02 18:38:53,679 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=15.0, 单价=4.333333333333333 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=15.0, 单价=4.333333333333333, 是否赠品=False 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=15.0, 单价=4.333333333333333 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=15.0 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=15.0, 单价=0, 是否赠品=True 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=15.0 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202884, 数量=8.0, 单价=2.0, 是否赠品=False 2025-05-02 18:38:53,680 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202884, 数量=8.0, 单价=2.0 2025-05-02 18:38:53,681 - app.core.excel.processor - INFO - 分组后共9 个不同条码的商品 2025-05-02 18:38:53,682 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6925019900087 处理结果:正常商品数量10.0,单价5.5,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量15.0,单价3.6666666666666665,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量15.0,单价4.333333333333333,赠品数量0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=15.0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=15.0 2025-05-02 18:38:53,683 - app.core.excel.processor - INFO - 条码 6973497202884 处理结果:正常商品数量8.0,单价2.0,赠品数量0 2025-05-02 18:38:53,684 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:38:53,684 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=15.0 2025-05-02 18:38:56,888 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls 2025-05-02 18:41:16,741 - app.core.excel.processor - INFO - 初始化ExcelProcessor 2025-05-02 18:41:16,742 - app.core.excel.processor - INFO - 初始化完成,模板文件: templates\银豹-采购单模板.xls 2025-05-02 18:41:16,744 - app.core.excel.processor - INFO - 开始处理Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx 2025-05-02 18:41:17,261 - app.core.excel.processor - INFO - 成功读取Excel文件: D:\My Documents\python\orc-order-v2\data\output\微信图片_20250227193150(1).xlsx, 共 14 行 2025-05-02 18:41:17,264 - app.core.excel.processor - INFO - 找到可能的表头行: 第3行,评分: 30 2025-05-02 18:41:17,264 - app.core.excel.processor - INFO - 识别到表头在第 3 行 2025-05-02 18:41:17,309 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 11 行有效数据 2025-05-02 18:41:17,309 - app.core.excel.processor - INFO - 移除空行后,有效数据行数: 11 2025-05-02 18:41:17,309 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 条码 2025-05-02 18:41:17,309 - app.core.excel.processor - INFO - 使用条码列: 条码 2025-05-02 18:41:17,309 - app.core.excel.processor - INFO - 找到name列(部分匹配): 商品全名 2025-05-02 18:41:17,310 - app.core.excel.processor - INFO - 找到quantity列: 数量 2025-05-02 18:41:17,310 - app.core.excel.processor - INFO - 找到unit列: 单位 2025-05-02 18:41:17,310 - app.core.excel.processor - INFO - 找到price列: 单价 2025-05-02 18:41:17,310 - app.core.excel.processor - INFO - 列名映射结果: {'barcode': '条码', 'name': '商品全名', 'quantity': '数量', 'unit': '单位', 'price': '单价'} 2025-05-02 18:41:17,311 - app.core.excel.processor - INFO - 第1行: 提取商品信息 条码=6973497202346, 名称=无糖茶栀栀乌龙*15入纸箱, 规格=, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:41:17,311 - app.core.excel.processor - INFO - 从商品名称推断规格: 无糖茶栀栀乌龙*15入纸箱 -> 1*5 2025-05-02 18:41:17,312 - app.core.excel.processor - INFO - 第2行: 提取商品信息 条码=6925019900087, 名称=无糖茶茉莉龙井16入纸箱, 规格=, 数量=1.0, 单位=副, 单价=55.0 2025-05-02 18:41:17,312 - app.core.excel.processor - INFO - 从商品名称推断规格: 无糖茶茉莉龙井16入纸箱 -> 1*6 2025-05-02 18:41:17,312 - app.core.excel.processor - INFO - 第3行: 提取商品信息 条码=6973497200267, 名称=活力水平衡香水柠檬味, 规格=, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:41:17,314 - app.core.excel.processor - INFO - 第4行: 提取商品信息 条码=6973497200403, 名称=活力水平衡红提味, 规格=, 数量=1.0, 单位=件, 单价=55.0 2025-05-02 18:41:17,314 - app.core.excel.processor - INFO - 第5行: 提取商品信息 条码=6873497204449, 名称=450ml轻乳茶桂花乌龙18纸箱, 规格=, 数量=1.0, 单位=件, 单价=65.0 2025-05-02 18:41:17,314 - app.core.excel.processor - INFO - 第6行: 提取商品信息 条码=6973497204432, 名称=450ml轻乳茶大红袍乌龙12入纸箱, 规格=, 数量=1.0, 单位=提, 单价=65.0 2025-05-02 18:41:17,314 - app.core.excel.processor - INFO - 从商品名称推断规格: 450ml轻乳茶大红袍乌龙12入纸箱 -> 1*2 2025-05-02 18:41:17,315 - app.core.excel.processor - INFO - 第7行: 提取商品信息 条码=6973497202360, 名称=无糖茶金桂乌龙, 规格=, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:41:17,316 - app.core.excel.processor - INFO - 第8行: 提取商品信息 条码=6973497202889, 名称=无糖茶青柑乌龙, 规格=, 数量=1.0, 单位=件, 单价=0 2025-05-02 18:41:17,317 - app.core.excel.processor - INFO - 第9行: 提取商品信息 条码=6973497202884, 名称=无糖茶(单瓶), 规格=, 数量=1.0, 单位=盒, 单价=16.0 2025-05-02 18:41:17,318 - app.core.excel.processor - INFO - 提取到 9 个商品信息 2025-05-02 18:41:17,329 - app.core.excel.processor - INFO - 开始处理9 个产品信息 2025-05-02 18:41:17,329 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202346, 数量=5.0, 单价=11.0, 是否赠品=False 2025-05-02 18:41:17,329 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202346, 数量=5.0, 单价=11.0 2025-05-02 18:41:17,330 - app.core.excel.processor - INFO - 处理商品: 条码=6925019900087, 数量=10.0, 单价=5.5, 是否赠品=False 2025-05-02 18:41:17,391 - app.core.excel.processor - INFO - 发现正常商品:条码6925019900087, 数量=10.0, 单价=5.5 2025-05-02 18:41:17,392 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200267, 数量=1.0, 单价=55.0, 是否赠品=False 2025-05-02 18:41:17,392 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200267, 数量=1.0, 单价=55.0 2025-05-02 18:41:17,392 - app.core.excel.processor - INFO - 处理商品: 条码=6973497200403, 数量=1.0, 单价=55.0, 是否赠品=False 2025-05-02 18:41:17,392 - app.core.excel.processor - INFO - 发现正常商品:条码6973497200403, 数量=1.0, 单价=55.0 2025-05-02 18:41:17,392 - app.core.excel.processor - INFO - 处理商品: 条码=6873497204449, 数量=1.0, 单价=65.0, 是否赠品=False 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 发现正常商品:条码6873497204449, 数量=1.0, 单价=65.0 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497204432, 数量=1.0, 单价=65.0, 是否赠品=False 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 发现正常商品:条码6973497204432, 数量=1.0, 单价=65.0 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202360, 数量=1.0, 单价=0, 是否赠品=True 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 发现赠品:条码6973497202360, 数量=1.0 2025-05-02 18:41:17,393 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202889, 数量=1.0, 单价=0, 是否赠品=True 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 发现赠品:条码6973497202889, 数量=1.0 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 处理商品: 条码=6973497202884, 数量=1.0, 单价=16.0, 是否赠品=False 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 发现正常商品:条码6973497202884, 数量=1.0, 单价=16.0 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 分组后共9 个不同条码的商品 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 条码 6973497202346 处理结果:正常商品数量5.0,单价11.0,赠品数量0 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 条码 6925019900087 处理结果:正常商品数量10.0,单价5.5,赠品数量0 2025-05-02 18:41:17,394 - app.core.excel.processor - INFO - 条码 6973497200267 处理结果:正常商品数量1.0,单价55.0,赠品数量0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6973497200403 处理结果:正常商品数量1.0,单价55.0,赠品数量0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6873497204449 处理结果:正常商品数量1.0,单价65.0,赠品数量0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6973497204432 处理结果:正常商品数量1.0,单价65.0,赠品数量0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6973497202360 处理结果:只有赠品,数量=1.0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6973497202889 处理结果:只有赠品,数量=1.0 2025-05-02 18:41:17,395 - app.core.excel.processor - INFO - 条码 6973497202884 处理结果:正常商品数量1.0,单价16.0,赠品数量0 2025-05-02 18:41:17,396 - app.core.excel.processor - INFO - 条码 6973497202360 填充:仅有赠品,采购量=0,赠品数量=1.0 2025-05-02 18:41:17,396 - app.core.excel.processor - INFO - 条码 6973497202889 填充:仅有赠品,采购量=0,赠品数量=1.0 2025-05-02 18:41:17,400 - app.core.excel.processor - INFO - 采购单已保存到: D:\My Documents\python\orc-order-v2\data\output\采购单_微信图片_20250227193150(1).xls