mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 00:56:43 +08:00
双主险支持转投保
This commit is contained in:
@@ -261,9 +261,9 @@ export default {
|
|||||||
},
|
},
|
||||||
//转投保
|
//转投保
|
||||||
async toInsurance(item) {
|
async toInsurance(item) {
|
||||||
if (item.insuredDTOs[0].mainRisk.length == '2') {
|
// if (item.insuredDTOs[0].mainRisk.length == '2') {
|
||||||
return Toast.fail('暂不支持组合产品转投保')
|
// return Toast.fail('暂不支持组合产品转投保')
|
||||||
}
|
// }
|
||||||
let flag = item.insuredDTOs[0].riskDTOLst.some(v => {
|
let flag = item.insuredDTOs[0].riskDTOLst.some(v => {
|
||||||
return v.riskCode == 'GFRS_M0024'
|
return v.riskCode == 'GFRS_M0024'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<div class="line_gray"></div>
|
<div class="line_gray"></div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<label class="fs14 color_3A81F6 fw600 lh24">首年保费</label><br />
|
<label class="fs14 color_3A81F6 fw600 lh24">首年保费</label><br />
|
||||||
<label class="fs13 color_FFA42F lh20">{{ pageShowInfo.showInsuredDTO.totalPrem | numFormat}}元</label>
|
<label class="fs13 color_FFA42F lh20">{{ pageShowInfo.showInsuredDTO.totalPrem | numFormat }}元</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="fs15 line_title">产品计划</div>
|
<div class="fs15 line_title">产品计划</div>
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
<span>{{ moneyItem.contentLabel }}</span>
|
<span>{{ moneyItem.contentLabel }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo}}</span
|
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
|
||||||
>{{ moneyItem.content | productRateUnit }}
|
>{{ moneyItem.content | productRateUnit }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -361,11 +361,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
numFormat(str){
|
numFormat(str) {
|
||||||
return str.replace(/\.00/,'')
|
return str.replace(/\.00/, '')
|
||||||
},
|
},
|
||||||
numFormatNo(str){
|
numFormatNo(str) {
|
||||||
return Number(str.replace(/,/g, '')).toFixed(0);
|
return Number(str.replace(/,/g, '')).toFixed(0)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -401,7 +401,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
initDutyColor(code) {
|
initDutyColor(code) {
|
||||||
if (code) {
|
if (code) {
|
||||||
return code.replace(new RegExp('<span>', 'g'), '<span style="color: #3a81f6;font-weight: 600;">').replace(/\.00/,'')
|
return code.replace(new RegExp('<span>', 'g'), '<span style="color: #3a81f6;font-weight: 600;">').replace(/\.00/, '')
|
||||||
} else {
|
} else {
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
@@ -635,9 +635,9 @@ export default {
|
|||||||
async insure() {
|
async insure() {
|
||||||
let path = '/sale/insuredInfo?edit=1'
|
let path = '/sale/insuredInfo?edit=1'
|
||||||
if (this.mainRiskCodes) {
|
if (this.mainRiskCodes) {
|
||||||
if (this.mainRiskCodes.length != 1) {
|
// if (this.mainRiskCodes.length != 1) {
|
||||||
return Toast.fail('暂不支持组合产品转投保')
|
// return Toast.fail('暂不支持组合产品转投保')
|
||||||
}
|
// }
|
||||||
if (this.mainRiskCodes[0] == 'GFRS_M0024') {
|
if (this.mainRiskCodes[0] == 'GFRS_M0024') {
|
||||||
let specilFlag = '1'
|
let specilFlag = '1'
|
||||||
path = `${path}&specilFlag=${specilFlag}`
|
path = `${path}&specilFlag=${specilFlag}`
|
||||||
|
|||||||
Reference in New Issue
Block a user