对[来货登记表]excel进行上传
POST
/materials-income/upload-excel请求参数
Body 参数multipart/form-data
file
file
可选
示例值:
cmMtdXBsb2FkLTE3MDUzNjYwNzg5ODQtMg==/来货登记表2023年.xls
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {9}]
必需
courier_number
string
快递单号
materials_num
string
数量
materials_type
string
规格
vendor_name
string
供应商名字
materials_sn
string
物料sn编号
remark
string
备注
materials_name
string
物料名字
empty
boolean
是否为空
不用管
materials_addres
string
物料位置
物料存放位置
示例
成功示例
{
"code": 20000,
"message": "excel读取成功",
"data": [
{
"courier_number": "787878787878789",
"materials_num": "11",
"materials_address": "H-8-8-0",
"materials_type": "赛文",
"vendor_name": "供应商4号",
"materials_sn": "12345",
"remark": "不喜欢蔬菜",
"materials_name": "奥特曼",
"empty": false
},
{
"courier_number": "9090909090909091",
"materials_num": "10",
"materials_address": "H-2-2-2",
"materials_type": "赛文",
"vendor_name": "供应商5号",
"materials_sn": "12345",
"remark": "薯片吃多要喝水",
"materials_name": "奥特曼",
"empty": false
}
]
}
最后修改时间: 1 年前