王厅 2 years ago
parent
commit
e29e741c9d
  1. 6
      mes/BOM/BOM删除材料.md
  2. 20
      mes/BOM/BOM添加材料.md
  3. 6
      mes/BOM/产品绑定BOM.md
  4. 6
      mes/BOM/修改BOM.md
  5. 22
      mes/BOM/列出BOM.md
  6. 54
      mes/BOM/查询BOM明细.md
  7. 6
      mes/BOM/添加BOM.md
  8. 4
      mes/产品/修改产品.md
  9. 100
      mes/产品/列出产品.md
  10. 101
      mes/产品/查询产品详情.md
  11. 4
      mes/产品/添加产品.md
  12. 2
      mes/供应商/修改供应商.md
  13. 75
      mes/供应商/列出供应商.md
  14. 2
      mes/供应商/删除供应商.md
  15. 44
      mes/供应商/查询供应商详情.md
  16. 2
      mes/供应商/添加供应商.md
  17. 4
      mes/原材料分批/原材料批次列表.md
  18. 2
      mes/原材料分批/原材料批次详细信息.md
  19. 41
      mes/物料/修改物料.md
  20. 57
      mes/物料/列出物料.md
  21. 37
      mes/物料/列出物料类别.md
  22. 4
      mes/物料/删除物料.md
  23. 57
      mes/物料/查询物料详情.md
  24. 41
      mes/物料/添加物料.md
  25. 6
      mes/选项/列出产品标签形式.md
  26. 4
      mes/选项/列出产品特征.md
  27. 4
      mes/选项/列出工艺类型.md
  28. 4
      mes/选项/列出晶体类型.md
  29. 4
      mes/选项/列出栅线类型.md
  30. 4
      mes/选项/列出电池片数量.md
  31. 4
      mes/选项/列出组件规格.md

6
mes/BOM/BOM删除材料.md

@ -27,9 +27,9 @@ URL: http://localhost:8033/open/BomDeletePart
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId:"1407", bomId: "1407",
bomPartNbr:"M.1.1.N.100" bomPartNbr: "M.1.1.N.100"
} }
} }
``` ```

20
mes/BOM/BOM添加材料.md

@ -34,16 +34,16 @@ URL: http://localhost:8033/open/BomAddPart
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId:"1407", bomId: "1407",
bomPartNbr:"M.1.1.N.100", bomPartNbr: "M.1.1.N.100",
isPrimary:1, isPrimary: 1,
PrimaryPart:"M.1.1.N.100", PrimaryPart: "M.1.1.N.100",
SerialRequirement:3, SerialRequirement: 3,
PartType:"CELL", PartType: "CELL",
LostRatio:3, LostRatio: 3,
GlueType:"", GlueType: "",
Supplier:"CS2", Supplier: "CS2",
} }
} }
``` ```

6
mes/BOM/产品绑定BOM.md

@ -27,9 +27,9 @@ URL: http://localhost:8033/open/ProductBindBom
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
bomId:"1407" bomId: "1407"
} }
} }
``` ```

6
mes/BOM/修改BOM.md

@ -27,9 +27,9 @@ URL: http://localhost:8033/open/UpdateConfigBom
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId:"BOM001", bomId: "BOM001",
descriptions:"修改后的BOM描述", descriptions: "修改后的BOM描述",
} }
} }
``` ```

22
mes/BOM/列出BOM.md

@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListConfigBom
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "bom", search: "bom",
} }
} }
@ -53,16 +53,16 @@ URL: http://localhost:8033/open/ListConfigBom
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
list:[{ list: [{
bomId:"CXBOM", bomId: "CXBOM",
descriptions:"CXBOM", descriptions: "CXBOM",
flag:1, flag: 1,
createTime:"2023-04-09 18:10:01" createTime: "2023-04-09 18:10:01"
},{ }, {
bomId:"testBom002", bomId: "testBom002",
descriptions:"测试BOM002", descriptions: "测试BOM002",
flag:1, flag: 1,
createTime:"2023-04-09 18:10:01" createTime: "2023-04-09 18:10:01"
}] }]
} }
} }

54
mes/BOM/查询BOM明细.md

@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListConfigBomPart
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId: "1407", bomId: "1407",
} }
} }
@ -61,32 +61,32 @@ URL: http://localhost:8033/open/ListConfigBomPart
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
list:[{ list: [{
bomId:"1407", bomId: "1407",
descriptions:"1407号bom", descriptions: "1407号bom",
bomPartNbr:"M.1.1.N.100", bomPartNbr: "M.1.1.N.100",
isPrimary:1, isPrimary: 1,
PrimaryPart:"M.1.1.N.100", PrimaryPart: "M.1.1.N.100",
SerialRequirement:3, SerialRequirement: 3,
Uom:"Pcs", Uom: "Pcs",
PartType:"CELL", PartType: "CELL",
PartTypeDesc:"电池片", PartTypeDesc: "电池片",
LostRatio:3, LostRatio: 3,
GlueType:"", GlueType: "",
Supplier:"CS2", Supplier: "CS2",
},{ }, {
bomId:"1407", bomId: "1407",
descriptions:"1407号bom", descriptions: "1407号bom",
bomPartNbr:"401908010191", bomPartNbr: "401908010191",
isPrimary:1, isPrimary: 1,
PrimaryPart:"401908010191", PrimaryPart: "401908010191",
SerialRequirement:1, SerialRequirement: 1,
Uom:"Pcs", Uom: "Pcs",
PartType:"JBOX", PartType: "JBOX",
PartTypeDesc:"接线盒", PartTypeDesc: "接线盒",
LostRatio:0, LostRatio: 0,
GlueType:"", GlueType: "",
Supplier:"CS2", Supplier: "CS2",
}] }]
} }
} }

6
mes/BOM/添加BOM.md

@ -27,9 +27,9 @@ URL: http://localhost:8033/open/AddConfigBom
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId:"BOM001", bomId: "BOM001",
descriptions:"新的bom", descriptions: "新的bom",
} }
} }
``` ```

4
mes/产品/修改产品.md

@ -47,8 +47,8 @@ URL: http://localhost:8033/open/UpdateProduct
modSpecId: 345, modSpecId: 345,
processType: 22, processType: 22,
featureCode: 34, featureCode: 34,
modWeight:"", modWeight: "",
fgCode:"", fgCode: "",
} }
} }
``` ```

100
mes/产品/列出产品.md

@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListProduct
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "组件001", search: "组件001",
} }
} }
@ -90,60 +90,60 @@ attrs字段
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list: [{
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
familyCode:"ART550-144MHA", familyCode: "ART550-144MHA",
processGroupId:0, processGroupId: 0,
crysTypeId:38, crysTypeId: 38,
crysTypeDesc:"单晶", crysTypeDesc: "单晶",
crysTypeValue:"M", crysTypeValue: "M",
busbarTypeId:37, busbarTypeId: 37,
busbarTypeDesc:"11BB", busbarTypeDesc: "11BB",
busbarTypeValue:"11BB", busbarTypeValue: "11BB",
cellQty:144, cellQty: 144,
cellQtyDesc:"144", cellQtyDesc: "144",
cellQtyValue:"144", cellQtyValue: "144",
modSpecId:49, modSpecId: 49,
modSpecDesc:"2279*1134*35", modSpecDesc: "2279*1134*35",
modSpecValue:"2279*1134*35", modSpecValue: "2279*1134*35",
processType:39, processType: 39,
processTypedesc:"单玻组件", processTypedesc: "单玻组件",
processTypeValue:"单玻组件", processTypeValue: "单玻组件",
featureCode:9, featureCode: 9,
featureCodeDesc:"P", featureCodeDesc: "P",
featureCodeValue:"P", featureCodeValue: "P",
modWeight:"", modWeight: "",
fgCode:"", fgCode: "",
createDate:"2022-01-10 23:10:01.890", createDate: "2022-01-10 23:10:01.890",
lastUpdate:"2022-01-16 22:24:32.273", lastUpdate: "2022-01-16 22:24:32.273",
lastUpdateuser:"mesadmin", lastUpdateuser: "mesadmin",
serialCodeRule:"DM405M10-54HSW", serialCodeRule: "DM405M10-54HSW",
palletCodeRule:"DM405M10-54HSW-bz", palletCodeRule: "DM405M10-54HSW-bz",
attrs:[ attrs: [{
{ id: "7add1e54-d99e-4432-8175-c5afd80ae058",
id:"7add1e54-d99e-4432-8175-c5afd80ae058", attributeId: "Product_GLASS_TYPE",
attributeId:"Product_GLASS_TYPE", attributeDesc: "玻璃类型",
attributeDesc:"玻璃类型", productCode: "088+089ART-MW",
productCode:"088+089ART-MW", description: "双玻",
description:"双玻", code: "双玻",
code:"双玻", createTime: "2023-06-07 14:59:06.800",
createTime:"2023-06-07 14:59:06.800", createUser: ""
createUser:""
}, },
{ {
id:"c671f463-5f66-4b99-9083-44fe9293a83e", id: "c671f463-5f66-4b99-9083-44fe9293a83e",
attributeId:"Product_PACK_QTY", attributeId: "Product_PACK_QTY",
attributeDesc:"包装数量", attributeDesc: "包装数量",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
description:"31", description: "31",
code:"31", code: "31",
createTime:"2023-06-07 14:59:06.800", createTime: "2023-06-07 14:59:06.800",
createUser:"" createUser: ""
} }
], ],
}]
} }
]
} }
``` ```

101
mes/产品/查询产品详情.md

@ -1,4 +1,4 @@
### 查询产品详情(QueryProduct) ### 查询产品详情(GetProduct)
此接口用于查询产品详情 此接口用于查询产品详情
@ -8,7 +8,7 @@
方法:POST 方法:POST
URL: http://localhost:8033/open/QueryProduct URL: http://localhost:8033/open/GetProduct
--- ---
@ -26,8 +26,8 @@ URL: http://localhost:8033/open/QueryProduct
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
} }
} }
``` ```
@ -91,57 +91,58 @@ attrs字段
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
productCode:"088+089ART-MW", info: {
familyCode:"ART550-144MHA", productCode: "088+089ART-MW",
processGroupId:0, familyCode: "ART550-144MHA",
crysTypeId:38, processGroupId: 0,
crysTypeDesc:"单晶", crysTypeId: 38,
crysTypeValue:"M", crysTypeDesc: "单晶",
busbarTypeId:37, crysTypeValue: "M",
busbarTypeDesc:"11BB", busbarTypeId: 37,
busbarTypeValue:"11BB", busbarTypeDesc: "11BB",
cellQty:144, busbarTypeValue: "11BB",
cellQtyDesc:"144", cellQty: 144,
cellQtyValue:"144", cellQtyDesc: "144",
modSpecId:49, cellQtyValue: "144",
modSpecDesc:"2279*1134*35", modSpecId: 49,
modSpecValue:"2279*1134*35", modSpecDesc: "2279*1134*35",
processType:39, modSpecValue: "2279*1134*35",
processTypedesc:"单玻组件", processType: 39,
processTypeValue:"单玻组件", processTypedesc: "单玻组件",
featureCode:9, processTypeValue: "单玻组件",
featureCodeDesc:"P", featureCode: 9,
featureCodeValue:"P", featureCodeDesc: "P",
modWeight:"", featureCodeValue: "P",
fgCode:"", modWeight: "",
createDate:"2022-01-10 23:10:01.890", fgCode: "",
lastUpdate:"2022-01-16 22:24:32.273", createDate: "2022-01-10 23:10:01.890",
lastUpdateuser:"mesadmin", lastUpdate: "2022-01-16 22:24:32.273",
serialCodeRule:"DM405M10-54HSW", lastUpdateuser: "mesadmin",
palletCodeRule:"DM405M10-54HSW-bz", serialCodeRule: "DM405M10-54HSW",
attrs:[ palletCodeRule: "DM405M10-54HSW-bz",
{ attrs: [{
id:"7add1e54-d99e-4432-8175-c5afd80ae058", id: "7add1e54-d99e-4432-8175-c5afd80ae058",
attributeId:"Product_GLASS_TYPE", attributeId: "Product_GLASS_TYPE",
attributeDesc:"玻璃类型", attributeDesc: "玻璃类型",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
description:"双玻", description: "双玻",
code:"双玻", code: "双玻",
createTime:"2023-06-07 14:59:06.800", createTime: "2023-06-07 14:59:06.800",
createUser:"" createUser: ""
}, },
{ {
id:"c671f463-5f66-4b99-9083-44fe9293a83e", id: "c671f463-5f66-4b99-9083-44fe9293a83e",
attributeId:"Product_PACK_QTY", attributeId: "Product_PACK_QTY",
attributeDesc:"包装数量", attributeDesc: "包装数量",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
description:"31", description: "31",
code:"31", code: "31",
createTime:"2023-06-07 14:59:06.800", createTime: "2023-06-07 14:59:06.800",
createUser:"" createUser: ""
} }
], ],
} }
}
} }
``` ```

4
mes/产品/添加产品.md

@ -47,8 +47,8 @@ URL: http://localhost:8033/open/AddProduct
modSpecId: 345, modSpecId: 345,
processType: 22, processType: 22,
featureCode: 34, featureCode: 34,
modWeight:"", modWeight: "",
fgCode:"", fgCode: "",
} }
} }
``` ```

2
mes/供应商/修改供应商.md

@ -42,7 +42,7 @@ URL: http://localhost:8033/open/UpdateSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
supplierCode: "1002210180009192", supplierCode: "1002210180009192",
descriptions: "无锡市江松科技有限公司", descriptions: "无锡市江松科技有限公司",
flag: 1, flag: 1,

75
mes/供应商/列出供应商.md

@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "互利", search: "互利",
} }
} }
@ -64,46 +64,47 @@ URL: http://localhost:8033/open/ListSupplier
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list: [{
supplierCode:"1002210180009192", supplierCode: "1002210180009192",
descriptions:"无锡联晟光伏科技有限公司", descriptions: "无锡联晟光伏科技有限公司",
flag:1, flag: 1,
v_flag_cell:1, v_flag_cell: 1,
v_flag_bks:1, v_flag_bks: 1,
v_flag_eva:0, v_flag_eva: 0,
v_flag_glass:0, v_flag_glass: 0,
v_flag_hulian:0, v_flag_hulian: 0,
v_flag_huiliu:0, v_flag_huiliu: 0,
v_flag_jbox:0, v_flag_jbox: 0,
v_flag_glue:0, v_flag_glue: 0,
v_flag_frame:0, v_flag_frame: 0,
v_flag_solder:0, v_flag_solder: 0,
v_flag_abglue:0, v_flag_abglue: 0,
v_flag_frameglue:0, v_flag_frameglue: 0,
v_flag_jboxglue:0, v_flag_jboxglue: 0,
v_flag_isolatingbar:0, v_flag_isolatingbar: 0,
}, },
{ {
supplierCode:"1002210180009206", supplierCode: "1002210180009206",
descriptions:"无锡梦鼎光电科技有限公司", descriptions: "无锡梦鼎光电科技有限公司",
flag:1, flag: 1,
v_flag_cell:1, v_flag_cell: 1,
v_flag_bks:1, v_flag_bks: 1,
v_flag_eva:0, v_flag_eva: 0,
v_flag_glass:0, v_flag_glass: 0,
v_flag_hulian:0, v_flag_hulian: 0,
v_flag_huiliu:1, v_flag_huiliu: 1,
v_flag_jbox:0, v_flag_jbox: 0,
v_flag_glue:0, v_flag_glue: 0,
v_flag_frame:0, v_flag_frame: 0,
v_flag_solder:0, v_flag_solder: 0,
v_flag_abglue:0, v_flag_abglue: 0,
v_flag_frameglue:0, v_flag_frameglue: 0,
v_flag_jboxglue:0, v_flag_jboxglue: 0,
v_flag_isolatingbar:0, v_flag_isolatingbar: 0,
} }
] ]
}
} }
``` ```

2
mes/供应商/删除供应商.md

@ -26,7 +26,7 @@ URL: http://localhost:8033/open/DeleteSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
supplierCode: "1002210180009192", supplierCode: "1002210180009192",
} }
} }

44
mes/供应商/查询供应商详情.md

@ -1,4 +1,4 @@
### 查询供应商详情(QuerySupplier) ### 查询供应商详情(GetSupplier)
此接口用于查询供应商详情 此接口用于查询供应商详情
@ -8,7 +8,7 @@
方法:POST 方法:POST
URL: http://localhost:8033/open/QuerySupplier URL: http://localhost:8033/open/GetSupplier
--- ---
@ -26,7 +26,7 @@ URL: http://localhost:8033/open/QuerySupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
supplierCode: "1002210180009192", supplierCode: "1002210180009192",
} }
} }
@ -64,24 +64,26 @@ URL: http://localhost:8033/open/QuerySupplier
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
supplierCode:"1002210180009192", info: {
descriptions:"无锡联晟光伏科技有限公司", supplierCode: "1002210180009192",
flag:1, descriptions: "无锡联晟光伏科技有限公司",
v_flag_cell:1, flag: 1,
v_flag_bks:1, v_flag_cell: 1,
v_flag_eva:0, v_flag_bks: 1,
v_flag_glass:0, v_flag_eva: 0,
v_flag_hulian:0, v_flag_glass: 0,
v_flag_huiliu:0, v_flag_hulian: 0,
v_flag_jbox:0, v_flag_huiliu: 0,
v_flag_glue:0, v_flag_jbox: 0,
v_flag_frame:0, v_flag_glue: 0,
v_flag_solder:0, v_flag_frame: 0,
v_flag_abglue:0, v_flag_solder: 0,
v_flag_frameglue:0, v_flag_abglue: 0,
v_flag_jboxglue:0, v_flag_frameglue: 0,
v_flag_isolatingbar:0, v_flag_jboxglue: 0,
v_flag_isolatingbar: 0,
}
} }
} }
``` ```

2
mes/供应商/添加供应商.md

@ -42,7 +42,7 @@ URL: http://localhost:8033/open/AddSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
supplierCode: "1002210180009192", supplierCode: "1002210180009192",
descriptions: "", descriptions: "",
flag: 1, flag: 1,

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

@ -62,7 +62,8 @@ __data:__
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
"batches":[
{ {
"key":"123", "key":"123",
"workOrder":"123456", "workOrder":"123456",
@ -82,6 +83,7 @@ __data:__
"count":80 "count":80
} }
] ]
}
} }
``` ```

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

@ -85,6 +85,7 @@ __MaterialAttrs:__
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
"batch":{
"key":"", "key":"",
"workOrder":"123456", "workOrder":"123456",
"batchNumber":"CELL1000", "batchNumber":"CELL1000",
@ -122,6 +123,7 @@ __MaterialAttrs:__
} }
] ]
} }
}
} }
``` ```

41
mes/物料/修改物料.md

@ -42,29 +42,28 @@ attrs字段
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
descriptions:"电池片描述", descriptions: "电池片描述",
flag:1, flag: 1,
attrs:[ attrs: [{
{ materialCode: "CELL001",
materialCode:"CELL001", materialTypeCode: "CELL",
materialTypeCode:"CELL", attrCode: "crys_type",
attrCode:"crys_type", attrName: "晶体结构",
attrName:"晶体结构", value: "单晶",
value:"单晶", valueCode: "单晶",
valueCode:"单晶", flag: 1
flag:1
}, },
{ {
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
attrCode:"cell_uop", attrCode: "cell_uop",
attrName:"单片功率", attrName: "单片功率",
value:"7.82", value: "7.82",
valueCode:"7.82", valueCode: "7.82",
flag:1 flag: 1
} }
], ],
} }

57
mes/物料/列出物料.md

@ -27,7 +27,7 @@ URL: http://localhost:8033/open/ListMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "玻璃", search: "玻璃",
type: "" type: ""
} }
@ -39,7 +39,7 @@ URL: http://localhost:8033/open/ListMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "", search: "",
type: "GLASS" type: "GLASS"
} }
@ -81,38 +81,37 @@ attrs字段
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list: [{
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
materialTypeDesc:"电池片", materialTypeDesc: "电池片",
descriptions:"电池片描述", descriptions: "电池片描述",
flag:1, flag: 1,
createTime:"2023-04-09 18:10:01", createTime: "2023-04-09 18:10:01",
attrs:[ attrs: [{
{ materialCode: "CELL001",
materialCode:"CELL001", materialTypeCode: "CELL",
materialTypeCode:"CELL", materialTypeDesc: "电池片",
materialTypeDesc:"电池片", attrCode: "crys_type",
attrCode:"crys_type", attrName: "晶体结构",
attrName:"晶体结构", value: "单晶",
value:"单晶", valueCode: "单晶",
valueCode:"单晶", flag: 1
flag:1
}, },
{ {
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
materialTypeDesc:"电池片", materialTypeDesc: "电池片",
attrCode:"cell_uop", attrCode: "cell_uop",
attrName:"单片功率", attrName: "单片功率",
value:"7.82", value: "7.82",
valueCode:"7.82", valueCode: "7.82",
flag:1 flag: 1
} }
], ],
}]
} }
]
} }
``` ```

37
mes/物料/列出物料类别.md

@ -1,6 +1,6 @@
### 列出物料类别(ListMaterialType) ### 列出物料类别(ListMaterialType)
此接口用于获取物料列表,搜索物料 此接口用于列出物料类别列表
--- ---
@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListMaterialType
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "电池", search: "电池",
} }
} }
@ -55,26 +55,27 @@ URL: http://localhost:8033/open/ListMaterialType
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list: [{
materialTypeCode:"CELL", materialTypeCode: "CELL",
materialTypeDesc:"电池片", materialTypeDesc: "电池片",
unit:"pcs", unit: "pcs",
flag:1, flag: 1,
ManagerType:"Photovoltaic", ManagerType: "Photovoltaic",
Sort:1, Sort: 1,
ErpCode:"", ErpCode: "",
}, },
{ {
materialTypeCode:"EVA", materialTypeCode: "EVA",
materialTypeDesc:"EVA", materialTypeDesc: "EVA",
unit:"m2", unit: "m2",
flag:1, flag: 1,
ManagerType:"Photovoltaic", ManagerType: "Photovoltaic",
Sort:2, Sort: 2,
ErpCode:"", ErpCode: "",
} }
] ]
}
} }
``` ```

4
mes/物料/删除物料.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/DeleteMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
materialCode:"CELL001", materialCode: "CELL001",
} }
} }
``` ```

57
mes/物料/查询物料详情.md

@ -1,4 +1,4 @@
### 查询物料详情(QueryMaterial) ### 查询物料详情(GetMaterial)
此接口用于查询物料详情 此接口用于查询物料详情
@ -8,7 +8,7 @@
方法:POST 方法:POST
URL: http://localhost:8033/open/QueryMaterial URL: http://localhost:8033/open/GetMaterial
--- ---
@ -26,8 +26,8 @@ URL: http://localhost:8033/open/QueryMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
materialCode:"CELL001", materialCode: "CELL001",
} }
} }
``` ```
@ -68,35 +68,36 @@ attrs字段
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
materialCode:"CELL001", info: {
materialTypeCode:"CELL", materialCode: "CELL001",
materialTypeDesc:"电池片", materialTypeCode: "CELL",
descriptions:"电池片描述", materialTypeDesc: "电池片",
flag:1, descriptions: "电池片描述",
createTime:"2023-04-09 18:10:01", flag: 1,
attrs:[ createTime: "2023-04-09 18:10:01",
{ attrs: [{
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
materialTypeDesc:"电池片", materialTypeDesc: "电池片",
attrCode:"crys_type", attrCode: "crys_type",
attrName:"晶体结构", attrName: "晶体结构",
value:"单晶", value: "单晶",
valueCode:"单晶", valueCode: "单晶",
flag:1 flag: 1
}, },
{ {
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
materialTypeDesc:"电池片", materialTypeDesc: "电池片",
attrCode:"cell_uop", attrCode: "cell_uop",
attrName:"单片功率", attrName: "单片功率",
value:"7.82", value: "7.82",
valueCode:"7.82", valueCode: "7.82",
flag:1 flag: 1
} }
], ],
} }
}
} }
``` ```

41
mes/物料/添加物料.md

@ -42,29 +42,28 @@ attrs字段
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
descriptions:"电池片描述", descriptions: "电池片描述",
flag:1, flag: 1,
attrs:[ attrs: [{
{ materialCode: "CELL001",
materialCode:"CELL001", materialTypeCode: "CELL",
materialTypeCode:"CELL", attrCode: "crys_type",
attrCode:"crys_type", attrName: "晶体结构",
attrName:"晶体结构", value: "单晶",
value:"单晶", valueCode: "单晶",
valueCode:"单晶", flag: 1
flag:1
}, },
{ {
materialCode:"CELL001", materialCode: "CELL001",
materialTypeCode:"CELL", materialTypeCode: "CELL",
attrCode:"cell_uop", attrCode: "cell_uop",
attrName:"单片功率", attrName: "单片功率",
value:"7.82", value: "7.82",
valueCode:"7.82", valueCode: "7.82",
flag:1 flag: 1
} }
], ],
} }

6
mes/选项/列出产品标签形式.md

@ -54,15 +54,15 @@ URL: http://localhost:8033/open/ListDfFamilys
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list: [{
familyCode: "AG-HD108N-415", familyCode: "AG-HD108N-415",
descriptions: "AG-HD108N-415", descriptions: "AG-HD108N-415",
aliasName: "mesadmin", aliasName: "mesadmin",
flag: 1, flag: 1,
createTime: "2022-01-10 23:10:01.890" createTime: "2022-01-10 23:10:01.890"
}]
} }
]
} }
``` ```

4
mes/选项/列出产品特征.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListFeatureCode
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "P", SourceValue: "P",
SourceDesc: "P" SourceDesc: "P"

4
mes/选项/列出工艺类型.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListProcessType
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "双玻组件", SourceValue: "双玻组件",
SourceDesc: "双玻组件" SourceDesc: "双玻组件"

4
mes/选项/列出晶体类型.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListCrysType
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "M", SourceValue: "M",
SourceDesc: "单晶" SourceDesc: "单晶"

4
mes/选项/列出栅线类型.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListBusBar
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "11BB", SourceValue: "11BB",
SourceDesc: "11BB" SourceDesc: "11BB"

4
mes/选项/列出电池片数量.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListCellQty
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "108", SourceValue: "108",
SourceDesc: "108" SourceDesc: "108"

4
mes/选项/列出组件规格.md

@ -52,8 +52,8 @@ URL: http://localhost:8033/open/ListModSize
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data": {
list:[{ list: [{
SourceId: 1, SourceId: 1,
SourceValue: "1728*1134*30", SourceValue: "1728*1134*30",
SourceDesc: "1728*1134*30" SourceDesc: "1728*1134*30"

Loading…
Cancel
Save