投保流程 选择客户后赋值客户信息的新市民身份以及新市民类型字段

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-09-22 17:51:03 +08:00
parent 527a687fee
commit fb15fc8cd4
2 changed files with 14 additions and 6 deletions

View File

@@ -1057,6 +1057,8 @@ export default {
this.userInfo.homeCity = data.homeCity //家庭市 this.userInfo.homeCity = data.homeCity //家庭市
this.userInfo.homeArea = data.homeArea //家庭区 this.userInfo.homeArea = data.homeArea //家庭区
this.userInfo.homeAddress = data.homeAddress //家庭详细地址 this.userInfo.homeAddress = data.homeAddress //家庭详细地址
this.userInfo.isNewPeopleFlag = data.isNewPeopleFlag //新市民身份
this.userInfo.npType = data.npType //新市民类型
// this.userInfo.homeZip = data.homeZip //家庭邮编 // this.userInfo.homeZip = data.homeZip //家庭邮编
// this.userInfo.homePhone = data.homePhone //家庭电话 // this.userInfo.homePhone = data.homePhone //家庭电话
// this.userInfo.householdProvince = data.province //户籍省 // this.userInfo.householdProvince = data.province //户籍省
@@ -1081,10 +1083,12 @@ export default {
async nextStep() { async nextStep() {
//表单校验, 成功跳转 //表单校验, 成功跳转
let valid = await this.$validator.validate() let valid = await this.$validator.validate()
if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){ if(this.manageComCode == '45'){
if(this.userInfo.isNewPeopleFlag !== '0' || this.userInfo.isNewPeopleFlag !== '1'){
this.$toast('新市民身份不能为空') this.$toast('新市民身份不能为空')
return false return false
} }
}
// .then(valid => { // .then(valid => {
if (true === valid) { if (true === valid) {
localStorage.chooseProductCodesNew = localStorage.chooseProductCodes localStorage.chooseProductCodesNew = localStorage.chooseProductCodes

View File

@@ -1297,6 +1297,8 @@ export default {
this.userInfo.homeCity = data.homeCity //家庭市 this.userInfo.homeCity = data.homeCity //家庭市
this.userInfo.homeArea = data.homeArea //家庭区 this.userInfo.homeArea = data.homeArea //家庭区
this.userInfo.homeAddress = data.homeAddress //家庭详细地址 this.userInfo.homeAddress = data.homeAddress //家庭详细地址
this.userInfo.isNewPeopleFlag = data.isNewPeopleFlag //新市民身份
this.userInfo.npType = data.npType //新市民类型
// this.userInfo.homeZip = data.homeZip //家庭邮编 // this.userInfo.homeZip = data.homeZip //家庭邮编
// this.userInfo.homePhone = data.homePhone //家庭电话 // this.userInfo.homePhone = data.homePhone //家庭电话
// this.userInfo.householdProvince = data.province //户籍省 // this.userInfo.householdProvince = data.province //户籍省
@@ -1321,10 +1323,12 @@ export default {
//下一步 //下一步
async nextStep() { async nextStep() {
let valid = await this.$validator.validate() let valid = await this.$validator.validate()
if(this.userInfo.isNewPeopleFlag === '' && this.manageComCode == '45'){ if(this.manageComCode == '45'){
if(this.userInfo.isNewPeopleFlag !== '0' || this.userInfo.isNewPeopleFlag !== '1'){
this.$toast('新市民身份不能为空') this.$toast('新市民身份不能为空')
return false return false
} }
}
// .then(valid => { // .then(valid => {
if (true === valid) { if (true === valid) {
// 职业 学龄前儿童 2099908 离休人员 8000003家庭主妇 4071203无业人员 8000001 // 职业 学龄前儿童 2099908 离休人员 8000003家庭主妇 4071203无业人员 8000001