mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 22:56:44 +08:00
投保流程 选择客户后赋值客户信息的新市民身份以及新市民类型字段
This commit is contained in:
@@ -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,9 +1083,11 @@ 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'){
|
||||||
this.$toast('新市民身份不能为空')
|
if(this.userInfo.isNewPeopleFlag !== '0' || this.userInfo.isNewPeopleFlag !== '1'){
|
||||||
return false
|
this.$toast('新市民身份不能为空')
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// .then(valid => {
|
// .then(valid => {
|
||||||
if (true === valid) {
|
if (true === valid) {
|
||||||
|
|||||||
@@ -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,9 +1323,11 @@ 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'){
|
||||||
this.$toast('新市民身份不能为空')
|
if(this.userInfo.isNewPeopleFlag !== '0' || this.userInfo.isNewPeopleFlag !== '1'){
|
||||||
return false
|
this.$toast('新市民身份不能为空')
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// .then(valid => {
|
// .then(valid => {
|
||||||
if (true === valid) {
|
if (true === valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user