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