双主险支持转投保

This commit is contained in:
na.guo
2020-08-24 10:03:50 +08:00
parent 35864ce312
commit ee12d24379
2 changed files with 13 additions and 13 deletions

View File

@@ -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'
})

View File

@@ -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}`