diff --git a/mes/原材料分批/原材料批次列表.md b/mes/原材料分批/原材料批次列表.md index 2ba14a9..2c09314 100644 --- a/mes/原材料分批/原材料批次列表.md +++ b/mes/原材料分批/原材料批次列表.md @@ -62,26 +62,29 @@ __data:__ { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ + "data": { - "key":"123", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"", - "materialCode":"CELL12", - "uom":"块", - "count":1000 - }, - { - "key":"1234", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"CELL1000-01", - "materialCode":"CELL12", - "uom":"块", - "count":80 - } - ] + "batches":[ + { + "key":"123", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"", + "materialCode":"CELL12", + "uom":"块", + "count":1000 + }, + { + "key":"1234", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"CELL1000-01", + "materialCode":"CELL12", + "uom":"块", + "count":80 + } + ] + } } ``` diff --git a/mes/原材料分批/原材料批次详细信息.md b/mes/原材料分批/原材料批次详细信息.md index 792c3e1..c159d9e 100644 --- a/mes/原材料分批/原材料批次详细信息.md +++ b/mes/原材料分批/原材料批次详细信息.md @@ -85,42 +85,44 @@ __MaterialAttrs:__ "clock": "2023-06-25 20:00:00.000", "status": "ok", "data": { - "key":"", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"", - "materialCode":"CELL12", - "materialName": "12号电池片", - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "uom":"块", - "count":1000, - "surplusQty": 534, - "supplierBatchNo": "ZL0902001", - "supplierCode":"ZL", - "supplier": "中来", - "secondSupplierCode": "ZL", - "secondSupplier": "中来", - "createTime": "2021-01-01 09:00:00", - "remark": "这里是备注", - "materialAttrs": [ - { - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "attrCode":"Color", - "attrName":"颜色", - "valueCode":"Blue", - "value":"蓝色" - }, - { - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "attrCode":"Size", - "attrName":"规格", - "valueCode":"144T", - "value":"144T" - } - ] + "batch":{ + "key":"", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"", + "materialCode":"CELL12", + "materialName": "12号电池片", + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "uom":"块", + "count":1000, + "surplusQty": 534, + "supplierBatchNo": "ZL0902001", + "supplierCode":"ZL", + "supplier": "中来", + "secondSupplierCode": "ZL", + "secondSupplier": "中来", + "createTime": "2021-01-01 09:00:00", + "remark": "这里是备注", + "materialAttrs": [ + { + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "attrCode":"Color", + "attrName":"颜色", + "valueCode":"Blue", + "value":"蓝色" + }, + { + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "attrCode":"Size", + "attrName":"规格", + "valueCode":"144T", + "value":"144T" + } + ] + } } }