|
@@ -190,7 +190,7 @@ export default {
|
|
|
}
|
|
|
this.expenditurePlanData = {
|
|
|
incomeExpenditurePlanList: this.ruleForm.incomeExpenditurePlanList || [],
|
|
|
- planIrrStr: this.ruleForm.planIrrStr
|
|
|
+ planIrrStr: this.ruleForm.planIrrStr
|
|
|
}
|
|
|
this.formKey += 1
|
|
|
})
|
|
@@ -279,10 +279,13 @@ export default {
|
|
|
this.$router.go(-1)
|
|
|
})
|
|
|
} else {
|
|
|
- await this.automaticGeneration()
|
|
|
+ const data = await this.getParams(type)
|
|
|
+ if(data.incomeExpenditurePlanList && data.incomeExpenditurePlanList.length) {
|
|
|
+ await this.automaticGeneration()
|
|
|
+ }
|
|
|
this.$refs.ruleForm.validate(async(valid) => {
|
|
|
if (valid) {
|
|
|
- const data = await this.getParams(type)
|
|
|
+
|
|
|
data.visible = type !== 'temp'
|
|
|
setTimeout(() => {
|
|
|
reviewQuotaDisburseSubmit(data).then(() => {
|