上传领料登记单
POST
/materials-receive/upload-receive如果表头数据和表尾数据变化,会识别失误
请求参数
Body 参数multipart/form-data
file
file
可选
示例值:
cmMtdXBsb2FkLTE3MDU3MTU4ODY3MzgtMg==/领料单.jpg
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {10}]
必需
unit
string
单位
receive_user
string
领用人
usage
string
用途
materials_type
string
物料规格
receive_time
string
领料时间
remark
string
备注
repay_num
integer
退还数量
dept
string
领料部门
materials_name
string
物料名字
receive_num
integer
领用数量
示例
{
"code": 20000,
"message": "识别数据成功",
"data": [
{
"unit": "个",
"receive_user": "冯旭霞",
"usage": "赠送",
"materials_type": "A200/i1600",
"receive_time": "2024-01-20T10:09:45",
"remark": "盖思 [4份\n]",
"repay_num": 0,
"dept": "业务部",
"materials_name": "墨囊",
"receive_num": 24
},
{
"unit": "个",
"receive_user": "冯旭霞",
"usage": "赠送",
"materials_type": "A200/i1600",
"receive_time": "2024-01-20T10:09:45",
"remark": "盖思 [4份\n]",
"repay_num": 0,
"dept": "业务部",
"materials_name": "注射器",
"receive_num": 20
},
{
"unit": "个",
"receive_user": "冯旭霞",
"usage": "赠送",
"materials_type": "A200/i1600",
"receive_time": "2024-01-20T10:09:45",
"remark": "盖思 [4份\n]",
"repay_num": 0,
"dept": "业务部",
"materials_name": "4位分流器",
"receive_num": 4
},
{
"unit": "个",
"receive_user": "冯旭霞",
"usage": "赠送",
"materials_type": "A200/i1600",
"receive_time": "2024-01-20T10:09:45",
"remark": "盖思 [4份\n]",
"repay_num": 0,
"dept": "业务部",
"materials_name": "蝶形过滤器",
"receive_num": 16
}
]
}
最后修改时间: a year ago