mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 16:46: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'
|
||||
})
|
||||
|
||||
@@ -365,7 +365,7 @@ export default {
|
||||
return str.replace(/\.00/, '')
|
||||
},
|
||||
numFormatNo(str) {
|
||||
return Number(str.replace(/,/g, '')).toFixed(0);
|
||||
return Number(str.replace(/,/g, '')).toFixed(0)
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -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