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

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

@ -26,11 +26,11 @@ 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"
} }
} }
``` ```

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

@ -33,18 +33,18 @@ 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",
} }
} }
``` ```

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

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

10
mes/BOM/修改BOM.md

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

38
mes/BOM/列出BOM.md

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListConfigBom
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "bom", search: "bom",
} }
} }
``` ```
@ -50,21 +50,21 @@ 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"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListConfigBomPart
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
bomId: "1407", bomId: "1407",
} }
} }
``` ```
@ -58,37 +58,37 @@ 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",
}] }]
} }
} }
``` ```

10
mes/BOM/添加BOM.md

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

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

@ -36,20 +36,20 @@ URL: http://localhost:8033/open/UpdateProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
productCode: "088+089ART-MW", productCode: "088+089ART-MW",
familyCode: "ART550-144MHA", familyCode: "ART550-144MHA",
processGroupId: 34, processGroupId: 34,
crysTypeId: 12, crysTypeId: 12,
busbarTypeId: 31, busbarTypeId: 31,
cellQty: 64, cellQty: 64,
modSpecId: 345, modSpecId: 345,
processType: 22, processType: 22,
featureCode: 34, featureCode: 34,
modWeight:"", modWeight: "",
fgCode:"", fgCode: "",
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListProduct
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "组件001", search: "组件001",
} }
} }
``` ```
@ -88,62 +88,62 @@ 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:"" }
} ],
], }]
}
] }
} }
``` ```

8
mes/产品/删除产品.md

@ -26,10 +26,10 @@ URL: http://localhost:8033/open/DeleteProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
productCode: "088+089ART-MW", productCode: "088+089ART-MW",
} }
} }
``` ```

121
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
--- ---
@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QueryProduct
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
productCode:"088+089ART-MW", productCode: "088+089ART-MW",
} }
} }
``` ```
@ -88,60 +88,61 @@ 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: ""
} }
], ],
} }
}
} }
``` ```

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

@ -36,20 +36,20 @@ URL: http://localhost:8033/open/AddProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
productCode: "088+089ART-MW", productCode: "088+089ART-MW",
familyCode: "ART550-144MHA", familyCode: "ART550-144MHA",
processGroupId: 34, processGroupId: 34,
crysTypeId: 12, crysTypeId: 12,
busbarTypeId: 31, busbarTypeId: 31,
cellQty: 64, cellQty: 64,
modSpecId: 345, modSpecId: 345,
processType: 22, processType: 22,
featureCode: 34, featureCode: 34,
modWeight:"", modWeight: "",
fgCode:"", fgCode: "",
} }
} }
``` ```

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

@ -41,26 +41,26 @@ URL: http://localhost:8033/open/UpdateSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
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,
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "互利", search: "互利",
} }
} }
``` ```
@ -62,48 +62,49 @@ 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,
} }
] ]
}
} }
``` ```

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

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

56
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
--- ---
@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QuerySupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
supplierCode: "1002210180009192", supplierCode: "1002210180009192",
} }
} }
``` ```
@ -62,27 +62,29 @@ 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,
}
}
} }
``` ```

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

@ -41,26 +41,26 @@ URL: http://localhost:8033/open/AddSupplier
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
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,
} }
} }
``` ```

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

@ -62,26 +62,28 @@ __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", {
"workOrder":"123456", "key":"123",
"batchNumber":"CELL1000", "workOrder":"123456",
"subBatchNumber":"", "batchNumber":"CELL1000",
"materialCode":"CELL12", "subBatchNumber":"",
"uom":"块", "materialCode":"CELL12",
"count":1000 "uom":"块",
}, "count":1000
{ },
"key":"1234", {
"workOrder":"123456", "key":"1234",
"batchNumber":"CELL1000", "workOrder":"123456",
"subBatchNumber":"CELL1000-01", "batchNumber":"CELL1000",
"materialCode":"CELL12", "subBatchNumber":"CELL1000-01",
"uom":"块", "materialCode":"CELL12",
"count":80 "uom":"块",
} "count":80
] }
]
}
} }
``` ```

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

@ -85,42 +85,44 @@ __MaterialAttrs:__
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
"key":"", "batch":{
"workOrder":"123456", "key":"",
"batchNumber":"CELL1000", "workOrder":"123456",
"subBatchNumber":"", "batchNumber":"CELL1000",
"materialCode":"CELL12", "subBatchNumber":"",
"materialName": "12号电池片", "materialCode":"CELL12",
"materialTypeCode":"CELL", "materialName": "12号电池片",
"materialTypeDesc":"电池片", "materialTypeCode":"CELL",
"uom":"块", "materialTypeDesc":"电池片",
"count":1000, "uom":"块",
"surplusQty": 534, "count":1000,
"supplierBatchNo": "ZL0902001", "surplusQty": 534,
"supplierCode":"ZL", "supplierBatchNo": "ZL0902001",
"supplier": "中来", "supplierCode":"ZL",
"secondSupplierCode": "ZL", "supplier": "中来",
"secondSupplier": "中来", "secondSupplierCode": "ZL",
"createTime": "2021-01-01 09:00:00", "secondSupplier": "中来",
"remark": "这里是备注", "createTime": "2021-01-01 09:00:00",
"materialAttrs": [ "remark": "这里是备注",
{ "materialAttrs": [
"materialTypeCode":"CELL", {
"materialTypeDesc":"电池片", "materialTypeCode":"CELL",
"attrCode":"Color", "materialTypeDesc":"电池片",
"attrName":"颜色", "attrCode":"Color",
"valueCode":"Blue", "attrName":"颜色",
"value":"蓝色" "valueCode":"Blue",
}, "value":"蓝色"
{ },
"materialTypeCode":"CELL", {
"materialTypeDesc":"电池片", "materialTypeCode":"CELL",
"attrCode":"Size", "materialTypeDesc":"电池片",
"attrName":"规格", "attrCode":"Size",
"valueCode":"144T", "attrName":"规格",
"value":"144T" "valueCode":"144T",
} "value":"144T"
] }
]
}
} }
} }

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

@ -41,33 +41,32 @@ 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 }
} ],
], }
}
} }
``` ```

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

@ -26,11 +26,11 @@ URL: http://localhost:8033/open/ListMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "玻璃", search: "玻璃",
type: "" type: ""
} }
} }
``` ```
@ -38,11 +38,11 @@ URL: http://localhost:8033/open/ListMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "", search: "",
type: "GLASS" type: "GLASS"
} }
} }
``` ```
@ -79,40 +79,39 @@ 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 }
} ],
], }]
} }
]
} }
``` ```

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

@ -1,6 +1,6 @@
### 列出物料类别(ListMaterialType) ### 列出物料类别(ListMaterialType)
此接口用于获取物料列表,搜索物料 此接口用于列出物料类别列表
--- ---
@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListMaterialType
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
search: "电池", search: "电池",
} }
} }
``` ```
@ -53,28 +53,29 @@ 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: "",
} }
] ]
}
} }
``` ```

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

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

77
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
--- ---
@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QueryMaterial
``` ```
{ {
"data": { "data": {
profile:"测试厂区", profile: "测试厂区",
materialCode:"CELL001", materialCode: "CELL001",
} }
} }
``` ```
@ -65,38 +65,39 @@ 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
} }
], ],
} }
}
} }
``` ```

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

@ -41,33 +41,32 @@ 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 }
} ],
], }
}
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListDfFamilys
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "11BB", search: "11BB",
} }
} }
``` ```
@ -52,17 +52,17 @@ 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"
} }]
] }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListFeatureCode
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "P", search: "P",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListProcessType
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "双玻", search: "双玻",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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: "双玻组件"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListCrysType
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "单晶", search: "单晶",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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: "单晶"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListBusBar
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "11BB", search: "11BB",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListCellQty
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "108", search: "108",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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"
}] }]
} }
} }
``` ```

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

@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListModSize
``` ```
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "1728", search: "1728",
} }
} }
``` ```
@ -50,15 +50,15 @@ 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