修改校验

This commit is contained in:
shishengjie
2019-10-12 14:07:11 +08:00
parent 1227eaebfc
commit 388147155e

View File

@@ -603,7 +603,7 @@ export default {
if (this.userInfo.relationToInsured == '2') {
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
//如果被保人是投保人的配偶 或者 投保人不是已婚
if (insuredInfo.relationToAppnt == '2' || insuredInfo.marriage != '1') {
if (insuredInfo.marriage != '1') {
return this.$toast('与被保人关系有误')
}
//如果被保人与投保人性别相同