From a7f70800caf4cc063b62b67d5bc8ef67aa8c91a7 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Thu, 26 Sep 2024 14:03:47 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E6=9D=90=E6=96=99=E9=94=80=E5=94=AE?= =?UTF-8?q?=E5=8F=91=E8=B4=A7=E9=80=9A=E7=9F=A5=E5=8D=95=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AddMaterialDeliveryPlan.md | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 wms/原材料销售发货通知/AddMaterialDeliveryPlan.md diff --git a/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md b/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md new file mode 100644 index 0000000..0b4d289 --- /dev/null +++ b/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md @@ -0,0 +1,115 @@ +### AddMaterialDeliveryPlan + +此接口用于添加发货计划(材料销售发货通知单)。 + +--- + +### 基本信息 + +方法:POST + +URL: http://localhost:8033/open/AddMaterialDeliveryPlan + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区代码 | +| SaleNo | string | 是 | 发货通知单 | +| BusinessType | long | 是 | 业务类型 1发货 2退货 | +| MaterialSaleTime | string | 是 | 计划发货日期 | +| MaterialDeliveryDetail | Array | 是 | 发货批次 | + +__batches__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| LineId | string | 是 | 唯一行号(通知单明细批次号) | +| MaterialCode | string | 是 | 物料代码 | +| discripTionOfGoods | string | 否 | 物料名称 | +| Number | double | 是 | 申请发货数量 | +| CustomerCode | string | 是 | 客户代码 | +| isGift | int | 否 | 是否正品 1是 2否 | +| CellGrade | string | 否 | 等级(辅助属性) | +| CellColor | string | 否 | 颜色(辅助属性) | +| CellEff | string | 否 | 效率(辅助属性) | +| CellUop | string | 否 | 功率(辅助属性) | +| CurrentGrade | string | 否 | 电流(辅助属性) | + +__请求示例__ + +``` +{ + "data": { + "profile": "测试", + "SaleNo": "FHTZD001428", + "BusinessType": "1", + "MaterialSaleTime": "2024-09-30 10:00:00", + "batches": [ + { + "LineId": "103347", + "MaterialCode": "10404004", + "BillNo": "XSDD000873", + "discripTionOfGoods": "182.2*183.75单晶N型TOPCon双面电池片", + "CustomerCode": "CUST0354", + "Number": 8300.0, + "CellGrade": "A", + "CellColor":"", + "CellEff": "24.7%", + "CellUop": "", + "CurrentGrade":"" + }, + { + "LineId": "103348", + "MaterialCode": "10404004", + "BillNo": "XSDD000873", + "discripTionOfGoods": "182.2*183.75单晶N型TOPCon双面电池片", + "CustomerCode": "CUST0354", + "number": 168644.0, + "CellGrade": "A", + "CellColor":"", + "CellEff": "24.8%", + "CellUop": "", + "CurrentGrade":"" + } + ] + } +} + +``` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2024-09-26 13:53:17.804", + "duration": "7.75s", + "status": "ok", + "data": {} +} + +{ + "clock": "2024-09-26 13:50:28.317", + "duration": "15.4s", + "status": "error", + "message": "该原材料销售发货通知单号已经存在", + "data": {} +} + + From 3b4305a27f8e4ee555e21201695ce7bbe5ce9c23 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Mon, 30 Sep 2024 14:14:38 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=BD=A6=E9=97=B4?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E4=B8=8D=E8=89=AF=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/质量/列出车间生产不良明细.md | 125 +++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 mes/质量/列出车间生产不良明细.md diff --git a/mes/质量/列出车间生产不良明细.md b/mes/质量/列出车间生产不良明细.md new file mode 100644 index 0000000..d721013 --- /dev/null +++ b/mes/质量/列出车间生产不良明细.md @@ -0,0 +1,125 @@ +### 列出车间生产不良明细(ListSerialDefects) + +此接口用于获取车间组件不良明细,搜索不良明细 + +--- + +### 基本信息 + +方法:POST + +URL: http://localhost:8033/open/ListSerialDefects + +--- + +### 请求 + +请求参数 + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区代码 | +| StartTime | string | 是 | 开始时间 | +| EndTime | string | 是 | 结束时间 | +| StationType | array[string] | 否 | 站点类型(QEL(前EL)\CYHJY(层压后检验)\HEL(后EL)\QJ(全检)\QC(品质管控)) | + +示例 1: + +``` +{ + "data": { + "profile": "测试", + "StartTime": "2024-09-30 00:00:00", + "EndTime": "2024-09-31 00:00:00" + } +} +``` + +--- + +### 响应 + +响应字段 + +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| StationType | string | 站点类型 | +| DefectList | Array | 物料属性 | + +DefectList字段 + +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| SerialNbr | string | 组件序列号 | +| WksId | string | 机台号 | +| CreateTime | string | 不良创建时间 | +| DefectGroupDesc | string | 不良大类名称 | +| DefectTypeDesc | string | 不良小类名称 | +| DefectPosition | string | 不良位置 | +| Operator | string | 不良提交人 | + +查询成功时,响应如下: + +``` +{ + "clock": "2024-09-30 14:12:33.463", + "status": "ok", + "data": { + "list": [ + { + "StationType": "QEL", + "DefectList": [ + { + "SerialNbr": "20230704001", + "WksId": "QEL001", + "CreateTime": "2024-09-30 05:00:00", + "DefectGroupDesc": "EL不良", + "DefectTypeDesc": "破片", + "DefectPosition": "A-8", + "Operator": "admin" + } + ] + }, + { + "StationType": "HEL", + "DefectList": [ + { + "SerialNbr": "20230704001", + "WksId": "HEL001", + "CreateTime": "2024-09-30 05:00:00", + "DefectGroupDesc": "EL不良", + "DefectTypeDesc": "隐裂", + "DefectPosition": "C-6", + "Operator": "admin" + } + ] + }, + { + "StationType": "QJ", + "DefectList": [ + { + "SerialNbr": "20230704001", + "WksId": "QJ001", + "CreateTime": "2024-09-30 05:00:00", + "DefectGroupDesc": "外观不良", + "DefectTypeDesc": "玻璃脏污", + "DefectPosition": "", + "Operator": "admin" + } + ] + }, + ] + } +} +``` + +查询报错: + +``` +{ + "clock": "2024-09-30 20:00:00.000", + "status": "exception", + "message": "错误信息", + "data": {} +} +``` \ No newline at end of file From dbb7a2674f019a3d544e18b5d1df5650b316049f Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Fri, 18 Oct 2024 10:20:38 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E5=88=86=E5=B8=83=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E5=85=A5=E3=80=81=E8=B0=83=E5=87=BA=E5=A2=9E=E5=8A=A0=E8=B4=A7?= =?UTF-8?q?=E5=93=81=E7=B1=BB=E5=9E=8B=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../分布式调入、调出-产成品.md | 2 ++ .../分布式调入、调出-原材料.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wms/分布式调入、调出/分布式调入、调出-产成品.md b/wms/分布式调入、调出/分布式调入、调出-产成品.md index c6892e4..43b4d90 100644 --- a/wms/分布式调入、调出/分布式调入、调出-产成品.md +++ b/wms/分布式调入、调出/分布式调入、调出-产成品.md @@ -27,6 +27,7 @@ __请求参数__ | Status | String | 是 | 状态(0 禁用,1 启用)| | Type | String | 是 | 类型(0 分布式调出,1 分布式调入)| | Remark | String | 否 | 备注| +| TypeOfGoods | String | 是 | 货品类型(0 原材料,1 产成品)| | WmsDistributeAllocationDetail | Array | 是 | 分布式调入、调出明细| __WmsDistributeAllocationDetail字段__ @@ -76,6 +77,7 @@ __请求示例:__ "Status":"", "Type":"", "Remark":"", + "TypeOfGoods":"1", "WmsDistributeAllocationDetail":[ { "LineId":"", diff --git a/wms/分布式调入、调出/分布式调入、调出-原材料.md b/wms/分布式调入、调出/分布式调入、调出-原材料.md index fe7af8c..64f3af9 100644 --- a/wms/分布式调入、调出/分布式调入、调出-原材料.md +++ b/wms/分布式调入、调出/分布式调入、调出-原材料.md @@ -27,6 +27,7 @@ __请求参数__ | Status | String | 是 | 状态(0 禁用,1 启用)| | Type | String | 是 | 类型(0 分布式调出,1 分布式调入)| | Remark | String | 否 | 备注| +| TypeOfGoods | String | 是 | 货品类型(0 原材料,1 产成品)| | WmsDistributeAllocationDetail | Array | 是 | 分布式调入、调出明细| __WmsDistributeAllocationDetail字段__ @@ -76,6 +77,7 @@ __请求示例:__ "Status":"", "Type":"", "Remark":"", + "TypeOfGoods":"0", "WmsDistributeAllocationDetail":[ { "LineId":"", From d619c898e187b81585cb76303f3b64487b3f4361 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Fri, 18 Oct 2024 10:25:10 +0800 Subject: [PATCH 04/14] =?UTF-8?q?=E4=B8=8D=E8=89=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B7=A5=E5=8D=95=E3=80=81=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/质量/列出车间生产不良明细.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/mes/质量/列出车间生产不良明细.md b/mes/质量/列出车间生产不良明细.md index d721013..f5e1cbf 100644 --- a/mes/质量/列出车间生产不良明细.md +++ b/mes/质量/列出车间生产不良明细.md @@ -57,6 +57,8 @@ DefectList字段 | DefectTypeDesc | string | 不良小类名称 | | DefectPosition | string | 不良位置 | | Operator | string | 不良提交人 | +| Workorder | string | 工单号 | +| ProductCode | string | 产品编码 | 查询成功时,响应如下: @@ -76,7 +78,9 @@ DefectList字段 "DefectGroupDesc": "EL不良", "DefectTypeDesc": "破片", "DefectPosition": "A-8", - "Operator": "admin" + "Operator": "admin", + "Workorder": "20241018001", + "ProductCode": "1001" } ] }, @@ -90,7 +94,9 @@ DefectList字段 "DefectGroupDesc": "EL不良", "DefectTypeDesc": "隐裂", "DefectPosition": "C-6", - "Operator": "admin" + "Operator": "admin", + "Workorder": "20241018001", + "ProductCode": "1001" } ] }, @@ -104,7 +110,9 @@ DefectList字段 "DefectGroupDesc": "外观不良", "DefectTypeDesc": "玻璃脏污", "DefectPosition": "", - "Operator": "admin" + "Operator": "admin", + "Workorder": "20241018001", + "ProductCode": "1001" } ] }, From eaf1f478f1b2facd04b2d07de1b77b5575c45d56 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Mon, 18 Nov 2024 15:19:29 +0800 Subject: [PATCH 05/14] =?UTF-8?q?=E5=8F=91=E8=B4=A7=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0=E5=8F=91=E8=B4=A7=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E5=9C=B0=E5=9D=80=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/发货通知/AddDeliveryPlan.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wms/发货通知/AddDeliveryPlan.md b/wms/发货通知/AddDeliveryPlan.md index c7ef3eb..ba66c61 100644 --- a/wms/发货通知/AddDeliveryPlan.md +++ b/wms/发货通知/AddDeliveryPlan.md @@ -36,6 +36,7 @@ __请求参数__ | contractNo | string | 否 | 销售合同号 | | batches | Array | 否 | 发货批次 | | ERP_Status | int | 否 | 发货状态(0:创建;1:可发货) | +| ERP_ShipTo | string | 否 | 发货客户地址 | __batches__ @@ -59,6 +60,7 @@ __batches__ | deliveryTime | string | 否 | 预计发货时间/退货时间 | | saleMan | string | 否 | 业务员 | | pallets | Array | 否 | 托盘号数组 ["123","1234","123456"] | +| ERP_ShipTo | string | 否 | 发货客户地址 | __请求示例__ @@ -81,6 +83,7 @@ __请求示例__ "goodsCode":"", "goodsDesc":"", "contractNo":"", + "ERP_ShipTo":"", "batches":[ { "batchNo":"B0123123123ds", @@ -104,7 +107,8 @@ __请求示例__ "123", "12345", "123456" - ] + ], + "ERP_ShipTo":"" } ] } From c60e9e1b02946294e0cef29c5bc9522b53d881e5 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Thu, 12 Dec 2024 13:31:02 +0800 Subject: [PATCH 06/14] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=9B=B4=E6=96=B0=E3=80=81=E5=A7=94=E5=A4=96?= =?UTF-8?q?=E7=94=A8=E6=96=99=E6=B8=85=E5=8D=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/工单/更新工单状态.md | 96 +++++++++++ wms/委外用料清单/新增采购订单.md | 160 +++++++++++++++++++ 2 files changed, 256 insertions(+) create mode 100644 mes/工单/更新工单状态.md create mode 100644 wms/委外用料清单/新增采购订单.md diff --git a/mes/工单/更新工单状态.md b/mes/工单/更新工单状态.md new file mode 100644 index 0000000..1f8c867 --- /dev/null +++ b/mes/工单/更新工单状态.md @@ -0,0 +1,96 @@ +### 修改工单 + +此接口可修改工单的状态("O"(字母O):开启;"C":关闭)。 + +--- + +### 基本信息 + +方法:POST + +URL:http://localhost:8033/open/UpdateWorkStatus + +认证:需要 + +--- + +### 请求 + +请求参数 + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区。 | +| code | string | 是 | 工单号。 | +| wo_status | string | 否 | 工单状态("O"(字母O):开启;"C":关闭) | + +请求示例 + +``` +{ + "data": { + "profile": "测试", + "code": "NewWorkorder001", + "wo_status": "C" + } +} +``` + +--- + +### 响应 + +响应字段 + +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| workorder | object | 工单。 | +| - code | string | 工单号。 | +| - areaCode | string | 车间编号。 | +| - areaDesc | string | 车间描述。 | +| - typeCode | string | 工单类型。 | +| - typeDesc | string | 工单类型。 | +| - orderCode | string | 订单号。 | +| - orderTypeCode | string | 订单类型。 | +| - orderTypeDesc | string | 订单类型。 | +| - customer | string | 客户。 | +| - oemCustomer | string | OEM 客户。 | +| - productCode | string | 产品编码。 | +| - productGrade | string | 产品等级。 | +| - planNum | int | 计划数量。 | +| - warnNum | int | 预警数量。 | +| - targetNum | int | 工单交付数量。 | +| - beginTime | string | 工单开始时间。 | +| - endTime | string | 工单结束时间 | +| - createTime | string | 工单创建时间。 | + +成功时的响应示例: + +``` +{ + "clock": "2023-01-01 20:00:00.000", + "status": "ok", + "data": { + "workorder": { + "code": "NewWorkorder001", + "areaCode": "1", + "areaDesc": null, + "typeCode": "301", + "typeDesc": "正常工单", + "orderCode": "NewOrder001", + "orderTypeCode": "General", + "orderTypeDesc": "常规订单", + "customer": "客户", + "oemCustomer": "OEM 客户", + "productCode": "1000", + "productGrade": "600", + "planNum": 5200, + "warnNum": 4800, + "targetNum": 5000, + "beginTime": "2008-08-08 20:00:00", + "endTime": "2008-08-24 20:00:00", + "createTime": "2023-01-01 20:00:00" + } + } +} +``` diff --git a/wms/委外用料清单/新增采购订单.md b/wms/委外用料清单/新增采购订单.md new file mode 100644 index 0000000..6401850 --- /dev/null +++ b/wms/委外用料清单/新增采购订单.md @@ -0,0 +1,160 @@ +### WMS增加委外用料清单 +此接口用于新增WMS中的委外用料清单(委托代工) +此接口需要认证,详情请查看《认证方式》。 + +--- + +### 基本信息 +方法:POST +URL: http://localhost:8033/open/AddListOfOutsourcedMaterials + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区 | +| BillNo | string | 是 | 单据编号 | +| OutsourceOrd | string | 是 | 委外订单编号 | +| OutsourceOrdId | string | 是 | 委外订单行号 | +| OutsourceInCode | string | 是 | 委外订单内码 | +| OutsourceLineInCode | string | 是 | 委外订单行内码 | +| OutsourceOrdType | string | 是 | 委外订单类型 | +| OutsourceMaterialInCode | string | 是 | 委外用料清单内码 | +| ProductCode | string | 是 | 产品编码 | +| Status | string | 是 | 状态(0 禁用,1 启用) | +| 数量 | string | 是 | 数量 | +| UnitId | string | 是 | 主单位 | +| AstUnitId | string | 是 | 辅单位 | +| ChangeRate | string | 是 | 换算率 | +| Remark | string | 否 | 备注 | +| OutsourcedMaterialsDetail | Array | 是 | 委外订单明细 | + +_OutsourcedMaterialsDetail:__ +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| LineId | string | 是 | 委外用料清单行内码 | +| MaterialCode | string | 是 | 物料编码 | +| ShoudIssued | string | 是 | 应发数量 | +| UnitId | string | 是 | 主单位 | +| AstUnitId | string | 是 | 辅单位 | +| ChangeRate | string | 是 | 换算率 | +| OwnerType | string | 否 | 货主类型 | +| OwnerCode | string | 否 | 货主 | +| cellGrade | string | 否 | 辅助属性:等级 | +| cellColor | string | 否 | 辅助属性:颜色 | +| cellEff | string | 否 | 辅助属性:效率 | +| cellUop | string | 否 | 辅助属性:功率 | +| currentGrade | string | 否 | 辅助属性:电流 | + +__请求示例:__ +``` +{ + "data": { + "Profile": "test", + "BillNo": "123456", + "OutsourceOrd": "OutsourceOrd", + "OutsourceOrdId": "OutsourceOrdId", + "OutsourceInCode": "OutsourceInCode", + "OutsourceLineInCode": "OutsourceLineInCode", + "OutsourceOrdType": "OutsourceOrdType", + "OutsourceMaterialInCode": "OutsourceMaterialInCode", + "ProductCode": "ProductCode", + "Status": "1", + "Number": "500", + "UnitId": "UnitId", + "AstUnitId": "AstUnitId", + "ChangeRate": "ChangeRate", + "remark": "remark", + "OutsourcedMaterialsDetail": [ + { + "LineId": "LineId", + "MaterialCode": "MaterialCode", + "ShoudIssued": "123.5625", + "UnitId": "UnitId", + "AstUnitId": "AstUnitId", + "ChangeRate": "ChangeRate", + "OwnerType": "组织", + "OwnerCode": "100", + } + ] + } +} +```` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2024-12-12 13:26:22.860", + "duration": "570ms", + "status": "ok", + "data": { + "bill_no": "123456", + "outsource_ord": "OutsourceOrd", + "outsource_ord_id": "OutsourceOrdId", + "outsourc_in_code": "OutsourceInCode", + "outsource_line_in_code": "OutsourceLineInCode", + "outsource_ord_type": "OutsourceOrdType", + "outsource_material_in_code": "OutsourceMaterialInCode", + "product_code": "ProductCode", + "product_name": null, + "specification": null, + "status": 1, + "number": "500", + "unit_id": "UnitId", + "astunit_id": "AstUnitId", + "change_rate": "ChangeRate", + "remark": "remark", + "create_username": "ERP", + "outsourcedMaterialsDetail": [ + { + "parent_key": "23a9d58dd3e144ccb554270f8141d845", + "line_id": "LineId", + "material_code": "MaterialCode", + "material_name": null, + "specification": null, + "shoud_issued": 123.5625, + "issued_quantity": 0, + "unit_id": "UnitId", + "astunit_id": "AstUnitId", + "change_rate": "ChangeRate", + "owner_type": "组织", + "owner_code": "100", + "materialTypeName": null, + "materialDesc": null, + "unitName": null, + "astUnitName": null, + "created": 1734009982777, + "updated": 1734009982777, + "profile": "test", + "key": "b56520572ad2493a9335247783902cf3", + "flag": 1 + } + ], + "created": 1734009982769, + "updated": 1734009982769, + "profile": "segtest", + "key": "23a9d58dd3e144ccb554270f8141d845", + "flag": 1 + } +} + +``` + + From 0d2587e2df3b1b925b4db2e310f1047d72ebc957 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Tue, 17 Dec 2024 11:23:08 +0800 Subject: [PATCH 07/14] =?UTF-8?q?=E7=89=A9=E6=96=99=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/物料/添加物料.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mes/物料/添加物料.md b/mes/物料/添加物料.md index 352e621..e1fc916 100644 --- a/mes/物料/添加物料.md +++ b/mes/物料/添加物料.md @@ -21,7 +21,8 @@ URL: http://localhost:8033/open/AddMaterial | profile | string | 是 | 厂区代码 | | materialCode | string | 是 | 物料编码 | | materialTypeCode | string | 是 | 物料类别代码 | -| descriptions | string | 否 | 物料描述 | +| materialName | string | 否 | 物料名称 | +| descriptions | string | 是 | 物料描述 | | spec | string | 否 | 规格 | | model | string | 否 | 型号 | | erpTypeCode | string | 否 | ERP物料类型 | @@ -58,6 +59,7 @@ attrs字段 "profile": "测试", "materialCode": "CELL002", "materialTypeCode": "CELL", + "materialName": "电池片", "descriptions": "电池片描述", "spec","4*100", "model","s700", @@ -111,7 +113,7 @@ attrs字段 "materialCode": "CELL002", "materialTypeCode": "CELL", "materialTypeDesc": "电池片", - "descriptions": "电池片描述", + "descriptions": "电池片-电池片描述", "createTime": "2023-07-05 14:29:40.008", "attrs": [ { From 11f84271addf36746516391a4992bd8dd10a52ce Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Thu, 6 Mar 2025 15:31:18 +0800 Subject: [PATCH 08/14] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8D=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/委外用料清单/新增采购订单.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wms/委外用料清单/新增采购订单.md b/wms/委外用料清单/新增采购订单.md index 6401850..b7c86fb 100644 --- a/wms/委外用料清单/新增采购订单.md +++ b/wms/委外用料清单/新增采购订单.md @@ -26,7 +26,7 @@ __请求参数__ | OutsourceMaterialInCode | string | 是 | 委外用料清单内码 | | ProductCode | string | 是 | 产品编码 | | Status | string | 是 | 状态(0 禁用,1 启用) | -| 数量 | string | 是 | 数量 | +| Number | string | 是 | 数量 | | UnitId | string | 是 | 主单位 | | AstUnitId | string | 是 | 辅单位 | | ChangeRate | string | 是 | 换算率 | From 409e5d30bad5401b18edac06807a3d2f4c6205d5 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Thu, 27 Mar 2025 15:56:22 +0800 Subject: [PATCH 09/14] =?UTF-8?q?=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E3=80=81=E6=9D=90=E6=96=99=E5=8F=91=E8=B4=A7=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=8D=95=E3=80=81=E6=88=90=E5=93=81=E5=8F=91=E8=B4=A7=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UpdateMaterialDeliveryPlan.md | 115 ++++++++++++++ wms/发货通知/UpdateDeliveryPlan.md | 142 ++++++++++++++++++ wms/采购订单/更新采购订单.md | 115 ++++++++++++++ 3 files changed, 372 insertions(+) create mode 100644 wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md create mode 100644 wms/发货通知/UpdateDeliveryPlan.md create mode 100644 wms/采购订单/更新采购订单.md diff --git a/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md b/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md new file mode 100644 index 0000000..f3978e1 --- /dev/null +++ b/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md @@ -0,0 +1,115 @@ +### AddMaterialDeliveryPlan + +此接口用于更新发货计划(材料销售发货通知单)。 + +--- + +### 基本信息 + +方法:POST + +URL: http://localhost:8033/open/UpdateMaterialDeliveryPlan + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区代码 | +| SaleNo | string | 是 | 发货通知单 | +| BusinessType | long | 是 | 业务类型 1发货 2退货 | +| MaterialSaleTime | string | 是 | 计划发货日期 | +| MaterialDeliveryDetail | Array | 是 | 发货批次 | + +__batches__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| LineId | string | 是 | 唯一行号(通知单明细批次号) | +| MaterialCode | string | 是 | 物料代码 | +| discripTionOfGoods | string | 否 | 物料名称 | +| Number | double | 是 | 申请发货数量 | +| CustomerCode | string | 是 | 客户代码 | +| isGift | int | 否 | 是否正品 1是 2否 | +| CellGrade | string | 否 | 等级(辅助属性) | +| CellColor | string | 否 | 颜色(辅助属性) | +| CellEff | string | 否 | 效率(辅助属性) | +| CellUop | string | 否 | 功率(辅助属性) | +| CurrentGrade | string | 否 | 电流(辅助属性) | + +__请求示例__ + +``` +{ + "data": { + "profile": "测试", + "SaleNo": "FHTZD001428", + "BusinessType": "1", + "MaterialSaleTime": "2024-09-30 10:00:00", + "batches": [ + { + "LineId": "103347", + "MaterialCode": "10404004", + "BillNo": "XSDD000873", + "discripTionOfGoods": "182.2*183.75单晶N型TOPCon双面电池片", + "CustomerCode": "CUST0354", + "Number": 8300.0, + "CellGrade": "A", + "CellColor":"", + "CellEff": "24.7%", + "CellUop": "", + "CurrentGrade":"" + }, + { + "LineId": "103348", + "MaterialCode": "10404004", + "BillNo": "XSDD000873", + "discripTionOfGoods": "182.2*183.75单晶N型TOPCon双面电池片", + "CustomerCode": "CUST0354", + "number": 168644.0, + "CellGrade": "A", + "CellColor":"", + "CellEff": "24.8%", + "CellUop": "", + "CurrentGrade":"" + } + ] + } +} + +``` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2024-09-26 13:53:17.804", + "duration": "7.75s", + "status": "ok", + "data": {} +} + +{ + "clock": "2024-09-26 13:50:28.317", + "duration": "15.4s", + "status": "error", + "message": "该原材料销售发货通知单号不存在", + "data": {} +} + + diff --git a/wms/发货通知/UpdateDeliveryPlan.md b/wms/发货通知/UpdateDeliveryPlan.md new file mode 100644 index 0000000..3927eac --- /dev/null +++ b/wms/发货通知/UpdateDeliveryPlan.md @@ -0,0 +1,142 @@ +### AddDeliveryPlan + +此接口用于更新发货计划(发货通知单)。 + +--- + +### 基本信息 + +方法:POST + +URL: http://localhost:8033/open/UpdateDeliveryPlan + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区代码 | +| ordNo | string | 是 | 计划单号(通知单号) | +| businessType | long | 是 | 业务类型 1发货 2退货 | +| 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 | 否 | 发货批次 | +| ERP_Status | int | 否 | 发货状态(0:创建;1:可发货) | +| ERP_ShipTo | string | 否 | 发货客户地址 | + +__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 | 否 | 业务员 | +| pallets | Array | 否 | 托盘号数组 ["123","1234","123456"] | +| ERP_ShipTo | string | 否 | 发货客户地址 | + +__请求示例__ + +``` +{ + "data":{ + "profile":"测试", + "ordNo":"", + "businessType":1, + "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":"", + "ERP_ShipTo":"", + "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":"", + "pallets":[ + "123", + "12345", + "123456" + ], + "ERP_ShipTo":"" + } + ] + } +} + +``` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + + } +} + + diff --git a/wms/采购订单/更新采购订单.md b/wms/采购订单/更新采购订单.md new file mode 100644 index 0000000..770dcbe --- /dev/null +++ b/wms/采购订单/更新采购订单.md @@ -0,0 +1,115 @@ +### 原料仓、成品仓更新采购订单(到货通知单) +此接口用于更新WMS中的采购订单 +此接口需要认证,详情请查看《认证方式》。 + +--- + +### 基本信息 +方法:POST +URL: http://localhost:8033/open/UpdatePurChaseOrder + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | string | 是 | 厂区 | +| documentNo | string | 是 | 到货单号 | +| documentId | string | 否 | 单据ID | +| type | string | 是 | 单据类型 0:发/退货单 1:发货单 2:退货单 | +| documentDetail | Array | 是 | 单据明细 | + +_documentDetail:__ +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| lineId | string | 是 | 唯一行号 | +| contractNo | string | 是 | 合同号 | +| purchaseOrderNo | string | 是 | 采购订单号 | +| materialCode | string | 是 | 物料编码 | +| supplierCode | string | 是 | 原始供应商 | +| agencySupplierCode | string | 否 | 入库供应商 | +| planArrivalNumber | string | 是 | 计划到货数量 | +| planArrivalTime | string | 是 | 计划到货时间 | +| unitId | string | 是 | 主单位 | +| astUnitId | string | 是 | 辅单位 | +| changeRate | string | 是 | 换算率 | +| profile | string | 是 | 组织 | +| orderBillType | string | 否 | 采购订单单据类型 | +| orderBusinessType | string | 否 | 采购订单交易类型 | +| contractBillType | string | 否 | 采购合同单据类型 | +| contractBusinessType | string | 否 | 采购合同交易类型 | +| buyerCode | string | 是 | 采购员 | +| buyerDepartmentCode | string | 否 | 采购部门 | +| cellGrade | string | 否 | 辅助属性:等级 | +| cellColor | string | 否 | 辅助属性:颜色 | +| cellEff | string | 否 | 辅助属性:效率 | +| cellUop | string | 否 | 辅助属性:功率 | +| currentGrade | string | 否 | 辅助属性:电流 | +| isGiveAway | int | 否 | 是否赠品 1:是 0 :否 | + +__请求示例:__ +``` +{ + "data":{ + "documentNo":"", + "documentId":"", + "documentDetail": [ + { + "lineId":"", + "contractNo":"", + "purchaseOrderNo":"", + "materialCode":"", + "supplierCode":"", + "agencySupplierCode":"", + "planArrivalNumber":"", + "planArrivalTime":"", + "unitId":"", + "astUnitId":"", + "changeRate":"", + "profile":"", + "orderBillType":"", + "orderBusinessType":"", + "contractBillType":"", + "contractBusinessType":"", + "buyerCode":"", + "buyerDepartmentCode":"", + "cellGrade":"", + "cellColor":"", + "cellEff":"", + "cellUop":"", + "currentGrade":"", + "isGiveAway":0, + }, + ], + } +} +```` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + } +} + +``` + + From 5d7f033b4aec8dcc7a6d6f2dcf204478d42fd98a Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Fri, 9 May 2025 15:06:46 +0800 Subject: [PATCH 10/14] =?UTF-8?q?=E5=A7=94=E5=A4=96=E7=94=A8=E6=96=99?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=A2=9E=E5=8A=A0=E9=87=87=E8=B4=AD=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=8D=95=E5=8F=B7=E3=80=81=E8=A1=8C=E5=8F=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E7=94=A8=E4=BA=8E=E6=8E=A5=E6=94=B6ERP?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E5=AF=B9=E6=8E=A5=E6=97=B6=E4=BC=A0?= =?UTF-8?q?=E9=80=92=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/委外用料清单/新增采购订单.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wms/委外用料清单/新增采购订单.md b/wms/委外用料清单/新增采购订单.md index b7c86fb..9f4cb09 100644 --- a/wms/委外用料清单/新增采购订单.md +++ b/wms/委外用料清单/新增采购订单.md @@ -31,6 +31,8 @@ __请求参数__ | AstUnitId | string | 是 | 辅单位 | | ChangeRate | string | 是 | 换算率 | | Remark | string | 否 | 备注 | +| OutsourcePoOrd | string | 否 | 委外采购订单单号 | +| OutsourcePoOrdId | string | 否 | 委外采购订单行号 | | OutsourcedMaterialsDetail | Array | 是 | 委外订单明细 | _OutsourcedMaterialsDetail:__ @@ -69,6 +71,8 @@ __请求示例:__ "AstUnitId": "AstUnitId", "ChangeRate": "ChangeRate", "remark": "remark", + "OutsourcePoOrd": "OutsourcePoOrd", + "OutsourcePoOrdId": "1", "OutsourcedMaterialsDetail": [ { "LineId": "LineId", @@ -122,6 +126,8 @@ __data:__ "change_rate": "ChangeRate", "remark": "remark", "create_username": "ERP", + "OutsourcePoOrd": "OutsourcePoOrd", + "OutsourcePoOrdId": "1", "outsourcedMaterialsDetail": [ { "parent_key": "23a9d58dd3e144ccb554270f8141d845", From 6735a45864cd8c88ea5781915583cb0134de62cd Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Thu, 26 Jun 2025 16:25:19 +0800 Subject: [PATCH 11/14] =?UTF-8?q?=E7=94=B5=E6=B1=A0=E7=89=87=E5=88=86?= =?UTF-8?q?=E5=B8=83=E5=BC=8F=E8=B0=83=E5=85=A5=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../分布式调入-电池片.md | 506 ++++++++++++++++++ 1 file changed, 506 insertions(+) create mode 100644 wms/分布式调入、调出-电池片/分布式调入-电池片.md diff --git a/wms/分布式调入、调出-电池片/分布式调入-电池片.md b/wms/分布式调入、调出-电池片/分布式调入-电池片.md new file mode 100644 index 0000000..38aaffe --- /dev/null +++ b/wms/分布式调入、调出-电池片/分布式调入-电池片.md @@ -0,0 +1,506 @@ +### 新增分布式调入-电池片 +此接口用于新增WMS中电池片的分布式调入(接口提供给电池仓库系统) +此接口需要认证,详情请查看《认证方式》。 + +--- + +### 基本信息 +方法:POST +URL: http://localhost:8033/open/SolarNPlusAddDistributedAllocationCellWms + +--- + +### 请求 + +__请求参数__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| profile | String | 是 | 厂区| +| BillInCode | String | 是 | 单据内码| +| AllotType | String | 是 | 调拨类型| +| BillNo | String | 是 | 单据编号| +| ApplyDate | String | 否 | 申请日期| +| ApplyOrg | String | 是 | 申请组织| +| CalloutOwnerType | String | 是 | 调出货主类型| +| CallinOwnerType | String | 是 | 调入货主类型| +| Status | String | 是 | 状态(0 禁用,1 启用)| +| Type | String | 是 | 类型(0 分布式调出,1 分布式调入)| +| Remark | String | 否 | 备注| +| TypeOfGoods | String | 是 | 货品类型(0 原材料,1 产成品)| +| WmsDistributeAllocationDetail | Array | 是 | 分布式调入、调出明细| + +__WmsDistributeAllocationDetail字段__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| LineId | String | 是 | 行内码| +| MaterialCode | String | 是 | 物料编码| +| FinalGrade | String | 否 | 等级| +| Color | String | 否 | 颜色| +| Efficient | String | 否 | 效率| +| PowerGrade | String | 否 | 功率| +| CurrentGrade | String | 否 | 电流| +| UnitId | String | 是 | 主单位| +| AstUnitId | String | 是 | 辅单位| +| ChangeRate | String | 是 | 换算率| +| ApplyNumber | String | 是 | 申请数量| +| BatchNo | String | 是 | 批号| +| SupplierId | String | 是 | 原厂供应商| +| AgentSupplierId | String | 是 | 入库供应商| +| ValidDays | String | 是 | 保质期(单位默认:天)| +| CalloutOrg | String | 是 | 调出组织| +| CalloutStock | String | 是 | 调出仓库| +| CalloutOwnerType | String | 是 | 调出货主类型| +| CalloutOwnerCode | String | 是 | 调出货主| +| CalloutInventoryStatus | String | 是 | 调出库存状态| +| CallinOrg | String | 是 | 调入组织| +| CallinStock | String | 是 | 调入仓库| +| CallinOwnerType | String | 是 | 调入货主类型| +| CallinOwnerCode | String | 是 | 调入货主| +| CallinInventoryStatus | String | 是 | 调入库存状态| +| Remark | String | 是 | 备注| + + +__请求示例:__ +``` +{ + "data":{ + "profile":"旭合测试100", + "BillInCode":"1", + "AllotType":"1", + "BillNo":"1", + "ApplyDate":"2025-06-26 14:36:00", + "ApplyOrg":"100", + "CalloutOwnerType":"1", + "CallinOwnerType":"1", + "Status":"1", + "Type":"1", + "Remark":"测试", + "TypeOfGoods":"0", + "WmsDistributeAllocationDetail":[ + { + "LineId":"1", + "MaterialCode":"10204001", + "FinalGrade":"A", + "Color":"", + "Efficient":"25.2", + "PowerGrade":"", + "CurrentGrade":"", + "UnitId":"PCS", + "AstUnitId":"PCS", + "ChangeRate":"1/1", + "ApplyNumber":"10000", + "BatchNo":"250626", + "SupplierId":"VEN00200", + "AgentSupplierId":"VEN00200", + "ValidDays":"", + "CalloutOrg":"1", + "CalloutStock":"1", + "CalloutOwnerType":"1", + "CalloutOwnerCode":"100", + "CalloutInventoryStatus":"1", + "CallinOrg":"1", + "CallinStock":"1", + "CallinOwnerType":"1", + "CallinOwnerCode":"1", + "CallinInventoryStatus":"1", + "Remark":"", + "WmsDistributeAllocationDetailBatch": [ + { + "SubBatchNo": "250626001", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626002", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626003", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626004", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626005", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626006", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626007", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626008", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626009", + "SubNumber": 1000 + }, + { + "SubBatchNo": "250626010", + "SubNumber": 1000 + }, + ] + } + ] + } +} +```` + +--- + +### 响应 +__响应字段__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | +| clock | string | 当前服务器时钟。 | +| status | string | 状态,ok:成功,error:错误,exception:异常 | +| data | object | 成功后返回具体内容 | + +__data:__ +| 字段 | 类型 | 说明 | +| :-- | :-- | :-- | + +``` +{ + "clock": "2025-06-26 15:48:22.176", + "duration": "6.14s", + "status": "ok", + "data": { + "bill_in_code": "1", + "allot_type": "1", + "bill_no": "1", + "apply_date": "2025-06-26 14:36:00", + "apply_org": "100", + "callout_owner_type": "1", + "callin_owner_type": "1", + "status": 1, + "type": "1", + "remark": "测试", + "create_username": "WMS-CELL", + "type_of_goods": "0", + "distributeAllocationDetail": [ + { + "parent_key": "5335395b1b7c49bb9c06f8e1dc42f845", + "line_id": "1", + "material_code": "10204001", + "final_grade": "A", + "color": "", + "efficient": "25.2", + "power_grade": "", + "current_grade": "", + "unit_id": "PCS", + "astunit_id": "PCS", + "change_rate": "1/1", + "apply_number": 10000, + "batch_no": "250626", + "valid_days": "", + "callout_org": "1", + "callout_stock": "1", + "callout_owner_type": "1", + "callout_owner_code": "100", + "callout_inventory_status": "1", + "callin_org": "1", + "callin_stock": "1", + "callin_owner_type": "1", + "callin_owner_code": "1", + "callin_inventory_status": "1", + "remark": "", + "supplierId": "VEN00200", + "agentSupplierId": "VEN00200", + "rDistributeAllocationDetailBatch": [ + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626001", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901800, + "updated": 1750952901800, + "profile": "旭合测试100", + "key": "a532853b99cc401ba904cfd5083d1988", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626002", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901837, + "updated": 1750952901837, + "profile": "旭合测试100", + "key": "433f2f7cb992426c9bd8f66193f57f90", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626003", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901862, + "updated": 1750952901862, + "profile": "旭合测试100", + "key": "5484e340a912407889abdd0afb6ef7ee", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626004", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901886, + "updated": 1750952901886, + "profile": "旭合测试100", + "key": "5d0ba758885c4c22b1ab8a1a9346cffd", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626005", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901910, + "updated": 1750952901910, + "profile": "旭合测试100", + "key": "17284e42b7f2464b83f8fc943ab69d69", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626006", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901935, + "updated": 1750952901935, + "profile": "旭合测试100", + "key": "0e6872700aae4adca805741613267967", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626007", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901957, + "updated": 1750952901957, + "profile": "旭合测试100", + "key": "a786ea9db5704e6f963fd2dd6173e24c", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626008", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952901986, + "updated": 1750952901986, + "profile": "旭合测试100", + "key": "7153955ff33c45a8bd3ce5bb3dcd4f0f", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626009", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952902011, + "updated": 1750952902011, + "profile": "旭合测试100", + "key": "05edfbc8ace34dd79c64f1bb92fb672d", + "flag": 1 + }, + { + "entry_key": "02e30e3730ad41efae4b1f466b306939", + "material_code": "10204001", + "materialCode": null, + "cunitid": "PCS", + "castunitid": "PCS", + "vchangerate": "1/1", + "batch_no": "250626010", + "number": null, + "stockout_qty": 1000, + "cast_stockout_qty": 0, + "supplierId": null, + "supplierName": null, + "supplierCode": null, + "agentSupplierId": null, + "agentSupplierName": null, + "agentSupplierCode": null, + "stockId": null, + "stockName": null, + "locationId": null, + "locationName": null, + "created": 1750952902034, + "updated": 1750952902034, + "profile": "旭合测试100", + "key": "b9258b97942a443db39cad25ad4f753d", + "flag": 1 + } + ], + "created": 1750952900428, + "updated": 1750952900428, + "profile": "旭合测试100", + "key": "02e30e3730ad41efae4b1f466b306939", + "flag": 1 + } + ], + "created": 1750952900405, + "updated": 1750952900405, + "profile": "旭合测试100", + "key": "5335395b1b7c49bb9c06f8e1dc42f845", + "flag": 1 + } +} +``` + + From 73883ea4322607a755ad486521f87ec779dd30e2 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Mon, 18 Aug 2025 16:58:12 +0800 Subject: [PATCH 12/14] =?UTF-8?q?=E7=94=B5=E6=B1=A0=E7=89=87=E5=88=86?= =?UTF-8?q?=E5=B8=83=E5=BC=8F=E8=B0=83=E5=85=A5=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../分布式调入-电池片.md | 375 ++++-------------- 1 file changed, 67 insertions(+), 308 deletions(-) diff --git a/wms/分布式调入、调出-电池片/分布式调入-电池片.md b/wms/分布式调入、调出-电池片/分布式调入-电池片.md index 38aaffe..ba64169 100644 --- a/wms/分布式调入、调出-电池片/分布式调入-电池片.md +++ b/wms/分布式调入、调出-电池片/分布式调入-电池片.md @@ -60,6 +60,23 @@ __WmsDistributeAllocationDetail字段__ | CallinOwnerCode | String | 是 | 调入货主| | CallinInventoryStatus | String | 是 | 调入库存状态| | Remark | String | 是 | 备注| +| RDistributeAllocationPackageNo | Array | 是 | 电池片分布式调入箱号明细| + +__RDistributeAllocationPackageNo字段__ + +| 参数名 | 类型 | 必填 | 说明 | +| :-- | :-- | :-- | :-- | +| package_no | String | 是 | 条码箱号| +| material_spec | String | 是 | 规格型号| +| material_code | String | 否 | 物料编码| +| material_name | String | 否 | 物料名称| +| batch_no | String | 否 | 物料批次| +| grade | String | 否 | 等级| +| eff | String | 否 | 效率| +| color | String | 是 | 颜色| +| power | String | 是 | 功率| +| number | double | 是 | 数量| +| ocv | String | 是 | 开压| __请求示例:__ @@ -106,47 +123,33 @@ __请求示例:__ "CallinOwnerCode":"1", "CallinInventoryStatus":"1", "Remark":"", - "WmsDistributeAllocationDetailBatch": [ - { - "SubBatchNo": "250626001", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626002", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626003", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626004", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626005", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626006", - "SubNumber": 1000 - }, + "RDistributeAllocationPackageNo": [ { - "SubBatchNo": "250626007", - "SubNumber": 1000 + "package_no": "250626001", + "material_spec": "非SE/PE/LECO/主栅16BB12焊点/正面细栅180/背面细栅210/带鱼叉_130um", + "material_code": "10B04016", + "material_name": "182.2*183.75/256单晶N型TOPCon双面电池片V05", + "batch_no": "250708D-10B04016-Z2507003", + "grade": "A.", + "eff": "24.7%", + "color": "蓝色", + "power": "8.27", + "number": 1000, + "ocv": "H" }, { - "SubBatchNo": "250626008", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626009", - "SubNumber": 1000 - }, - { - "SubBatchNo": "250626010", - "SubNumber": 1000 - }, + "package_no": "250626002", + "material_spec": "非SE/PE/LECO/主栅16BB12焊点/正面细栅180/背面细栅210/带鱼叉_130um", + "material_code": "10B04016", + "material_name": "182.2*183.75/256单晶N型TOPCon双面电池片V05", + "batch_no": "250708D-10B04016-Z2507003", + "grade": "A.", + "eff": "24.7%", + "color": "蓝色", + "power": "8.27", + "number": 1000, + "ocv": "H" + } ] } ] @@ -215,277 +218,33 @@ __data:__ "remark": "", "supplierId": "VEN00200", "agentSupplierId": "VEN00200", - "rDistributeAllocationDetailBatch": [ - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626001", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901800, - "updated": 1750952901800, - "profile": "旭合测试100", - "key": "a532853b99cc401ba904cfd5083d1988", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626002", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901837, - "updated": 1750952901837, - "profile": "旭合测试100", - "key": "433f2f7cb992426c9bd8f66193f57f90", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626003", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901862, - "updated": 1750952901862, - "profile": "旭合测试100", - "key": "5484e340a912407889abdd0afb6ef7ee", - "flag": 1 - }, + "RDistributeAllocationPackageNo": [ { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626004", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901886, - "updated": 1750952901886, - "profile": "旭合测试100", - "key": "5d0ba758885c4c22b1ab8a1a9346cffd", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626005", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901910, - "updated": 1750952901910, - "profile": "旭合测试100", - "key": "17284e42b7f2464b83f8fc943ab69d69", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626006", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901935, - "updated": 1750952901935, - "profile": "旭合测试100", - "key": "0e6872700aae4adca805741613267967", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626007", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901957, - "updated": 1750952901957, - "profile": "旭合测试100", - "key": "a786ea9db5704e6f963fd2dd6173e24c", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626008", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952901986, - "updated": 1750952901986, - "profile": "旭合测试100", - "key": "7153955ff33c45a8bd3ce5bb3dcd4f0f", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626009", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952902011, - "updated": 1750952902011, - "profile": "旭合测试100", - "key": "05edfbc8ace34dd79c64f1bb92fb672d", - "flag": 1 - }, - { - "entry_key": "02e30e3730ad41efae4b1f466b306939", - "material_code": "10204001", - "materialCode": null, - "cunitid": "PCS", - "castunitid": "PCS", - "vchangerate": "1/1", - "batch_no": "250626010", - "number": null, - "stockout_qty": 1000, - "cast_stockout_qty": 0, - "supplierId": null, - "supplierName": null, - "supplierCode": null, - "agentSupplierId": null, - "agentSupplierName": null, - "agentSupplierCode": null, - "stockId": null, - "stockName": null, - "locationId": null, - "locationName": null, - "created": 1750952902034, - "updated": 1750952902034, - "profile": "旭合测试100", - "key": "b9258b97942a443db39cad25ad4f753d", - "flag": 1 - } + "package_no": "250626001", + "material_spec": "非SE/PE/LECO/主栅16BB12焊点/正面细栅180/背面细栅210/带鱼叉_130um", + "material_code": "10B04016", + "material_name": "182.2*183.75/256单晶N型TOPCon双面电池片V05", + "batch_no": "250708D-10B04016-Z2507003", + "grade": "A.", + "eff": "24.7%", + "color": "蓝色", + "power": "8.27", + "number": 1000, + "ocv": "H" + }, + { + "package_no": "250626002", + "material_spec": "非SE/PE/LECO/主栅16BB12焊点/正面细栅180/背面细栅210/带鱼叉_130um", + "material_code": "10B04016", + "material_name": "182.2*183.75/256单晶N型TOPCon双面电池片V05", + "batch_no": "250708D-10B04016-Z2507003", + "grade": "A.", + "eff": "24.7%", + "color": "蓝色", + "power": "8.27", + "number": 1000, + "ocv": "H" + } ], "created": 1750952900428, "updated": 1750952900428, From 1a22afa49d66bb42bd75ef8b7880adbf048d837b Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Fri, 22 Aug 2025 10:55:12 +0800 Subject: [PATCH 13/14] =?UTF-8?q?=E6=9D=90=E6=96=99=E9=94=80=E5=94=AE?= =?UTF-8?q?=E9=80=80=E5=BA=93=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0=E9=94=80?= =?UTF-8?q?=E5=94=AE=E5=87=BA=E5=BA=93=E5=8D=95=E5=8F=B7=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E5=8D=95=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/原材料销售发货通知/AddMaterialDeliveryPlan.md | 7 +++++-- .../UpdateMaterialDeliveryPlan.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md b/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md index 0b4d289..0a85f6c 100644 --- a/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md +++ b/wms/原材料销售发货通知/AddMaterialDeliveryPlan.md @@ -39,6 +39,7 @@ __batches__ | CellEff | string | 否 | 效率(辅助属性) | | CellUop | string | 否 | 功率(辅助属性) | | CurrentGrade | string | 否 | 电流(辅助属性) | +| ERPSaleOrder | string | 否 | erp材料销售出库单号(用于销售退库是传递) | __请求示例__ @@ -61,7 +62,8 @@ __请求示例__ "CellColor":"", "CellEff": "24.7%", "CellUop": "", - "CurrentGrade":"" + "CurrentGrade": "", + "ERPSaleOrder": "" }, { "LineId": "103348", @@ -74,7 +76,8 @@ __请求示例__ "CellColor":"", "CellEff": "24.8%", "CellUop": "", - "CurrentGrade":"" + "CurrentGrade":"", + "ERPSaleOrder": "" } ] } diff --git a/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md b/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md index f3978e1..bf97895 100644 --- a/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md +++ b/wms/原材料销售发货通知/UpdateMaterialDeliveryPlan.md @@ -39,6 +39,7 @@ __batches__ | CellEff | string | 否 | 效率(辅助属性) | | CellUop | string | 否 | 功率(辅助属性) | | CurrentGrade | string | 否 | 电流(辅助属性) | +| ERPSaleOrder | string | 否 | erp材料销售出库单号(用于销售退库是传递) | __请求示例__ @@ -61,7 +62,8 @@ __请求示例__ "CellColor":"", "CellEff": "24.7%", "CellUop": "", - "CurrentGrade":"" + "CurrentGrade": "", + "ERPSaleOrder": "" }, { "LineId": "103348", @@ -74,7 +76,8 @@ __请求示例__ "CellColor":"", "CellEff": "24.8%", "CellUop": "", - "CurrentGrade":"" + "CurrentGrade": "", + "ERPSaleOrder": "" } ] } From 87c7ac061ffae3538cbcaffe4fcea5a9cafc92c1 Mon Sep 17 00:00:00 2001 From: ningyuqi <1210478975@qq.com> Date: Tue, 2 Sep 2025 16:29:48 +0800 Subject: [PATCH 14/14] =?UTF-8?q?=E7=94=B5=E6=B1=A0=E7=89=87=E5=88=86?= =?UTF-8?q?=E5=B8=83=E5=BC=8F=E8=B0=83=E5=85=A5=E5=A2=9E=E5=8A=A0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E6=97=A5=E6=9C=9F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../分布式调入-电池片.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wms/分布式调入、调出-电池片/分布式调入-电池片.md b/wms/分布式调入、调出-电池片/分布式调入-电池片.md index ba64169..534d68b 100644 --- a/wms/分布式调入、调出-电池片/分布式调入-电池片.md +++ b/wms/分布式调入、调出-电池片/分布式调入-电池片.md @@ -48,6 +48,7 @@ __WmsDistributeAllocationDetail字段__ | BatchNo | String | 是 | 批号| | SupplierId | String | 是 | 原厂供应商| | AgentSupplierId | String | 是 | 入库供应商| +| ProductionTime | String | 是 | 生产日期| | ValidDays | String | 是 | 保质期(单位默认:天)| | CalloutOrg | String | 是 | 调出组织| | CalloutStock | String | 是 | 调出仓库| @@ -111,6 +112,7 @@ __请求示例:__ "BatchNo":"250626", "SupplierId":"VEN00200", "AgentSupplierId":"VEN00200", + "ProductionTime":"2025-09-01", "ValidDays":"", "CalloutOrg":"1", "CalloutStock":"1", @@ -204,6 +206,7 @@ __data:__ "change_rate": "1/1", "apply_number": 10000, "batch_no": "250626", + "ProductionTime":"2025-09-01", "valid_days": "", "callout_org": "1", "callout_stock": "1",