From 999c98fb231e15f8cfa38530f62c1bd8d07acc24 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 28 May 2024 16:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=AE=A1=E7=AE=97=E9=87=91?= =?UTF-8?q?=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract/contractEdit.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/contract/contractEdit.vue b/src/views/contract/contractEdit.vue index eec6194..c0e28fa 100644 --- a/src/views/contract/contractEdit.vue +++ b/src/views/contract/contractEdit.vue @@ -1154,7 +1154,7 @@ export default { page_size: 20, page: 1, is_tree: 1, - year: "", + year: new Date().getFullYear().toString(), plan_department_id: "", type: "" }, @@ -1192,6 +1192,12 @@ export default { minWidth: 180, align: "left", }, + { + label: "内容", + prop: "content", + minWidth: 200, + align: "left", + }, { label: "计划金额", prop: "money", @@ -1447,6 +1453,7 @@ export default { use_money: i._inputMoney, new_money: i.money, })); + this.form.plan_price = selections.reduce((a, b) => a + Number(b._inputMoney), 0) this.step = 2; } else { this.$message({