[
{
"description": "",
"materials_name": "小飞机",
"materials_type": "Ab-1212",
"receive_id": 1,
"remark": "补料单的增加",
"replenish_num": 1,
"replenish_state": 0,
"signature": {
"president":"周总",
"director" :"主管",
"contact":"接口人"
},
"unit": "个",
"warehouse_id": 1
}
]
curl --location --request POST 'http://192.168.124.52:8081/v2/api/materials-replenishes/save' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1dWlkIjoiZWNkYTRiNmMyYTkzNDA0YTlmNmNkM2JhN2JhMWEyZTQiLCJleHAiOjE3MTU5MTM3Mzl9.YR3nVaehMh4RKFYul_Lr3plAGk-jVPxMkhbeeZ6jgR4' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"description": "",
"materials_name": "小飞机",
"materials_type": "Ab-1212",
"receive_id": 1,
"remark": "补料单的增加",
"replenish_num": 1,
"replenish_state": 0,
"signature": {
"president":"周总",
"director" :"主管",
"contact":"接口人"
},
"unit": "个",
"warehouse_id": 1
}
]'{}