白坯 物料 模糊查询+重置问题+底部页码问题

yangwl
A0010407 1 year ago
parent e8e6b806b2
commit 87fc6dad9f

@ -220,7 +220,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleMaterielQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleMaterielQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetProductQuery"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -1224,6 +1224,7 @@ export default {
// - // -
handleMaterielQuery() { handleMaterielQuery() {
this.materielQueryParams.pageNum = 1; this.materielQueryParams.pageNum = 1;
this.materielQueryParams.pageSize = 10;
this.getMaterielList(); this.getMaterielList();
}, },
// - // -
@ -1270,6 +1271,8 @@ export default {
this.materielQueryParams = { this.materielQueryParams = {
productCode: undefined, productCode: undefined,
productDescZh: '白坯', productDescZh: '白坯',
pageNum: 1,
pageSize: 10,
} }
// //
this.innerVisible = true; this.innerVisible = true;
@ -1429,6 +1432,11 @@ export default {
this.queryParams.planDateEnd = moment(this.queryParams.planDateArray[1]).format('YYYY-MM-DD') this.queryParams.planDateEnd = moment(this.queryParams.planDateArray[1]).format('YYYY-MM-DD')
this.getList(); this.getList();
}, },
//
resetProductQuery(){
this.materielQueryParams.productCode = null;
this.getMaterielList();
},
// - // -
resetQuery() { resetQuery() {
this.resetForm("queryForm"); this.resetForm("queryForm");

Loading…
Cancel
Save