From 051cd0f5f2b8225e9cbe73d409e134152db84e2b Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Tue, 1 Nov 2022 14:20:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=A0=87=E5=87=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=A4=8D=E5=AE=A1=E6=97=A5=E6=9C=9F=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EnterpriseStandardDatabase.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;