You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.3 KiB
67 lines
1.3 KiB
1 year ago
|
### 删除原材料批次
|
||
|
此接口用于仓库发料,ERP发料,支持母批发料修改,支持母批、子批删除。
|
||
|
母批删除为扣减指定物料数量,子批删除为删除未使用的子批数据。
|
||
|
此接口需要认证,详情请查看《认证方式》。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
方法:POST
|
||
|
URL: http://localhost:8033/open/deleteMaterialBatch
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
__请求参数__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | String | 是 | 厂区配置profile |
|
||
|
| WorkOrder | String | 是 | 工单号 |
|
||
|
| BatchNumber | String | 是 | 母批号 |
|
||
|
| SubBatchNumber | String | 否 | 子批号,子批发料时必传子批号,否则默认为母批发料 |
|
||
|
|
||
|
__请求示例:__
|
||
|
```
|
||
|
|
||
|
{
|
||
|
{
|
||
|
"data":{
|
||
|
"profile": "测试",
|
||
|
"WorkOrder": "12346",
|
||
|
"BatchNumber": "CELL1000",
|
||
|
"SubBatchNumber": "CELL1000-01"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
````
|
||
|
|
||
|
---
|
||
|
|
||
|
### 响应
|
||
|
__响应字段__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
| clock | string | 当前服务器时钟。 |
|
||
|
| status | string | 状态,ok:成功,error:错误,exception:异常 |
|
||
|
| data | object | 成功后返回具体内容 |
|
||
|
|
||
|
__data:__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"clock": "2023-06-25 20:00:00.000",
|
||
|
"status": "ok",
|
||
|
"data": {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
```
|
||
|
|
||
|
|