limeng
a20af2e067
feat(线上代发价格): 新增实际发货商品编码与聚水潭标记|多标签两列 (#730)
## 做了什么
线上代发价格页面与 CSV 导出新增两列:
- **实际发货商品编码**:按店铺交易单号(钉钉行)/内部单号(采购单行)关联聚水潭订单(非淘系 + 淘系),列出组合装拆开后的子商品编码×数量;优先只取本行商品编码拆出的子商品,普通商品取自身,对不上时列整单;忽略被拆分/合并/作废原单,拆单合并显示
- **聚水潭标记|多标签**:订单 labels
## 修改文件
- modules/EcommerceFinance/Repositories/DingOnlineDaifaPriceMirrorRepository.php
- app/Http/Controllers/Business/Pages.php(导出加列)
- resources/views/business/pages/product-inventory/online-daifa-price.blade.php
- tests/Unit/EcommerceFinance/OnlineDaifaShipSkuLabelsTest.php(新增)、tests/Feature/Business/OnlineDaifaPricePageTest.php
## 验证
- 新增 4 个单测(组合装、混合订单、拆单、无订单)+ 原采购单单测在精简 Laravel 环境通过;Feature 测试新增断言未在完整环境运行
- 只按当前页/导出每 200 行的单号做 so_id/o_id 索引等值查询,不扫全表
## 风险
不涉及金额计算、权限、数据库结构或配置;只读镜像表。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_012AvVQFrueqWakFKTdSyu5q
Reviewed-on: #730
2026-10-28 14:34:05 +08:00
..
2026-10-26 11:30:01 +08:00
2026-09-11 13:50:12 +08:00
2026-08-24 14:29:46 +08:00
2026-10-26 16:40:16 +08:00
2026-09-07 11:55:37 +08:00
2026-10-07 11:01:29 +08:00
2026-10-15 17:00:21 +08:00
2026-10-19 17:53:14 +08:00
2026-10-06 18:46:57 +08:00
2026-10-28 14:34:05 +08:00
2026-10-13 13:58:31 +08:00
2026-10-28 10:07:29 +08:00
2026-10-07 14:50:07 +08:00
2026-07-30 16:11:38 +08:00
2026-10-25 17:06:19 +08:00
2026-10-19 17:53:14 +08:00
2026-10-27 11:01:40 +08:00
2026-07-30 18:01:57 +08:00
2026-10-26 16:01:23 +08:00
2026-10-26 16:13:27 +08:00
2026-07-30 16:11:38 +08:00
2026-10-19 17:53:14 +08:00
2026-09-14 11:40:06 +08:00
2026-08-24 14:29:46 +08:00
2026-09-15 09:21:09 +08:00
2026-10-20 19:08:47 +08:00
2026-10-27 18:21:55 +08:00
2026-08-14 20:15:34 +08:00
2026-10-24 10:23:48 +08:00
2026-10-19 18:07:12 +08:00
2026-10-07 14:05:53 +08:00
2026-10-06 18:46:57 +08:00
2026-08-17 23:11:55 +08:00
2026-10-19 14:37:09 +08:00
2026-09-07 18:03:07 +08:00
2026-10-27 11:51:05 +08:00
2026-10-27 11:51:05 +08:00
2026-09-16 18:20:25 +08:00
2026-08-14 15:21:49 +08:00
2026-09-22 18:50:23 +08:00
2026-09-22 18:50:23 +08:00
2026-10-26 11:09:22 +08:00
2026-10-27 19:27:41 +08:00
2026-07-30 16:11:38 +08:00
2026-10-12 13:14:53 +08:00
2026-10-17 20:54:13 +08:00
2026-10-09 10:25:43 +08:00
2026-09-24 16:14:17 +08:00
2026-10-26 13:52:10 +08:00
2026-10-06 18:46:57 +08:00
2026-09-15 14:39:38 +08:00
2026-09-14 11:02:29 +08:00
2026-10-06 18:46:57 +08:00
2026-09-12 11:16:33 +08:00
2026-10-23 21:42:36 +08:00
2026-09-01 11:34:37 +08:00
2026-10-13 19:54:01 +08:00
2026-10-13 20:13:53 +08:00
2026-10-13 19:54:01 +08:00
2026-10-17 20:54:13 +08:00
2026-10-18 22:27:16 +08:00
2026-10-21 16:24:15 +08:00
2026-07-30 18:01:57 +08:00
2026-09-22 14:49:09 +08:00
2026-10-06 18:46:57 +08:00
2026-10-06 18:46:57 +08:00
2026-10-12 17:22:17 +08:00
2026-09-23 11:18:17 +08:00
2026-08-24 14:29:46 +08:00
2026-10-22 11:08:56 +08:00