{
"body": {
"code": "RTN-202410-001",
"comments": "华为P80主板项目剩余物料退库 | 质量证书:QA-202410-002",
"records": [
{
"batchNumber": "BATCH-202410-5NM-01",
"warehouseCode": "WH-CHIP-VACUUM",
"locationCode": "BIN-07-15",
"itemCode": "IC-CHIP-5NM",
"snInfos": [
{
"sn": "SN-CHIP-202410-0151",
"assistQuantity": 1
},
{
"sn": "SN-CHIP-202410-0152",
"assistQuantity": 1
}
],
"quantity": 2,
"comment": "未开封芯片 | 湿度记录<30%RH | MSL-3等级"
},
{
"batchNumber": "PCB-LOT-202410-HDI",
"warehouseCode": "WH-PCB-V3",
"locationCode": "DRY-BIN-12",
"itemCode": "PCB-6G-HDI",
"quantity": 50,
"comment": "AOI检测NG(缺陷代码:PCB-DEF-202410-03)"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/materialReturn/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "RTN-202410-001",
"comments": "华为P80主板项目剩余物料退库 | 质量证书:QA-202410-002",
"records": [
{
"batchNumber": "BATCH-202410-5NM-01",
"warehouseCode": "WH-CHIP-VACUUM",
"locationCode": "BIN-07-15",
"itemCode": "IC-CHIP-5NM",
"snInfos": [
{
"sn": "SN-CHIP-202410-0151",
"assistQuantity": 1
},
{
"sn": "SN-CHIP-202410-0152",
"assistQuantity": 1
}
],
"quantity": 2,
"comment": "未开封芯片 | 湿度记录<30%RH | MSL-3等级"
},
{
"batchNumber": "PCB-LOT-202410-HDI",
"warehouseCode": "WH-PCB-V3",
"locationCode": "DRY-BIN-12",
"itemCode": "PCB-6G-HDI",
"quantity": 50,
"comment": "AOI检测NG(缺陷代码:PCB-DEF-202410-03)"
}
]
}
}'
{
"code": 0,
"message": ""
}