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