mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 11:06:43 +08:00
建议书编辑已选被保人页面点击下一步修改代码逻辑 并修改姓名的正则规则校验
This commit is contained in:
@@ -326,11 +326,11 @@ export default {
|
|||||||
//点击下一步
|
//点击下一步
|
||||||
nextStep() {
|
nextStep() {
|
||||||
// 建议书投保人/被保人姓名不必填, 填写姓名时展示姓名(落库),不填写姓名时展示性别+年龄,如:男30岁(不落库)
|
// 建议书投保人/被保人姓名不必填, 填写姓名时展示姓名(落库),不填写姓名时展示性别+年龄,如:男30岁(不落库)
|
||||||
let sex = this.insured.sex == '0'?'男':'女'
|
// let sex = this.insured.sex == '0'?'男':'女'
|
||||||
let name = sex + this.insured.insuredAge+'岁'
|
// let name = sex + this.insured.insuredAge+'岁'
|
||||||
if(this.insured.name == name){
|
// if(this.insured.name == name){
|
||||||
this.insured.name = ''
|
// this.insured.name = ''
|
||||||
}
|
// }
|
||||||
//保存有没有社保,在保费计算用到
|
//保存有没有社保,在保费计算用到
|
||||||
//localStorage.setItem('proposalMedical', this.insured.medical == '0' ? '1' : '0')
|
//localStorage.setItem('proposalMedical', this.insured.medical == '0' ? '1' : '0')
|
||||||
localStorage.proposalMedical = this.insured.medical == '0' ? '1' : '0'
|
localStorage.proposalMedical = this.insured.medical == '0' ? '1' : '0'
|
||||||
|
|||||||
Reference in New Issue
Block a user