|
@@ -30,7 +30,7 @@
|
|
|
<el-input clearable style="width: 200px;" size="small" v-model="goodsName"
|
|
|
placeholder="物品名称"></el-input>
|
|
|
<el-button size="small" style="margin-left: 30px;" type="primary"
|
|
|
- @click="getList('goodsNotice')">查询</el-button>
|
|
|
+ @click="handleFilter">查询</el-button>
|
|
|
<div class="tab-list" style="margin-top: 10px;">
|
|
|
<div :class="{ 'tab': true, 'checked': item.checked }" v-for="(item) in options"
|
|
|
:key="item.dictValue" @click="choseProductAttributeType(item)">
|
|
@@ -215,6 +215,10 @@ export default {
|
|
|
this.getNotice(this.activeName);
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleFilter(){
|
|
|
+ this.page = 1;
|
|
|
+ this.getList('goodsNotice');
|
|
|
+ },
|
|
|
// 保存滚动值,这是兼容的写法
|
|
|
handleScroll () {
|
|
|
if((document.documentElement.scrollTop + window.innerHeight) == document.body.offsetHeight){
|
|
@@ -231,6 +235,7 @@ export default {
|
|
|
});
|
|
|
item.checked = true;
|
|
|
this.orderByClause = item.orderByClause;
|
|
|
+ this.page = 1;
|
|
|
this.getList('goodsNotice');
|
|
|
},
|
|
|
getIntegralTypes() {
|
|
@@ -283,6 +288,7 @@ export default {
|
|
|
});
|
|
|
item.checked = true;
|
|
|
this.deliveryType = item.type;
|
|
|
+ this.page = 1;
|
|
|
this.getList('goodsNotice');
|
|
|
},
|
|
|
choseProductAttributeType(item) {
|
|
@@ -291,6 +297,7 @@ export default {
|
|
|
});
|
|
|
item.checked = true;
|
|
|
this.productAttribute = item.dictValue;
|
|
|
+ this.page = 1;
|
|
|
this.getList('goodsNotice');
|
|
|
},
|
|
|
choseType(item) {
|