| | |
| | | <template > |
| | | <a-card :bordered="false" :body-style="{ padding: '0 24px 24px 24px' }"> |
| | | <a-tabs default-active-key="1"> |
| | | <a-tab-pane key="1" tab="刀具信息"> |
| | | <cutting-tool-list ref="cuttingToolList"></cutting-tool-list> |
| | | </a-tab-pane> |
| | | <a-tab-pane key="2" tab="刀具库存"> |
| | | <cutting-inventory-list ref="cuttingInventoryList"></cutting-inventory-list> |
| | | </a-tab-pane> |
| | | <a-tab-pane key="3" tab="刀具额定寿命"> |
| | | <rated-life-list ref="RatedLifeList"></rated-life-list> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-card> |
| | | </template> |
| | | <!--<template >--> |
| | | <!-- <a-card :bordered="false" :body-style="{ padding: '0 24px 24px 24px' }">--> |
| | | <!-- <a-tabs default-active-key="1">--> |
| | | <!-- <a-tab-pane key="1" tab="刀具信息">--> |
| | | <!-- <cutting-tool-list ref="cuttingToolList"></cutting-tool-list>--> |
| | | <!-- </a-tab-pane>--> |
| | | <!-- <a-tab-pane key="2" tab="刀具库存">--> |
| | | <!-- <cutting-inventory-list ref="cuttingInventoryList"></cutting-inventory-list>--> |
| | | <!-- </a-tab-pane>--> |
| | | <!-- <a-tab-pane key="3" tab="刀具额定寿命">--> |
| | | <!-- <rated-life-list ref="RatedLifeList"></rated-life-list>--> |
| | | <!-- </a-tab-pane>--> |
| | | <!-- </a-tabs>--> |
| | | <!-- </a-card>--> |
| | | <!--</template>--> |
| | | |
| | | <script> |
| | | import CuttingToolList from './CuttingToolList' |
| | | import CuttingInventoryList from './CuttingInventoryList' |
| | | import RatedLifeList from './RatedLifeList.vue' |
| | | <!--<script>--> |
| | | <!--import CuttingToolList from './CuttingToolList'--> |
| | | <!--import CuttingInventoryList from './CuttingInventoryList'--> |
| | | <!--import RatedLifeList from './RatedLifeList.vue'--> |
| | | |
| | | export default { |
| | | name: '刀具台账', |
| | | components: { |
| | | CuttingToolList, |
| | | CuttingInventoryList, |
| | | RatedLifeList, |
| | | }, |
| | | data() { |
| | | return {} |
| | | }, |
| | | methods: { |
| | | callback(key) { |
| | | console.log('切换到页签:', key) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <!--export default {--> |
| | | <!-- name: '刀具台账',--> |
| | | <!-- components: {--> |
| | | <!-- CuttingToolList,--> |
| | | <!-- CuttingInventoryList,--> |
| | | <!-- RatedLifeList,--> |
| | | <!-- },--> |
| | | <!-- data() {--> |
| | | <!-- return {}--> |
| | | <!-- },--> |
| | | <!-- methods: {--> |
| | | <!-- callback(key) {--> |
| | | <!-- console.log('切换到页签:', key)--> |
| | | <!-- }--> |
| | | <!-- }--> |
| | | <!--}--> |
| | | <!--</script>--> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | <!--<style scoped>--> |
| | | <!--@import '~@assets/less/common.less';--> |
| | | |
| | | </style> |
| | | <!--</style>--> |