领料发布

This commit is contained in:
bb_pan 2025-08-30 10:55:22 +08:00
parent d5cadec309
commit c870b2e079
1 changed files with 4 additions and 6 deletions

View File

@ -305,7 +305,7 @@ export default {
pageSize: 10,
time: null, //
keyWord: "",
taskStatus: null, //
taskStatus: '1', //
},
dialogVisible: false, //
@ -327,10 +327,8 @@ export default {
const end = new Date()
let start = new Date()
start.setMonth(start.getMonth() - 1)
this.queryParams.time = [this.format(end), this.format(end)]
//
// this.queryParams.taskStatus = '1'
this.getList();
this.queryParams.time = [this.format(start), this.format(end)]
this.getList()
},
methods: {
format(date) {
@ -384,7 +382,7 @@ export default {
const end = new Date()
let start = new Date()
start.setMonth(start.getMonth() - 1)
this.queryParams.time = [this.format(end), this.format(end)]
this.queryParams.time = [this.format(start), this.format(end)]
this.resetForm("queryForm");
this.queryParams.keyWord = "";
this.handleQuery();