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({