Browse Source

去掉bomid字段

master
吕成旭 1 year ago
parent
commit
e6f2ee9f1f
  1. 6
      mes/BOM/查询工单BOM明细.md
  2. 3
      mes/BOM/添加工单BOM信息.md

6
mes/BOM/查询工单BOM明细.md

@ -44,7 +44,6 @@ URL: http://localhost:8033/open/getWorkorderBom
| :-- | :-- | :-- | | :-- | :-- | :-- |
| workorder | string | 工单号 | | workorder | string | 工单号 |
| productCode | string | 产品编码 | | productCode | string | 产品编码 |
| bomId | string | bomId |
| materialCode | string | 物料编码 | | materialCode | string | 物料编码 |
| isPrimary | int | 是否主料 0否,1是| | isPrimary | int | 是否主料 0否,1是|
| primaryPart | string | 主料物料编码,如果isPrimary=1,则与materialCode相同 | | primaryPart | string | 主料物料编码,如果isPrimary=1,则与materialCode相同 |
@ -67,7 +66,6 @@ URL: http://localhost:8033/open/getWorkorderBom
{ {
"workorder": "workorders", "workorder": "workorders",
"productCode": "prodect_code", "productCode": "prodect_code",
"bomId": "",
"materialCode": "1002211010018723", "materialCode": "1002211010018723",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "1002211010018723", "primaryPart": "1002211010018723",
@ -82,7 +80,6 @@ URL: http://localhost:8033/open/getWorkorderBom
{ {
"workorder": "workorders", "workorder": "workorders",
"productCode": "prodect_code", "productCode": "prodect_code",
"bomId": "",
"materialCode": "333", "materialCode": "333",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "333", "primaryPart": "333",
@ -97,7 +94,6 @@ URL: http://localhost:8033/open/getWorkorderBom
{ {
"workorder": "workorders", "workorder": "workorders",
"productCode": "prodect_code", "productCode": "prodect_code",
"bomId": "",
"materialCode": "boli001", "materialCode": "boli001",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "boli001", "primaryPart": "boli001",
@ -112,7 +108,6 @@ URL: http://localhost:8033/open/getWorkorderBom
{ {
"workorder": "workorders", "workorder": "workorders",
"productCode": "prodect_code", "productCode": "prodect_code",
"bomId": "",
"materialCode": "flux_materials_class", "materialCode": "flux_materials_class",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "flux_materials_class", "primaryPart": "flux_materials_class",
@ -127,7 +122,6 @@ URL: http://localhost:8033/open/getWorkorderBom
{ {
"workorder": "workorders", "workorder": "workorders",
"productCode": "prodect_code", "productCode": "prodect_code",
"bomId": "",
"materialCode": "flux_materials_class_2", "materialCode": "flux_materials_class_2",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "flux_materials_class_2", "primaryPart": "flux_materials_class_2",

3
mes/BOM/添加工单BOM信息.md

@ -27,7 +27,6 @@ bom字段
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| :-- | :-- | :-- | :-- | | :-- | :-- | :-- | :-- |
| productCode | string | 是 | 产品编码 | | productCode | string | 是 | 产品编码 |
| bomId | string | 是 | bomId |
| materialCode | string | 是 | 物料编码 | | materialCode | string | 是 | 物料编码 |
| isPrimary | int | 否 | 是否主料 0否,1是| | isPrimary | int | 否 | 是否主料 0否,1是|
| primaryPart | string | 否 | 主料物料编码,如果isPrimary=1,则与materialCode相同 | | primaryPart | string | 否 | 主料物料编码,如果isPrimary=1,则与materialCode相同 |
@ -47,7 +46,6 @@ bom字段
"workorder": "1407", "workorder": "1407",
"bom": [{ "bom": [{
"productCode": "PD004", "productCode": "PD004",
"bomId": "1231413",
"materialCode": "CELL001", "materialCode": "CELL001",
"isPrimary": 1, "isPrimary": 1,
"primaryPart": "CELL001", "primaryPart": "CELL001",
@ -59,7 +57,6 @@ bom字段
"OrigBatchNbr": "" "OrigBatchNbr": ""
}, { }, {
"productCode": "PD004", "productCode": "PD004",
"bomId": "1231413",
"materialCode": "CELL002", "materialCode": "CELL002",
"isPrimary": 0, "isPrimary": 0,
"primaryPart": "CELL001", "primaryPart": "CELL001",

Loading…
Cancel
Save