From a80d971b81f503d13749bc17bb37cbec049bb0e5 Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Tue, 13 Jul 2021 13:06:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9A=E5=88=B6=E5=AD=A6=E5=B9=B3?= =?UTF-8?q?=E9=99=A9=E5=8D=A1=E5=8D=95=E4=BA=A7=E5=93=81=E3=80=91=20?= =?UTF-8?q?=E4=BF=9D=E8=B4=B9=E5=8A=A0=20=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/cardList/cardDetail.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/ebiz/cardList/cardDetail.vue b/src/views/ebiz/cardList/cardDetail.vue index 927810d77..2491b826c 100644 --- a/src/views/ebiz/cardList/cardDetail.vue +++ b/src/views/ebiz/cardList/cardDetail.vue @@ -29,13 +29,13 @@
-
+
-
- + +
注:{{productDate}}
@@ -84,7 +84,7 @@ export default { this.insuredInfo = this.orderDTO.insuredDTOs[0] this.insuredInfo.homeName = getAreaName([{ code: this.insuredInfo.homeProvince }, { code: this.insuredInfo.homeCity }, { code: this.insuredInfo.homeArea }]) - let insuYear = (this.riskDTO = this.orderDTO.insuredDTOs[0].riskDTOLst[0]) + let insuYear = (this.riskDTO = this.orderDTO.insuredDTOs[0].riskDTOLst[0]) if (this.riskDTO.dutyLst && this.riskDTO.dutyLst.length>0) { this.riskDTO.dutyLst.forEach(val => { if(val.dutyCode === 'C006') { @@ -95,7 +95,7 @@ export default { }); } let currentDataArr = insuYear.cvaliDate.split('-') - let currentData = currentDataArr[0] + '年' + currentDataArr[1] + '月' + currentDataArr[2] + '日' + let currentData = currentDataArr[0] + '年' + currentDataArr[1] + '月' + currentDataArr[2] + '日' let insuYearM, productDate, productDateTime, insuYearD, hoDate switch (insuYear.insuYearFlag) { @@ -107,7 +107,7 @@ export default { this.riskDTO.dateCN = '年' hoDate = Date.parse(insuYear.cvaliDate) / 1000 + insuYear['insuYear'] * 24 * 3600 * (afterDate.isLeapYear(new Date(insuYear.cvaliDate).getFullYear()) - 1) break - } + } productDate = new Date(parseInt(hoDate) * 1000) insuYearM = productDate.getMonth() + 1 < 10 ? '0' + (productDate.getMonth() + 1) : productDate.getMonth() + 1 insuYearD = productDate.getDate() < 10 ? '0' + productDate.getDate() : productDate.getDate() @@ -147,4 +147,4 @@ export default { text-align: center; } } - \ No newline at end of file +