文档
测试
POST
http://scm.gkgd.com/api/storage

请求参数

参数名
类型
描述
必填
company_id
int
公司主键 (20 华杰)
必填
storage_type_id
int
仓库分类主键 (1)
必填

响应参数

参数名
类型
描述
必填
status
int
状态吗 200 成功 0 失败
必填
message
string
提示
必填
result
json
返回json数据
必填
id
int
仓库主键
必填
type
int
仓库类型主键
必填
type_str
string
仓库类型名称
必填
name
string
仓库名称
必填
code
string
仓库编码
必填
person_in_charge
string
仓库负责人
必填
total_num
float
库存总数
必填

说明 / 示例

{ "status": 200, "message": "ok", "result": [ { "id": 415, "type": 1, "name": "成品仓", "person_in_charge": null, "code": "202", "type_str": "成品仓", "total_num": 0 }, { "id": 417, "type": 1, "name": "虚仓", "person_in_charge": null, "code": "301", "type_str": "成品仓", "total_num": 0 }, { "id": 418, "type": 1, "name": "非生产物资库", "person_in_charge": null, "code": "10104", "type_str": "成品仓", "total_num": 0 }, { "id": 426, "type": 1, "name": "成品仓", "person_in_charge": null, "code": "20204", "type_str": "成品仓", "total_num": 45 }, { "id": 428, "type": 1, "name": "客退仓", "person_in_charge": null, "code": "303", "type_str": "成品仓", "total_num": 0 }, { "id": 434, "type": 1, "name": "报废仓", "person_in_charge": null, "code": "305", "type_str": "成品仓", "total_num": 0 }, { "id": 436, "type": 1, "name": "户外废品仓", "person_in_charge": null, "code": "306", "type_str": "成品仓", "total_num": 0 }, { "id": 441, "type": 1, "name": "户外成品仓", "person_in_charge": null, "code": "20205", "type_str": "成品仓", "total_num": 0 }, { "id": 442, "type": 1, "name": "研发成品仓", "person_in_charge": null, "code": "40102", "type_str": "成品仓", "total_num": 0 }, { "id": 444, "type": 1, "name": "户外非生产物资仓", "person_in_charge": null, "code": "10107", "type_str": "成品仓", "total_num": 0 }, { "id": 445, "type": 1, "name": "研发仓", "person_in_charge": null, "code": "401", "type_str": "成品仓", "total_num": 0 }, { "id": 446, "type": 1, "name": "户外设备仓", "person_in_charge": null, "code": "105", "type_str": "成品仓", "total_num": 0 } ] }