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.
130 lines
3.2 KiB
130 lines
3.2 KiB
12 months ago
|
### AddDeliveryPlan
|
||
|
|
||
|
此接口用于添加发货计划(发货通知单)。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
|
||
|
方法:POST
|
||
|
|
||
|
URL: http://localhost:8033/open/AddDeliveryPlan
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
__请求参数__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | string | 是 | 厂区代码 |
|
||
|
| ordNo | string | 是 | 计划单号(通知单号) |
|
||
|
| power | decimal | 否 | 功率 |
|
||
|
| currentGrade | string | 否 | 电流挡 |
|
||
|
| finalGrade | string | 否 | 最终等级 |
|
||
|
| color | string | 否 | 颜色 |
|
||
|
| customerCode | string | 否 | 客户代码 |
|
||
|
| customer | string | 否 | 客户 |
|
||
|
| number | long | 否 | 发货数量 |
|
||
|
| deliveryType | int | 否 | 发货类型 1国内 2国外 |
|
||
|
| deliveryTime | string | 否 | 发货时间 yyyy-MM-dd HH:mm:ss |
|
||
|
| onlyNumber | string | 否 | 唯一码 |
|
||
|
| goodsCode | string | 否 | 货物编码 |
|
||
|
| goodsDesc | string | 否 | 货物描述 |
|
||
|
| contractNo | string | 否 | 销售合同号 |
|
||
|
| batches | Array | 否 | 发货批次 |
|
||
|
|
||
|
__batches__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| batchNo | string | 是 | 批次号(唯一序号) |
|
||
|
| materialCode | string | 是 | 物料代码 |
|
||
|
| deliveryNeed | string | 否 | 发货需求 |
|
||
|
| customerCode | string | 否 | 客户代码(未填使用表单中客户代码) |
|
||
|
| customer | string | 否 | 客户(未填使用表单中客户) |
|
||
|
| contractNo | string | 否 | 销售合同号(未填使用表单中销售合同号) |
|
||
|
| billNo | string | 否 | 销售订单号 |
|
||
|
| goodDesc | string | 否 | 货物名称 |
|
||
|
| power | decimal | 否 | 功率 |
|
||
|
| currentGrade | string | 否 | 电流挡 |
|
||
|
| finalGrade | string | 否 | 最终等级 |
|
||
|
| color | string | 否 | 颜色 |
|
||
|
| number | long | 否 | 申请组件数量 |
|
||
|
| isGift | int | 否 | 是否正品 1是 2否 |
|
||
|
| htlx | string | 否 | 合同类型 |
|
||
|
| deliveryTime | string | 否 | 预计发货时间 |
|
||
|
| saleMan | string | 否 | 业务员 |
|
||
|
|
||
|
__请求示例__
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"data":{
|
||
|
"profile":"测试",
|
||
|
"ordNo":"",
|
||
|
"power":550,
|
||
|
"currentGrade":"",
|
||
|
"finalGrade":"A",
|
||
|
"color":"B",
|
||
|
"customerCode":"C001",
|
||
|
"customer":"政府",
|
||
|
"number":10000000,
|
||
|
"deliveryType":1,
|
||
|
"deliveryTime":"2023-01-01 09:00:00",
|
||
|
"onlyNumber":"FHZF00000211213",
|
||
|
"goodsCode":"",
|
||
|
"goodsDesc":"",
|
||
|
"contractNo":"",
|
||
|
"batches":[
|
||
|
{
|
||
|
"batchNo":"B0123123123ds",
|
||
|
"materialCode":"Module0001",
|
||
|
"deliveryNeed":"",
|
||
|
"customerCode":"",
|
||
|
"customer":"",
|
||
|
"contractNo":"",
|
||
|
"billNo":"",
|
||
|
"goodDesc":"",
|
||
|
"power":550,
|
||
|
"currentGrade":"",
|
||
|
"finalGrade":"A",
|
||
|
"color":"B",
|
||
|
"number":10000,
|
||
|
"isGift":0,
|
||
|
"htlx":"",
|
||
|
"deliveryTime":"2023-01-01 09:00:00",
|
||
|
"saleMan":""
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
```
|
||
|
|
||
|
---
|
||
|
|
||
|
### 响应
|
||
|
__响应字段__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
| clock | string | 当前服务器时钟。 |
|
||
|
| status | string | 状态,ok:成功,error:错误,exception:异常 |
|
||
|
| data | object | 成功后返回具体内容 |
|
||
|
|
||
|
__data:__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"clock": "2023-06-25 20:00:00.000",
|
||
|
"status": "ok",
|
||
|
"data": {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|