批次生成

This commit is contained in:
砂糖
2025-08-14 17:54:18 +08:00
parent 96da503d0a
commit 64f9be8fe4
4 changed files with 198 additions and 60 deletions

View File

@@ -0,0 +1,26 @@
<template>
<el-tag>{{ getCraftInfo() }}</el-tag>
</template>
<script>
import { mapGetters } from 'vuex';
export default {
name: 'CraftInfo',
props: {
craftId: {
type: [String, Number, undefined],
required: true
}
},
computed: {
...mapGetters(['processList'])
},
methods: {
getCraftInfo() {
const craft = this.processList.find(item => item.processId === this.craftId);
return craft.processName;
}
}
}
</script>