{
"body": {
"code": "RM-20240728-001",
"comments": "华为P70主板项目剩余物料退库 | 质量检测报告:QA-20240728-002",
"records": [
{
"batchNumber": "BATCH-20240724-5NM",
"warehouseCode": "WH-CHIP-VACUUM",
"locationCode": "BIN-05-12",
"itemCode": "IC-CHIP-5NM",
"snInfos": [
{
"sn": "SN-CHIP-0724-001",
"assistQuantity": 1
},
{
"sn": "SN-CHIP-0724-002",
"assistQuantity": 1
}
],
"quantity": 2
},
{
"batchNumber": "PCB-LOT-0722B",
"warehouseCode": "WH-PCB",
"locationCode": "BIN-03-08",
"itemCode": "PCB-MAIN-001A",
"snInfos": [],
"quantity": 50,
"comment": "AOI检测NG退库(缺陷代码:PCB-DEF-0728-03)"
},
{
"batchNumber": "PASTE-LOT-0724A",
"warehouseCode": "WH-CHEM",
"locationCode": "BIN-12-05",
"itemCode": "SOLDER-PASTE",
"snInfos": [],
"quantity": 1,
"assistQuantity": 25,
"comment": "开封后超48小时未使用(标准:≤24h)"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/materialReturn/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "RM-20240728-001",
"comments": "华为P70主板项目剩余物料退库 | 质量检测报告:QA-20240728-002",
"records": [
{
"batchNumber": "BATCH-20240724-5NM",
"warehouseCode": "WH-CHIP-VACUUM",
"locationCode": "BIN-05-12",
"itemCode": "IC-CHIP-5NM",
"snInfos": [
{
"sn": "SN-CHIP-0724-001",
"assistQuantity": 1
},
{
"sn": "SN-CHIP-0724-002",
"assistQuantity": 1
}
],
"quantity": 2
},
{
"batchNumber": "PCB-LOT-0722B",
"warehouseCode": "WH-PCB",
"locationCode": "BIN-03-08",
"itemCode": "PCB-MAIN-001A",
"snInfos": [],
"quantity": 50,
"comment": "AOI检测NG退库(缺陷代码:PCB-DEF-0728-03)"
},
{
"batchNumber": "PASTE-LOT-0724A",
"warehouseCode": "WH-CHEM",
"locationCode": "BIN-12-05",
"itemCode": "SOLDER-PASTE",
"snInfos": [],
"quantity": 1,
"assistQuantity": 25,
"comment": "开封后超48小时未使用(标准:≤24h)"
}
]
}
}'
{
"code": 0,
"message": ""
}