领料发布

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