| | |
| | | <a-card |
| | | :loading="cardLoading" |
| | | :bordered="false" |
| | | title="仓库管理" |
| | | :title="title" |
| | | style="height: 100%;" |
| | | > |
| | | <a-spin :spinning="loading"> |
| | |
| | | components: { |
| | | Tooltip, |
| | | }, |
| | | props: ['value'], |
| | | props: { |
| | | value: {}, |
| | | title: { |
| | | type: String, |
| | | default: '' |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | searchInput: '', |
| | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('queryTreeData', this.queryTreeData); |
| | | this.$bus.$on('clearTreeSelection', this.onClearSelected) |
| | | }, |
| | | beforeDestroy() { |
| | | this.$bus.$off('queryTreeData', this.queryTreeData); |
| | | this.$bus.$off('clearTreeSelection', this.onClearSelected) |
| | | }, |
| | | //监听 |
| | | watch: { |