mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 04:46:43 +08:00
【定制学平险卡单产品】 保费加 元
This commit is contained in:
@@ -29,13 +29,13 @@
|
||||
<van-field :value="riskDTO.proScheme" label="保障方案" name="保障方案" readonly />
|
||||
<div class="duty">
|
||||
<van-field value="保额" label="保险责任" name="保险责任" readonly />
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="riskDTO.dutyLst && riskDTO.dutyLst.length>0">
|
||||
<div class="duty" v-for="(item, index) in riskDTO.dutyLst" :key="index">
|
||||
<van-field :value="item.amtContain" :label="item.dutyName" :name="item.dutyName" readonly />
|
||||
</div>
|
||||
</div>
|
||||
<van-field :value="riskDTO.prem" label="保费" name="保费" readonly />
|
||||
</div>
|
||||
<van-field :value="riskDTO.prem+'元'" label="保费" name="保费" readonly />
|
||||
<van-field :value="riskDTO.insuYear + riskDTO.dateCN" label="保险期间" name="保险期间" readonly />
|
||||
</van-cell-group>
|
||||
<div class="tips">注:{{productDate}}</div>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user