@@ -187,7 +187,7 @@
slot="append"
icon="el-icon-search"
type="primary"
- @click="getProductList"
+ @click="querySearch"
>搜索</el-button
>
</el-input>
@@ -872,6 +872,11 @@
},
queryReset() {
this.query = {};
+ this.page = 1;
+ this.getProductList();
+ },
+ querySearch() {
this.getProductList();
//获取工厂列表