diff --git a/src/views/extend/processFlowView/components/BomSelector.vue b/src/views/extend/processFlowView/components/BomSelector.vue new file mode 100644 index 00000000..cdd9a160 --- /dev/null +++ b/src/views/extend/processFlowView/components/BomSelector.vue @@ -0,0 +1,123 @@ + + + + + + + diff --git a/src/views/extend/processFlowView/components/CustomTransfer.vue b/src/views/extend/processFlowView/components/CustomTransfer.vue index 7d78ee22..173c6c5a 100644 --- a/src/views/extend/processFlowView/components/CustomTransfer.vue +++ b/src/views/extend/processFlowView/components/CustomTransfer.vue @@ -51,65 +51,7 @@ export default { pageNo: 1, pageSize: 100, }, - candidate: { - total: 0, - tree: [ - { - id: 1, - name: '设备1', - paramBomList: [ - { name: '参数BOM1', type: 'param', id: 1 }, - { name: '参数BOM2', type: 'param', id: 2 }, - { name: '参数BOM3', type: 'param', id: 3 }, - { name: '参数BOM4', type: 'param', id: 4 }, - { name: '参数BOM5', type: 'param', id: 5 }, - ], - materialBomList: [ - { name: '物料BOM1', type: 'material', id: 1 }, - { name: '物料BOM2', type: 'material', id: 2 }, - { name: '物料BOM3', type: 'material', id: 3 }, - { name: '物料BOM4', type: 'material', id: 4 }, - { name: '物料BOM5', type: 'material', id: 5 }, - ], - }, - { - id: 2, - name: '设备2', - paramBomList: [ - { name: '参数BOM1', type: 'param', id: 1 }, - { name: '参数BOM2', type: 'param', id: 2 }, - { name: '参数BOM3', type: 'param', id: 3 }, - { name: '参数BOM4', type: 'param', id: 4 }, - { name: '参数BOM5', type: 'param', id: 5 }, - ], - materialBomList: [ - { name: '物料BOM1', type: 'material', id: 1 }, - { name: '物料BOM2', type: 'material', id: 2 }, - { name: '物料BOM3', type: 'material', id: 3 }, - { name: '物料BOM4', type: 'material', id: 4 }, - { name: '物料BOM5', type: 'material', id: 5 }, - ], - }, - { - id: 3, - name: '设备3', - paramBomList: [ - { name: '参数BOM1', type: 'param', id: 1 }, - { name: '参数BOM2', type: 'param', id: 2 }, - { name: '参数BOM3', type: 'param', id: 3 }, - { name: '参数BOM4', type: 'param', id: 4 }, - { name: '参数BOM5', type: 'param', id: 5 }, - ], - materialBomList: [ - { name: '物料BOM1', type: 'material', id: 1 }, - { name: '物料BOM2', type: 'material', id: 2 }, - { name: '物料BOM3', type: 'material', id: 3 }, - { name: '物料BOM4', type: 'material', id: 4 }, - { name: '物料BOM5', type: 'material', id: 5 }, - ], - }, - ], - }, + candidate: [], selectedList: [], }; }, diff --git a/src/views/extend/processFlowView/components/ProcessBomList.vue b/src/views/extend/processFlowView/components/ProcessBomList.vue index 5908eba4..1667dc7d 100644 --- a/src/views/extend/processFlowView/components/ProcessBomList.vue +++ b/src/views/extend/processFlowView/components/ProcessBomList.vue @@ -63,20 +63,23 @@ - + +