|
@ -30,18 +30,19 @@ URL: http://localhost:8033/open/leaptonAddDeliveryPlan |
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 | |
|
|
| 参数名 | 类型 | 必填 | 说明 | |
|
|
| :-- | :-- | :-- | :-- | |
|
|
| :-- | :-- | :-- | :-- | |
|
|
|
|
|
| lineNum | long | 是 | ERP 行号<br>此参数不传时默认为 0。 | |
|
|
| customer | string | 否 | 订货客户 来源销售订单 | |
|
|
| customer | string | 否 | 订货客户 来源销售订单 | |
|
|
| receivingLocation | string | 否 | 收货位置 来源客户 | |
|
|
| receivingLocation | string | 否 | 收货位置 来源客户 | |
|
|
| matCode | string | 否 | 料号 来源销售订单 | |
|
|
| matCode | string | 否 | 料号 来源销售订单 | |
|
|
| matName | string | 否 | 品名 来源销售订单 | |
|
|
| matName | string | 否 | 品名 来源销售订单 | |
|
|
| qty | string | 否 | 数量 来源销售订单 | |
|
|
| qty | double | 是 | 数量 来源销售订单<br>保留 6 位有效小数,此参数不传时默认为 0。 | |
|
|
| unit | string | 否 | 单位 来源销售订单 | |
|
|
| unit | string | 否 | 单位 来源销售订单 | |
|
|
| dispatchingDate | string | 否 | 出货日期 单据默认日期可修改 | |
|
|
| dispatchingDate | string | 否 | 出货日期 单据默认日期可修改 | |
|
|
| storageLocation | string | 否 | 存储地点 来源销售订单 | |
|
|
| storageLocation | string | 否 | 存储地点 来源销售订单 | |
|
|
| detailBillCode | string | 否 | 明细行来源单号 来源销售订单 | |
|
|
| detailBillCode | string | 否 | 明细行来源单号 来源销售订单 | |
|
|
| totalPrice | string | 否 | 价税合计 来源销售订单 | |
|
|
| totalPrice | double | 是 | 价税合计 来源销售订单<br>保留 6 位有效小数,此参数不传时默认为 0。 | |
|
|
| untaxedPrice | string | 否 | 未税金额 来源销售订单 | |
|
|
| untaxedPrice | double | 是 | 未税金额 来源销售订单<br>保留 6 位有效小数,此参数不传时默认为 0。 | |
|
|
| unitPrice | string | 否 | 单价 来源销售订单 | |
|
|
| unitPrice | double | 是 | 单价 来源销售订单<br>保留 6 位有效小数,此参数不传时默认为 0。 | |
|
|
|
|
|
|
|
|
请求示例 |
|
|
请求示例 |
|
|
|
|
|
|
|
@ -49,40 +50,42 @@ 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": "", |
|
|
"lines": [ |
|
|
"lines": [ |
|
|
{ |
|
|
{ |
|
|
"customer": "line 1: customer", |
|
|
"lineNum": 0, |
|
|
"receivingLocation": "line 1: receivingLocation", |
|
|
"customer": "", |
|
|
"matCode": "line 1: matCode", |
|
|
"receivingLocation": "", |
|
|
"matName": "line 1: matName", |
|
|
"matCode": "", |
|
|
"qty": "line 1: qty", |
|
|
"matName": "", |
|
|
"unit": "line 1: unit", |
|
|
"qty": 1, |
|
|
"dispatchingDate": "line 1: dispatchingDate", |
|
|
"unit": "", |
|
|
"storageLocation": "line 1: storageLocation", |
|
|
"dispatchingDate": "", |
|
|
"detailBillCode": "line 1: detailBillCode", |
|
|
"storageLocation": "", |
|
|
"totalPrice": "line 1: totalPrice", |
|
|
"detailBillCode": "", |
|
|
"untaxedPrice": "line 1: untaxedPrice", |
|
|
"totalPrice": 1, |
|
|
"unitPrice": "line 1: unitPrice" |
|
|
"untaxedPrice": 1, |
|
|
|
|
|
"unitPrice": 1 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"customer": "line 2: customer", |
|
|
"lineNum": 0, |
|
|
"receivingLocation": "line 2: receivingLocation", |
|
|
"customer": "", |
|
|
"matCode": "line 2: matCode", |
|
|
"receivingLocation": "", |
|
|
"matName": "line 2: matName", |
|
|
"matCode": "", |
|
|
"qty": "line 2: qty", |
|
|
"matName": "", |
|
|
"unit": "line 2: unit", |
|
|
"qty": 2, |
|
|
"dispatchingDate": "line 2: dispatchingDate", |
|
|
"unit": "", |
|
|
"storageLocation": "line 2: storageLocation", |
|
|
"dispatchingDate": "", |
|
|
"detailBillCode": "line 2: detailBillCode", |
|
|
"storageLocation": "", |
|
|
"totalPrice": "line 2: totalPrice", |
|
|
"detailBillCode": "", |
|
|
"untaxedPrice": "line 2: untaxedPrice", |
|
|
"totalPrice": 3, |
|
|
"unitPrice": "line 2: unitPrice" |
|
|
"untaxedPrice": 3, |
|
|
} |
|
|
"unitPrice": 1.5 |
|
|
|
|
|
}, |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -104,62 +107,64 @@ URL: http://localhost:8033/open/leaptonAddDeliveryPlan |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
{ |
|
|
{ |
|
|
"clock": "2023-08-22 08:44:43.549", |
|
|
"clock": "2023-08-22 10:35:47.913", |
|
|
"duration": "132ms", |
|
|
"duration": "87ms", |
|
|
"status": "ok", |
|
|
"status": "ok", |
|
|
"data": { |
|
|
"data": { |
|
|
"deleted": null, |
|
|
"deleted": null, |
|
|
"profile": "profile", |
|
|
"profile": "profile", |
|
|
"billType": "billType", |
|
|
"billType": "", |
|
|
"planner": "planner", |
|
|
"planner": "", |
|
|
"maker": "maker", |
|
|
"maker": "", |
|
|
"sourceType": "sourceType", |
|
|
"sourceType": "", |
|
|
"billCode": "billCode", |
|
|
"billCode": "", |
|
|
"lines": [ |
|
|
"lines": [ |
|
|
{ |
|
|
{ |
|
|
"headKey": "4246f006287f4ce38ae1d04207421a9e", |
|
|
"headKey": "0b9bed8807a04f678a7ac9761270fffd", |
|
|
"lineIndex": 0, |
|
|
"lineIndex": 0, |
|
|
"customer": "line 1: customer", |
|
|
"lineNum": 0, |
|
|
"receivingLocation": "line 1: receivingLocation", |
|
|
"customer": "", |
|
|
"matCode": "line 1: matCode", |
|
|
"receivingLocation": "", |
|
|
"matName": "line 1: matName", |
|
|
"matCode": "", |
|
|
"qty": "line 1: qty", |
|
|
"matName": "", |
|
|
"unit": "line 1: unit", |
|
|
"qty": 1.0, |
|
|
"dispatchingDate": "line 1: dispatchingDate", |
|
|
"unit": "", |
|
|
"storageLocation": "line 1: storageLocation", |
|
|
"dispatchingDate": "", |
|
|
"detailBillCode": "line 1: detailBillCode", |
|
|
"storageLocation": "", |
|
|
"totalPrice": "line 1: totalPrice", |
|
|
"detailBillCode": "", |
|
|
"untaxedPrice": "line 1: untaxedPrice", |
|
|
"totalPrice": 1.0, |
|
|
"unitPrice": "line 1: unitPrice", |
|
|
"untaxedPrice": 1.0, |
|
|
"created": "2023-08-22 08:44:43.499", |
|
|
"unitPrice": 1.0, |
|
|
"updated": "2023-08-22 08:44:43.499", |
|
|
"created": "2023-08-22 10:35:47.876", |
|
|
"key": "e5c5d2dfd8bc4de49439bbd007526db0", |
|
|
"updated": "2023-08-22 10:35:47.876", |
|
|
|
|
|
"key": "f1c9f505a3ea4dfb8aa693de23602655", |
|
|
"flag": 1 |
|
|
"flag": 1 |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"headKey": "4246f006287f4ce38ae1d04207421a9e", |
|
|
"headKey": "0b9bed8807a04f678a7ac9761270fffd", |
|
|
"lineIndex": 1, |
|
|
"lineIndex": 1, |
|
|
"customer": "line 2: customer", |
|
|
"lineNum": 0, |
|
|
"receivingLocation": "line 2: receivingLocation", |
|
|
"customer": "", |
|
|
"matCode": "line 2: matCode", |
|
|
"receivingLocation": "", |
|
|
"matName": "line 2: matName", |
|
|
"matCode": "", |
|
|
"qty": "line 2: qty", |
|
|
"matName": "", |
|
|
"unit": "line 2: unit", |
|
|
"qty": 2.0, |
|
|
"dispatchingDate": "line 2: dispatchingDate", |
|
|
"unit": "", |
|
|
"storageLocation": "line 2: storageLocation", |
|
|
"dispatchingDate": "", |
|
|
"detailBillCode": "line 2: detailBillCode", |
|
|
"storageLocation": "", |
|
|
"totalPrice": "line 2: totalPrice", |
|
|
"detailBillCode": "", |
|
|
"untaxedPrice": "line 2: untaxedPrice", |
|
|
"totalPrice": 3.0, |
|
|
"unitPrice": "line 2: unitPrice", |
|
|
"untaxedPrice": 3.0, |
|
|
"created": "2023-08-22 08:44:43.509", |
|
|
"unitPrice": 1.5, |
|
|
"updated": "2023-08-22 08:44:43.509", |
|
|
"created": "2023-08-22 10:35:47.882", |
|
|
"key": "1f5a4b2f0b084f7495cf60fe1886b8c1", |
|
|
"updated": "2023-08-22 10:35:47.882", |
|
|
|
|
|
"key": "4d296cc2907d4919a9e4bfd86d98e3db", |
|
|
"flag": 1 |
|
|
"flag": 1 |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"created": "2023-08-22 08:44:43.489", |
|
|
"created": "2023-08-22 10:35:47.872", |
|
|
"updated": "2023-08-22 08:44:43.489", |
|
|
"updated": "2023-08-22 10:35:47.872", |
|
|
"key": "4246f006287f4ce38ae1d04207421a9e", |
|
|
"key": "0b9bed8807a04f678a7ac9761270fffd", |
|
|
"flag": 1 |
|
|
"flag": 1 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|