diff --git a/src/views/extend/processFlowView/components/CustomBomList.vue b/src/views/extend/processFlowView/components/CustomBomList.vue
index d1243363..5f25fadb 100644
--- a/src/views/extend/processFlowView/components/CustomBomList.vue
+++ b/src/views/extend/processFlowView/components/CustomBomList.vue
@@ -18,7 +18,9 @@
+ :class="{
+ hidden: active && bomListLength > 0 ? false : true,
+ }">
-
{{ bom.name }}
@@ -94,16 +96,16 @@ li {
}
ul {
- display: flex;
- flex-direction: column;
- gap: 4px;
- margin-top: 4px;
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+ margin-top: 4px;
}
.material-bom > li,
.param-bom > li {
padding: 4px 24px;
- background: #0001;
- border-radius: 4px;
+ background: #0001;
+ border-radius: 4px;
}
diff --git a/src/views/extend/processFlowView/components/CustomTransfer.vue b/src/views/extend/processFlowView/components/CustomTransfer.vue
index 52498647..7d78ee22 100644
--- a/src/views/extend/processFlowView/components/CustomTransfer.vue
+++ b/src/views/extend/processFlowView/components/CustomTransfer.vue
@@ -51,8 +51,66 @@ export default {
pageNo: 1,
pageSize: 100,
},
- candidateList: [],
- selectedList: [],
+ 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 },
+ ],
+ },
+ ],
+ },
+ selectedList: [],
};
},
computed: {},
@@ -101,8 +159,8 @@ export default {
}
this.bomLoading = false;
},
- //
- handleChange() {}
+ //
+ handleChange() {},
},
};
diff --git a/src/views/extend/processFlowView/components/CustomTransferBox.vue b/src/views/extend/processFlowView/components/CustomTransferBox.vue
index ca4a3574..95098dee 100644
--- a/src/views/extend/processFlowView/components/CustomTransferBox.vue
+++ b/src/views/extend/processFlowView/components/CustomTransferBox.vue
@@ -26,7 +26,7 @@
-
+