forked from erp-dev/erp
feat: added migrate for set id init value into 8000 of plate_order
This commit is contained in:
@@ -201,6 +201,7 @@ Content-Type: application/json
|
||||
- `merchandiser`: 跟单员ID
|
||||
- `style_name`: 款式名称
|
||||
- `fabric`: 面料
|
||||
- `fabric_source`: 布料来源(可空字符串,如“客户提供”)
|
||||
- `width`: 幅宽
|
||||
- `production_method`: 做货方式
|
||||
- `is_mark_frame`: 是否套唛架
|
||||
@@ -219,7 +220,7 @@ Content-Type: application/json
|
||||
|
||||
**响应**
|
||||
- 状态码: `201 Created`
|
||||
- 响应体: 创建的开版订单详情(同详情接口)
|
||||
- 响应体: 创建的开版订单详情(同详情接口)。若 `design_code` 为空,返回值会自动使用 6 位补零的主键(如 `000123`)。
|
||||
|
||||
**错误响应**
|
||||
```json
|
||||
@@ -707,6 +708,8 @@ curl -X GET "http://api.example.com/api/v1/plate-orders/1/timeline/" \
|
||||
- 推进/回退操作需要订单已关联 BusinessObject
|
||||
- timeline 接口不包含已撤销的流程记录
|
||||
- completed-states 接口默认不包含已撤销记录,可通过 `include_cancelled=true` 参数包含
|
||||
9. **设计编号回退**: 所有响应中若 `design_code` 为空,会自动使用主键生成 6 位补零字符串(如 `000123`),确保前端始终有值可显示
|
||||
10. **布料来源**: `fabric_source` 为可选字段,建议用于区分客户提供、仓库调拨等不同来源信息
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user