From 1454ddf9bd44a4f578dd3cb1dcc15526d8ec935f Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 18 Jul 2025 16:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/leasePublish/component/addToolsApply.vue | 9 +++++++++ src/views/material/stquery/deviceUsingRecord.vue | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/business/leasePublish/component/addToolsApply.vue b/src/views/business/leasePublish/component/addToolsApply.vue index 5b5d468e..616e0447 100644 --- a/src/views/business/leasePublish/component/addToolsApply.vue +++ b/src/views/business/leasePublish/component/addToolsApply.vue @@ -129,6 +129,13 @@ @close="closeView" > + + + + + + + @@ -291,6 +298,7 @@ export default { productionTime: "", }, maForm: { + projectName: undefined, unitId: undefined, num: "", leasePerson: "", @@ -425,6 +433,7 @@ export default { return } this.title = "新增发布"; + this.maForm.projectName = this.leaseApplyData.leaseProject await this.getUnit(); this.openView = true; diff --git a/src/views/material/stquery/deviceUsingRecord.vue b/src/views/material/stquery/deviceUsingRecord.vue index e01e8def..3e0ab08d 100644 --- a/src/views/material/stquery/deviceUsingRecord.vue +++ b/src/views/material/stquery/deviceUsingRecord.vue @@ -201,7 +201,7 @@ export default { created() { const end = new Date() let start = new Date() - start.setMonth(start.getMonth() - 1) + start.setFullYear(start.getFullYear() - 1); // 设置为去年的今天 this.queryParams.time = [this.format(start), this.format(end)] this.initSelectData() this.getList()