Browse Source

调整文档请求对象格式

master
丁小岩 1 year ago
parent
commit
f8442324f1
  1. 48
      mes/原材料分批/修改原材料分批.md
  2. 14
      mes/原材料分批/删除原材料批次.md
  3. 14
      mes/原材料分批/原材料批次列表.md
  4. 14
      mes/原材料分批/原材料批次详细信息.md
  5. 48
      mes/原材料分批/新增原材料分批.md
  6. 13
      mes/账号/修改账号.md
  7. 11
      mes/账号/修改账号密码.md
  8. 16
      mes/账号/新增账号.md
  9. 12
      mes/账号/用户信息列表.md

48
mes/原材料分批/修改原材料分批.md

@ -43,35 +43,31 @@ __materialAttrs:__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "WorkOrder": "12346",
"WorkOrder": "12346", "BatchNumber": "CELL1000",
"BatchNumber": "CELL1000", "SubBatchNumber": "CELL1000-01",
"SubBatchNumber": "CELL1000-01", "MaterialCode": "CELL12",
"MaterialCode": "CELL12", "Uom": "块",
"Uom": "块", "Count": 100,
"Count": 100, "SupplierBatchNo": "ZL0203001",
"SupplierBatchNo": "ZL0203001", "Supplier": "中来",
"Supplier": "中来", "SecondSupplier": "中来",
"SecondSupplier": "中来", "Remark": "这里是备注",
"Remark": "这里是备注", "MaterialAttrs":[
"MaterialAttrs":[ {
{ "MaterialTypeCode": "CELL",
"MaterialTypeCode": "CELL", "MaterialTypeDesc": "电池片",
"MaterialTypeDesc": "电池片", "AttrCode": "GG",
"AttrCode": "GG", "AttrName": "规格",
"AttrName": "规格", "ValueCode": "middle",
"ValueCode": "middle", "Value": "中号"
"Value": "中号" }
} ]
]
}
} }
} }
```` ````
--- ---

14
mes/原材料分批/删除原材料批次.md

@ -24,18 +24,14 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "workOrder": "12346",
"workOrder": "12346", "batchNumber": "CELL1000",
"batchNumber": "CELL1000", "subBatchNumber": "CELL1000-01"
"subBatchNumber": "CELL1000-01"
}
} }
} }
```` ````
--- ---

14
mes/原材料分批/原材料批次列表.md

@ -23,18 +23,14 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "WorkOrder": "12346",
"WorkOrder": "12346", "BatchNumber": "CELL1000",
"BatchNumber": "CELL1000", "SubBatchNumber": "CELL1000-01"
"SubBatchNumber": "CELL1000-01"
}
} }
} }
```` ````
--- ---

14
mes/原材料分批/原材料批次详细信息.md

@ -23,18 +23,14 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "workOrder": "12346",
"workOrder": "12346", "batchNumber": "CELL1000",
"batchNumber": "CELL1000", "subBatchNumber": "CELL1000-01"
"subBatchNumber": "CELL1000-01"
}
} }
} }
```` ````
--- ---

48
mes/原材料分批/新增原材料分批.md

@ -42,35 +42,31 @@ __materialAttrs:__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "workOrder": "12346",
"workOrder": "12346", "batchNumber": "CELL1000",
"batchNumber": "CELL1000", "subBatchNumber": "CELL1000-01",
"subBatchNumber": "CELL1000-01", "materialCode": "CELL12",
"materialCode": "CELL12", "uom": "块",
"uom": "块", "count": 100,
"count": 100, "supplierBatchNo": "ZL0203001",
"supplierBatchNo": "ZL0203001", "supplier": "中来",
"supplier": "中来", "secondSupplier": "中来",
"secondSupplier": "中来", "remark": "这里是备注",
"remark": "这里是备注", "materialAttrs":[
"materialAttrs":[ {
{ "materialTypeCode": "CELL",
"materialTypeCode": "CELL", "materialTypeDesc": "电池片",
"materialTypeDesc": "电池片", "attrCode": "GG",
"attrCode": "GG", "attrName": "规格",
"attrName": "规格", "valueCode": "middle",
"valueCode": "middle", "value": "中号"
"value": "中号" }
} ]
]
}
} }
} }
```` ````
--- ---

13
mes/账号/修改账号.md

@ -23,15 +23,12 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "userName":"0901001",
"userName":"0901001", "nick":"赵云",
"nick":"赵云", "isActive":true
"isActive":true
}
} }
} }

11
mes/账号/修改账号密码.md

@ -22,14 +22,11 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "userName":"0901001",
"userName":"0901001", "password":"1441qfda"
"password":"1441qfda"
}
} }
} }

16
mes/账号/新增账号.md

@ -24,19 +24,15 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "userName":"0901001",
"userName":"0901001", "nick":"赵云",
"nick":"赵云", "password":"123456",
"password":"123456", "isActive":true
"isActive":true
}
} }
} }
```` ````
--- ---

12
mes/账号/用户信息列表.md

@ -22,17 +22,13 @@ __请求参数__
__请求示例:__ __请求示例:__
``` ```
{ {
{ "data":{
"data":{ "profile": "测试",
"profile": "测试", "userName":"0901001",
"userName":"0901001", "nick":"赵云"
"nick":"赵云"
}
} }
} }
```` ````
--- ---

Loading…
Cancel
Save