From f16b3bd6deddb5380ae96c68e10dfb70169e200f Mon Sep 17 00:00:00 2001 From: Elivo Date: Mon, 21 Aug 2023 16:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20WMS=20API=EF=BC=9ALeaptonA?= =?UTF-8?q?ddDeliveryPlan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/发货通知/LeaptonAddDeliveryPlan.md | 111 +++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 wms/发货通知/LeaptonAddDeliveryPlan.md diff --git a/wms/发货通知/LeaptonAddDeliveryPlan.md b/wms/发货通知/LeaptonAddDeliveryPlan.md new file mode 100644 index 0000000..06d55d0 --- /dev/null +++ b/wms/发货通知/LeaptonAddDeliveryPlan.md @@ -0,0 +1,111 @@ +### LeaptonAddDeliveryPlan + +此接口用于添加一项发货计划记录。 + +--- + +### 基本信息 + +方法:POST + +URL: http://localhost:8033/open/leaptonAddDeliveryPlan + +--- + +### 请求 + +请求参数 + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区代码 | +| billType | string | 否 | 单据类型 手选 | +| planner | string | 否 | 计划员 创建人 | +| maker | string | 否 | 制单人 创建人 | +| sourceType | string | 否 | 来源类型 销售订单 | +| billCode | string | 否 | 来源单号 销售订单号 | +| customer | string | 否 | 订货客户 来源销售订单 | +| receivingLocation | string | 否 | 收货位置 来源客户 | +| matCode | string | 否 | 料号 来源销售订单 | +| matName | string | 否 | 品名 来源销售订单 | +| qty | string | 否 | 数量 来源销售订单 | +| unit | string | 否 | 单位 来源销售订单 | +| dispatchingDate | string | 否 | 出货日期 单据默认日期可修改 | +| storageLocation | string | 否 | 存储地点 来源销售订单 | +| detailBillCode | string | 否 | 明细行来源单号 来源销售订单 | +| totalPrice | string | 否 | 价税合计 来源销售订单 | +| untaxedPrice | string | 否 | 未税金额 来源销售订单 | +| unitPrice | string | 否 | 单价 来源销售订单 | + +请求示例 + +``` +{ + "data": { + "profile": "profile", + "billType": "", + "planner": "", + "maker": "", + "sourceType": "", + "billCode": "", + "customer": "", + "receivingLocation": "", + "matCode": "", + "matName": "", + "qty": "", + "unit": "", + "dispatchingDate": "", + "storageLocation": "", + "detailBillCode": "", + "totalPrice": "", + "untaxedPrice": "", + "unitPrice": "" + } +} +``` + +--- + +### 响应 + +保存成功时,服务端将返回此条记录,和记录的主键。 + +新增的字段: + +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| key | string | 是 | 记录主键,由系统自动生成。 | +| profile | string | 厂区代码 | + +``` +{ + "clock": "2023-08-21 16:38:58.955", + "duration": "60ms", + "status": "ok", + "data": { + "profile": "profile", + "billType": "", + "planner": "", + "maker": "", + "sourceType": "", + "billCode": "", + "customer": "", + "receivingLocation": "", + "matCode": "", + "matName": "", + "qty": "", + "unit": "", + "dispatchingDate": "", + "storageLocation": "", + "detailBillCode": "", + "totalPrice": "", + "untaxedPrice": "", + "unitPrice": "", + "key": "d12d28c9ea634d6c9aee8eb99ce56201", + "flag": 1 + "created": "2023-08-21 16:38:58.910", + "updated": "2023-08-21 16:38:58.910", + "deleted": null, + } +} +``` \ No newline at end of file