{
"body": {
"workOrderCode": "WO-202410-8801",
"code": "SCRAP-202410-001",
"comments": "X光检测虚焊缺陷报废 | 报告编号:XRAY-202410-005",
"records": [
{
"itemCode": "PCB-6G-HDI",
"quantity": 2,
"warehouseCode": "WH-MRB",
"locationCode": "HOLD-BIN-09",
"batchNumber": "PCB-LOT-202410-HDI",
"snInfos": [
{
"sn": "SN-PCB-202410-0801",
"assistQuantity": 1
},
{
"sn": "SN-PCB-202410-0802",
"assistQuantity": 1
}
],
"comment": "铜层厚度不足(实测34μm<标准38±2μm)"
},
{
"itemCode": "SOLDER-PASTE-ULTRA",
"quantity": 1,
"warehouseCode": "WH-HAZMAT",
"locationCode": "HAZ-BIN-03",
"batchNumber": "PASTE-LOT-202410-EMG",
"comment": "开封超时72小时(标准≤24小时)"
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/task/scrap/confirm' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"workOrderCode": "WO-202410-8801",
"code": "SCRAP-202410-001",
"comments": "X光检测虚焊缺陷报废 | 报告编号:XRAY-202410-005",
"records": [
{
"itemCode": "PCB-6G-HDI",
"quantity": 2,
"warehouseCode": "WH-MRB",
"locationCode": "HOLD-BIN-09",
"batchNumber": "PCB-LOT-202410-HDI",
"snInfos": [
{
"sn": "SN-PCB-202410-0801",
"assistQuantity": 1
},
{
"sn": "SN-PCB-202410-0802",
"assistQuantity": 1
}
],
"comment": "铜层厚度不足(实测34μm<标准38±2μm)"
},
{
"itemCode": "SOLDER-PASTE-ULTRA",
"quantity": 1,
"warehouseCode": "WH-HAZMAT",
"locationCode": "HAZ-BIN-03",
"batchNumber": "PASTE-LOT-202410-EMG",
"comment": "开封超时72小时(标准≤24小时)"
}
]
}
}'
{
"code": 0,
"message": ""
}