|
|
|
@ -9,16 +9,6 @@
|
|
|
|
|
</el-select> |
|
|
|
|
<el-button class="filter-item" size="mini" type="success" icon="el-icon-search" @click="toQuery">搜索</el-button> |
|
|
|
|
<!-- 新增 --> |
|
|
|
|
<div style="display: inline-block;margin: 0px 2px;"> |
|
|
|
|
<el-button |
|
|
|
|
v-permission="['admin','YXSTOREPRODUCT_ALL','YXSTOREPRODUCT_CREATE']" |
|
|
|
|
class="filter-item" |
|
|
|
|
size="mini" |
|
|
|
|
type="primary" |
|
|
|
|
icon="el-icon-plus" |
|
|
|
|
@click="add" |
|
|
|
|
>新增</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!--表单组件--> |
|
|
|
|
<eForm ref="form" :is-add="isAdd" /> |
|
|
|
@ -101,7 +91,7 @@ export default {
|
|
|
|
|
beforeInit() { |
|
|
|
|
this.url = 'api/yxStoreProduct' |
|
|
|
|
const sort = 'id,desc' |
|
|
|
|
this.params = { page: this.page, size: this.size, sort: sort, isShow: 0 } |
|
|
|
|
this.params = { page: this.page, size: this.size, sort: sort, isShow: 0, isDel: 0 } |
|
|
|
|
const query = this.query |
|
|
|
|
const type = query.type |
|
|
|
|
const value = query.value |
|
|
|
|