Commit f47c0651 authored by 徐俊's avatar 徐俊

xujun

parent 10ed1431
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
//一、资金来源合计 //一、资金来源合计
calTotalFund () { calTotalFund () {
this.budget[0].totalBudget = this.budget[0].applyFunds + this.budget[0].selfFunds this.budget[0].totalBudget = this.budget[0].applyFunds + this.budget[0].selfFunds
this.$emit('save', [this.budget[0].totalBudget, this.budget[0].applyFunds]) this.$emit('save', [this.budget[0].totalBudget, this.budget[0].applyFunds, this.budget[0].selfFunds])
}, },
//(一)财政资金 //(一)财政资金
calFundFrom () { calFundFrom () {
......
...@@ -895,11 +895,13 @@ export default { ...@@ -895,11 +895,13 @@ export default {
} }
}, },
budgetSave (e) { budgetSave (e) {
if (!!e && e.length == 2) { if (!!e && e.length == 3) {
this.formData.totalFunding = e[0] this.formData.totalFunding = e[0]
this.formData.govFunding = e[1] this.formData.govFunding = e[1]
this.formData.projectKPI.totalBudget = this.formData.totalFunding this.formData.projectKPI.totalBudget = this.formData.totalFunding
this.formData.projectKPI.applyFunds = this.formData.govFunding this.formData.projectKPI.applyFunds = this.formData.govFunding
this.formData.projectKPI.selfFunds = e[2]
} }
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment