|
@ -1,6 +1,6 @@ |
|
|
### LeaptonAddDeliveryPlan |
|
|
### LeaptonAddDeliveryPlan |
|
|
|
|
|
|
|
|
此接口用于添加一项发货计划记录。 |
|
|
此接口用于添加发货计划。 |
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
@ -24,6 +24,12 @@ URL: http://localhost:8033/open/leaptonAddDeliveryPlan |
|
|
| maker | string | 否 | 制单人 创建人 | |
|
|
| maker | string | 否 | 制单人 创建人 | |
|
|
| sourceType | string | 否 | 来源类型 销售订单 | |
|
|
| sourceType | string | 否 | 来源类型 销售订单 | |
|
|
| billCode | string | 否 | 来源单号 销售订单号 | |
|
|
| billCode | string | 否 | 来源单号 销售订单号 | |
|
|
|
|
|
| lines | array | 是 | 行记录 | |
|
|
|
|
|
|
|
|
|
|
|
行记录参数 |
|
|
|
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 | |
|
|
|
|
|
| :-- | :-- | :-- | :-- | |
|
|
| customer | string | 否 | 订货客户 来源销售订单 | |
|
|
| customer | string | 否 | 订货客户 来源销售订单 | |
|
|
| receivingLocation | string | 否 | 收货位置 来源客户 | |
|
|
| receivingLocation | string | 否 | 收货位置 来源客户 | |
|
|
| matCode | string | 否 | 料号 来源销售订单 | |
|
|
| matCode | string | 否 | 料号 来源销售订单 | |
|
@ -43,23 +49,41 @@ URL: http://localhost:8033/open/leaptonAddDeliveryPlan |
|
|
{ |
|
|
{ |
|
|
"data": { |
|
|
"data": { |
|
|
"profile": "profile", |
|
|
"profile": "profile", |
|
|
"billType": "", |
|
|
"billType": "billType", |
|
|
"planner": "", |
|
|
"planner": "planner", |
|
|
"maker": "", |
|
|
"maker": "maker", |
|
|
"sourceType": "", |
|
|
"sourceType": "sourceType", |
|
|
"billCode": "", |
|
|
"billCode": "billCode", |
|
|
"customer": "", |
|
|
"lines": [ |
|
|
"receivingLocation": "", |
|
|
{ |
|
|
"matCode": "", |
|
|
"customer": "line 1: customer", |
|
|
"matName": "", |
|
|
"receivingLocation": "line 1: receivingLocation", |
|
|
"qty": "", |
|
|
"matCode": "line 1: matCode", |
|
|
"unit": "", |
|
|
"matName": "line 1: matName", |
|
|
"dispatchingDate": "", |
|
|
"qty": "line 1: qty", |
|
|
"storageLocation": "", |
|
|
"unit": "line 1: unit", |
|
|
"detailBillCode": "", |
|
|
"dispatchingDate": "line 1: dispatchingDate", |
|
|
"totalPrice": "", |
|
|
"storageLocation": "line 1: storageLocation", |
|
|
"untaxedPrice": "", |
|
|
"detailBillCode": "line 1: detailBillCode", |
|
|
"unitPrice": "" |
|
|
"totalPrice": "line 1: totalPrice", |
|
|
|
|
|
"untaxedPrice": "line 1: untaxedPrice", |
|
|
|
|
|
"unitPrice": "line 1: unitPrice" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"customer": "line 2: customer", |
|
|
|
|
|
"receivingLocation": "line 2: receivingLocation", |
|
|
|
|
|
"matCode": "line 2: matCode", |
|
|
|
|
|
"matName": "line 2: matName", |
|
|
|
|
|
"qty": "line 2: qty", |
|
|
|
|
|
"unit": "line 2: unit", |
|
|
|
|
|
"dispatchingDate": "line 2: dispatchingDate", |
|
|
|
|
|
"storageLocation": "line 2: storageLocation", |
|
|
|
|
|
"detailBillCode": "line 2: detailBillCode", |
|
|
|
|
|
"totalPrice": "line 2: totalPrice", |
|
|
|
|
|
"untaxedPrice": "line 2: untaxedPrice", |
|
|
|
|
|
"unitPrice": "line 2: unitPrice" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
``` |
|
|
``` |
|
@ -74,38 +98,69 @@ URL: http://localhost:8033/open/leaptonAddDeliveryPlan |
|
|
|
|
|
|
|
|
| 字段 | 类型 | 说明 | |
|
|
| 字段 | 类型 | 说明 | |
|
|
| :-- | :-- | :-- | |
|
|
| :-- | :-- | :-- | |
|
|
| key | string | 是 | 记录主键,由系统自动生成。 | |
|
|
| key | string | 主键,由系统自动生成。 | |
|
|
| profile | string | 厂区代码 | |
|
|
| headKey | string | 主记录的主键,由系统自动填写。 | |
|
|
|
|
|
| lineIndex | integer | 行索引,由系统自动填写,从 0 开始。 | |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
{ |
|
|
{ |
|
|
"clock": "2023-08-21 16:38:58.955", |
|
|
"clock": "2023-08-22 08:44:43.549", |
|
|
"duration": "60ms", |
|
|
"duration": "132ms", |
|
|
"status": "ok", |
|
|
"status": "ok", |
|
|
"data": { |
|
|
"data": { |
|
|
"profile": "profile", |
|
|
"deleted": null, |
|
|
"billType": "", |
|
|
"profile": "profile", |
|
|
"planner": "", |
|
|
"billType": "billType", |
|
|
"maker": "", |
|
|
"planner": "planner", |
|
|
"sourceType": "", |
|
|
"maker": "maker", |
|
|
"billCode": "", |
|
|
"sourceType": "sourceType", |
|
|
"customer": "", |
|
|
"billCode": "billCode", |
|
|
"receivingLocation": "", |
|
|
"lines": [ |
|
|
"matCode": "", |
|
|
{ |
|
|
"matName": "", |
|
|
"headKey": "4246f006287f4ce38ae1d04207421a9e", |
|
|
"qty": "", |
|
|
"lineIndex": 0, |
|
|
"unit": "", |
|
|
"customer": "line 1: customer", |
|
|
"dispatchingDate": "", |
|
|
"receivingLocation": "line 1: receivingLocation", |
|
|
"storageLocation": "", |
|
|
"matCode": "line 1: matCode", |
|
|
"detailBillCode": "", |
|
|
"matName": "line 1: matName", |
|
|
"totalPrice": "", |
|
|
"qty": "line 1: qty", |
|
|
"untaxedPrice": "", |
|
|
"unit": "line 1: unit", |
|
|
"unitPrice": "", |
|
|
"dispatchingDate": "line 1: dispatchingDate", |
|
|
"key": "d12d28c9ea634d6c9aee8eb99ce56201", |
|
|
"storageLocation": "line 1: storageLocation", |
|
|
"flag": 1 |
|
|
"detailBillCode": "line 1: detailBillCode", |
|
|
"created": "2023-08-21 16:38:58.910", |
|
|
"totalPrice": "line 1: totalPrice", |
|
|
"updated": "2023-08-21 16:38:58.910", |
|
|
"untaxedPrice": "line 1: untaxedPrice", |
|
|
"deleted": null, |
|
|
"unitPrice": "line 1: unitPrice", |
|
|
} |
|
|
"created": "2023-08-22 08:44:43.499", |
|
|
|
|
|
"updated": "2023-08-22 08:44:43.499", |
|
|
|
|
|
"key": "e5c5d2dfd8bc4de49439bbd007526db0", |
|
|
|
|
|
"flag": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"headKey": "4246f006287f4ce38ae1d04207421a9e", |
|
|
|
|
|
"lineIndex": 1, |
|
|
|
|
|
"customer": "line 2: customer", |
|
|
|
|
|
"receivingLocation": "line 2: receivingLocation", |
|
|
|
|
|
"matCode": "line 2: matCode", |
|
|
|
|
|
"matName": "line 2: matName", |
|
|
|
|
|
"qty": "line 2: qty", |
|
|
|
|
|
"unit": "line 2: unit", |
|
|
|
|
|
"dispatchingDate": "line 2: dispatchingDate", |
|
|
|
|
|
"storageLocation": "line 2: storageLocation", |
|
|
|
|
|
"detailBillCode": "line 2: detailBillCode", |
|
|
|
|
|
"totalPrice": "line 2: totalPrice", |
|
|
|
|
|
"untaxedPrice": "line 2: untaxedPrice", |
|
|
|
|
|
"unitPrice": "line 2: unitPrice", |
|
|
|
|
|
"created": "2023-08-22 08:44:43.509", |
|
|
|
|
|
"updated": "2023-08-22 08:44:43.509", |
|
|
|
|
|
"key": "1f5a4b2f0b084f7495cf60fe1886b8c1", |
|
|
|
|
|
"flag": 1 |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"created": "2023-08-22 08:44:43.489", |
|
|
|
|
|
"updated": "2023-08-22 08:44:43.489", |
|
|
|
|
|
"key": "4246f006287f4ce38ae1d04207421a9e", |
|
|
|
|
|
"flag": 1 |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
``` |
|
|
``` |