1
0
forked from erp-dev/erp

feat: added sales_items and external_products into shipments list api

This commit is contained in:
2026-01-15 17:27:30 +08:00
parent a0cd168397
commit 13c440a7fe
4 changed files with 68 additions and 2 deletions

View File

@@ -40,5 +40,6 @@
- 补齐出货单查询接口:
- `GET /api/v1/shipment/shipments/`出货单列表merchant 隔离 + LimitOffsetPagination
- `GET /api/v1/shipment/shipments/<id>/`出货单详情merchant 隔离)
- 出货单列表序列化器增强:`sales_items``external_finished_products` 字段稳定输出(无数据也返回空数组)
- 更新 `docs/shipment_api.md`:补充“查询出货单(列表/详情)”说明
- 新增 API 测试:覆盖列表/详情的商户隔离与未登录行为