上传[物料]信息excel
POST
/materials-lists/upload-excel请求参数
Body 参数multipart/form-data
file
file
物料批量上传的文件
示例值:
cmMtdXBsb2FkLTE3MDU0ODIzMDM0NDgtMg==/物料批量上传.xlsx
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {11}]
必需
materials_unit
string
物料单位
materials_color_number
string
物料色号
materials_type
string
物料型号
materials_sn
string
物料编号
materials_spec
string
物料规格
remark
string
备注
category
string
类别
materials_name
string
物料名字
materials_color
string
物料颜色
rowId
integer
行号
vendor_name
string
供应商名字
示例
{
"code": 20000,
"message": "读取excel成功",
"data": [
{
"materials_unit": "个",
"materials_color_number": "明黄",
"materials_type": "22a",
"materials_sn": "1212",
"materials_spec": "12mm",
"remark": "螺丝粉专用",
"category": "螺丝",
"materials_name": "螺丝123",
"materials_color": "何乌昂黄色",
"rowId": 1
},
{
"materials_unit": "个",
"materials_color_number": "超红",
"materials_type": "33a",
"materials_sn": "4855",
"materials_spec": "18mm",
"remark": "吃螺丝粉的工具",
"category": "螺丝",
"materials_name": "螺丝刀",
"materials_color": "东方红",
"rowId": 2
}
]
}
最后修改时间: 1 年前