默认计算金额

master
xy 2 years ago
parent a011526f4a
commit 999c98fb23

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

Loading…
Cancel
Save