{
"materials": [
{
"id": 1,
"version": 3
}
],
"plan_date": "2026-09-14",
"urgency": "紧急",
"purchase_responsible": "吴德海",
"status": "正常"
}curl --location --request PATCH '/api/v1/purchase-materials/batch' \
--header 'X-Project-Id;' \
--header 'Content-Type: application/json' \
--data '{
"materials": [
{
"id": 1,
"version": 3
}
],
"plan_date": "2026-09-14",
"urgency": "紧急",
"purchase_responsible": "吴德海",
"status": "正常"
}'{
"id": 1,
"plan_no": "PLAN-20260805-001",
"plan_date": "2026-08-05",
"material_code": "E011-00237",
"category": "备品备件",
"urgency": "正常",
"demand_department": "检修维护部电气自动化车间",
"name": "交流接触器",
"model_spec": "CJX2-2510 AC220V",
"unit_name": "个",
"actual_demand_person": "李建军",
"purchase_responsible": "吴德海",
"planned_qty": "20",
"usage": "1#回转窑控制柜检修备件补充",
"subitem_no": "201",
"remark": null,
"stock_material_id": 1,
"stock_material_name": "交流接触器",
"status": "正常",
"moved_to_record": true,
"images": [],
"created_at": "2026-08-05T08:30:00+08:00",
"updated_at": "2026-08-05T08:30:00+08:00",
"version": 3
}