| | |
| | | :visible.sync="visible" |
| | | @confirm="confirm" |
| | | > |
| | | <TableLayout :permissions="['business:goods:query']"> |
| | | <TableLayout> |
| | | <!-- 搜索表单 --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" style="display: block;" > |
| | | <el-form-item label="" prop="name" label-width="5px" style="display: inline-block;margin-right: 30px;"> |
| | |
| | | components: { GlobalWindow, TableLayout, Pagination }, |
| | | data () { |
| | | return { |
| | | activeName: 'first', |
| | | title: '', |
| | | visible: false, |
| | | tabelHeight: null, |
| | | // 搜索 |
| | | searchForm: { |
| | | name: '', |
| | | categoryId: '', |
| | | brandId: '', |
| | | type: '0', // 平台商品 |
| | | status: '', |
| | | isrec: '', |
| | | labels: '' |
| | | id: '', |
| | | bindShopId: '' |
| | | }, |
| | | labels: [], |
| | | serials: [], |
| | | brands: [], |
| | | selectGoods: [] |
| | | shops: [] |
| | | } |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.handleResize); |
| | | }, |
| | | beforeDestroy() { |
| | | window.removeEventListener('resize', this.handleResize); |
| | | }, |
| | | created () { |
| | | this.config({ |