diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 243d6b4ac..79ef08522 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -5450,9 +5450,8 @@ export default { let date = new Date(this.$moment(this.sarBussionessStandEO.issueTime).format('YYYY-MM-DD')) // const FSRQBUSS = date.getFullYear()+ 5 + '-' + date.getMonth() + '-' + date.getDate() // this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS - - let year = date.getFullYear() + 5; - let month = (date.getMonth()).toString(); + let year = date.getMonth() == 0 ? date.getFullYear() + 4 : date.getFullYear() + 5; + let month = (date.getMonth()).toString() == 0 ? '12' : (date.getMonth()).toString(); let day = (date.getDate()).toString(); if (month.length == 1) { month = "0" + month;