文档
测试

仓库-物料-指令单(批次号)

POST
http://scm.gkgd.com/api/getStorageMateriel

请求参数

参数名
类型
描述
必填
storage_id
int
仓库主键 (测试 426)
必填
materiel_id
int
物料主键 (测试 21174)
必填

响应参数

参数名
类型
描述
必填
status
int
状态吗
必填
message
string
提示
必填
result
json
返回json数据
必填
production_id
int
生产指令单主键(唯一)
必填
materiel_id
int
物料主键(唯一)
必填
odd_numbers
string
批次号(唯一)
必填
total_num
int
投产数
必填
this_num
int
当前仓库 该批次号 产品 库存
必填
materiel
json
物料/产品json
必填
materiel_id
int
物料主键(唯一)
必填
name
string
物料名称
必填
unit_name
string
单位名称
必填
specs
string
规格
必填
model
string
型号
必填
code
string
物料编码
必填
type_name
string
物料分类名称
必填

说明 / 示例

{ "status": 200, "message": "ok", "result": [ { "production_id": 36, "materiel_id": 21174, "odd_numbers": "AAAA-BBBB-CCCCC", "total_num": 100, "this_num": 21, "materiel": { "materiel_id": 21174, "name": "P2.5户内表贴全彩模组(015)", "unit_name": "个", "specs": "320*160", "model": "KP14025M-N00-S471", "code": "1302020144", "type_name": "户内表贴全彩模组" } } ] }