1
0
forked from erp-dev/erp

fix: DISABLE_SERVER_SIDE_CURSORS

This commit is contained in:
2026-04-02 19:13:35 +08:00
parent 1be840a8c2
commit 371cd796e7
5 changed files with 111 additions and 25 deletions

View File

@@ -84,6 +84,38 @@
---
### 更新出货单
- **URL**: `/api/v1/shipment/shipments/<id>/`
- **Method**: `PATCH` / `PUT`
- **认证**: 需要登录JWT Token
说明:
- 仅允许修改业务数据字段:`customer``shipment_date``area``remark``external_id`
- 该接口不允许修改 `status`
-`草稿(未发布)` 状态的出货单允许修改
- 非草稿状态会返回 `400 Bad Request`
请求体示例:
```json
{
"area": "更新地区",
"remark": "更新备注"
}
```
错误示例:
```json
{
"detail": "仅草稿状态的出货单允许修改"
}
```
---
## 创建出货单
创建出货单并关联销售品。