Files
klp-oa/klp-ui/src/views/micro/pages/lajiao/components/Processing.vue
2026-07-06 16:03:39 +08:00

42 lines
1.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="processing-container">
<el-tabs v-model="activeTab" type="border-card">
<el-tab-pane v-for="tab in tabs" :key="tab.name" :label="tab.title" :name="tab.name">
<DoPage
v-if="activeTab === tab.name"
:label="tab.label"
:tabs="tab.tabs"
:useSpecialSplit="tab.useSpecialSplit"
/>
</el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import DoPage from '@/views/wms/coil/panels/do.vue'
import { LAJIAO_PROCESSING_TABS } from '../config'
export default {
name: 'LajiaoProcessing',
components: {
DoPage,
},
data() {
return {
// 拉矫平整 WIP 复用现有工序待办组件,只切换为拉矫平整工序标签与对应逻辑库区。
activeTab: 'process',
// 配置集中定义在 config.js便于后续同步调整工序名称与库区映射。
tabs: LAJIAO_PROCESSING_TABS,
}
},
}
</script>
<style scoped lang="scss">
.processing-container {
width: 100%;
height: 100%;
}
</style>