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 +