Commit 5be7ae9b authored by wangxl's avatar wangxl

33

parent 6452bfe0
......@@ -893,6 +893,13 @@ export default {
this.formData.fileList = []
}
},
processKpiFunds () {
if (!!this.formData.budget && this.formData.budget.length > 0) {
this.formData.projectKPI.yearTotal = this.formData.budget[0].totalBudget
this.formData.projectKPI.yearApply = this.formData.budget[0].applyFunds
this.formData.projectKPI.yearSelf = this.formData.budget[0].selfFunds
}
},
processProjectYearTarget () {
this.formData.yearTarget = this.formData.projectKPI.yearTarget
this.formData.year1Goal = this.formData.projectKPI.year1Goal
......@@ -923,6 +930,7 @@ export default {
obj = { id: null, members: [], participateUnits: [], completeStatus: null, step: null }
break;
case 2:
this.processKpiFunds()
obj = { id: null, totalFunding: null, govFunding: null, unitFunding: null, selfFunding: null, budget: [], fundPlan: [], deviceList: [], manufactureList: [], unitPayment: [], completeStatus: null, step: null }
break;
case 3:
......@@ -968,7 +976,7 @@ export default {
return true
}
},
determineProjKPIDetail() {
determineProjKPIDetail () {
let flag = false
for (let e of this.formData.projectKPI.threeLevel) {
if (e.performanceStandard && e.performanceStandard > 0) {
......
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