[物料]信息修改(地址版)
PUT
/materials-lists借出归还、填写借出归还后剩余库存数量提交
请求参数
Body 参数application/json
address_vos
array [object {4}]
物料所在位置信息
address
string
物料地址
materials_loc_id
integer
物料库存地址id
num
integer
物料数量
warehouse_id
integer
物料仓库id
materials_list
object
物料信息
description
string
描述
category
string
类别
materials_batch
string
批次
materials_color
string
物料颜色
materials_color_number
string
物料色号
materials_id
integer
修改的物料id
materials_min
integer
物料库存最小值
materials_name
string
物料名字
materials_sn
string
物料编号
materials_type
string
物料类型
materials_unit
string
物料单位
remark
string
备注
vendor_id
integer
供应商id
user_id
integer
用户id
warehouse_state
integer
信息上传状态
示例
{
"address_vos": [
{
"address": "",
"materialsLocId": 0,
"num": 0,
"wareHouseId": 0
}
],
"materials_list": {
"by_user": "",
"create_time": "",
"description": "",
"is_deleted": 0,
"materials_batch": "",
"materials_color": "",
"materials_color_number": "",
"materials_id": 0,
"materials_min": 0,
"materials_name": "",
"materials_sn": "",
"materials_type": "",
"materials_unit": "",
"remark": "",
"vendor_id": 0
},
"user_id": 0,
"warehouse_state": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
示例
{
"code": 20000,
"message": "更新物料信息成功"
}
最后修改时间: 9 个月前