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":{
"profile": "测试",
"WorkOrder": "12346",
"BatchNumber": "CELL1000",
"SubBatchNumber": "CELL1000-01",
"MaterialCode": "CELL12",
"Uom": "块",
"Count": 100,
"SupplierBatchNo": "ZL0203001",
"Supplier": "中来",
"SecondSupplier": "中来",
"Remark": "这里是备注",
"MaterialAttrs":[
{
"MaterialTypeCode": "CELL",
"MaterialTypeDesc": "电池片",
"AttrCode": "GG",
"AttrName": "规格",
"ValueCode": "middle",
"Value": "中号"
}
]
}
"data":{
"profile": "测试",
"WorkOrder": "12346",
"BatchNumber": "CELL1000",
"SubBatchNumber": "CELL1000-01",
"MaterialCode": "CELL12",
"Uom": "块",
"Count": 100,
"SupplierBatchNo": "ZL0203001",
"Supplier": "中来",
"SecondSupplier": "中来",
"Remark": "这里是备注",
"MaterialAttrs":[
{
"MaterialTypeCode": "CELL",
"MaterialTypeDesc": "电池片",
"AttrCode": "GG",
"AttrName": "规格",
"ValueCode": "middle",
"Value": "中号"
}
]
}
}
````
---

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save