|
@@ -231,7 +231,7 @@ export default {
|
|
default: false
|
|
default: false
|
|
},
|
|
},
|
|
detailsInfo: {
|
|
detailsInfo: {
|
|
- type: Object,
|
|
|
|
|
|
+ type: Object,
|
|
default: () => {}
|
|
default: () => {}
|
|
},
|
|
},
|
|
endDate: {
|
|
endDate: {
|
|
@@ -441,9 +441,9 @@ export default {
|
|
const { repaymentAdjustment, startingDate, interestCalculate } = this.ruleForm
|
|
const { repaymentAdjustment, startingDate, interestCalculate } = this.ruleForm
|
|
if (repaymentAdjustment === 'fixed_repayment_date') {
|
|
if (repaymentAdjustment === 'fixed_repayment_date') {
|
|
if (interestCalculate) {
|
|
if (interestCalculate) {
|
|
- this.ruleForm.financingPeriod = startAndEndValue(startingDate, this.endDate)
|
|
|
|
|
|
+ this.ruleForm.financingPeriod = startAndEndValue(startingDate, this.endDate) + 1
|
|
} else {
|
|
} else {
|
|
- this.ruleForm.financingPeriod = startAndEndValue(startingDate, this.endDate) - 1
|
|
|
|
|
|
+ this.ruleForm.financingPeriod = startAndEndValue(startingDate, this.endDate)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|