[FIX]解决dev代码合并问题

This commit is contained in:
yuweiqi
2020-04-21 13:12:50 +08:00
parent 6a72af0dbe
commit a918abba3e

View File

@@ -204,9 +204,9 @@ import FieldDatePicter from '@/components/ebiz/FieldDatePicter'
import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker' import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
import DataDictionary from '@/assets/js/utils/data-dictionary' import DataDictionary from '@/assets/js/utils/data-dictionary'
import areaList from '@/assets/js/utils/area' import areaList from '@/assets/js/utils/area'
import { getOrderDetail } from '@/api/ebiz/sale/sale' // import { getOrderDetail } from '@/api/ebiz/sale/sale'
import filter from '@/filters/index' import filter from '@/filters/index'
import getAreaName from '@/assets/js/utils/get-area-name' // import getAreaName from '@/assets/js/utils/get-area-name'
import utilsAge from '@/assets/js/utils/age' import utilsAge from '@/assets/js/utils/age'
import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan' import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan'
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker' import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
@@ -214,7 +214,11 @@ import idNoCheck from '@/assets/js/utils/idNoCheck'
import { idToData } from './js/verification' import { idToData } from './js/verification'
import { selectComp } from './js/methods' import { selectComp } from './js/methods'
// let relationToInsured = [{ id: 2, text: '配偶' }, { id: 3, text: '父母' }, { id: 4, text: '子女' }, { id: 5, text: '其他' }] // let relationToInsured = [{ id: 2, text: '配偶' }, { id: 3, text: '父母' }, { id: 4, text: '子女' }, { id: 5, text: '其他' }]
let relationToInsured = [{ id: 2, text: '配偶' }, { id: 3, text: '父母' }, { id: 4, text: '子女' }] let relationToInsured = [
{ id: 2, text: '配偶' },
{ id: 3, text: '父母' },
{ id: 4, text: '子女' }
]
export default { export default {
name: 'insuredInfo', name: 'insuredInfo',
@@ -408,7 +412,10 @@ export default {
} else if (pickerType == '3') { } else if (pickerType == '3') {
this.columns = DataDictionary.degree this.columns = DataDictionary.degree
} else if (pickerType == '4') { } else if (pickerType == '4') {
this.columns = [{ id: 0, text: '有' }, { id: 1, text: '无' }] this.columns = [
{ id: 0, text: '有' },
{ id: 1, text: '无' }
]
} else if (pickerType == '5') { } else if (pickerType == '5') {
this.columns = DataDictionary.taxIdentity this.columns = DataDictionary.taxIdentity
} else if (pickerType == '6') { } else if (pickerType == '6') {
@@ -669,7 +676,7 @@ export default {
} }
} }
//与被保人关系是配偶 //与被保人关系是配偶
let insuredInfo = this.saleInsuredPersonInfo let insuredInfo = JSON.parse(this.saleInsuredPersonInfo)
//如果投保人不是已婚 //如果投保人不是已婚
if (insuredInfo.marriage != '1') { if (insuredInfo.marriage != '1') {
return this.$toast('亲,受益人与被保险人关系为配偶,被保险人婚姻状况必须为已婚哦~') return this.$toast('亲,受益人与被保险人关系为配偶,被保险人婚姻状况必须为已婚哦~')
@@ -841,7 +848,9 @@ export default {
obj['2'] = true obj['2'] = true
obj['3'] = true obj['3'] = true
if (obj[idType] === undefined) { if (obj[idType] === undefined) {
return this.$toast('亲国籍为中国且未满2周岁儿童证件类型必须“身份证”或“户口本”或“出生证”或“台湾居民来往大陆通行证”或“港澳居民来往内地通行证”') return this.$toast(
'亲国籍为中国且未满2周岁儿童证件类型必须“身份证”或“户口本”或“出生证”或“台湾居民来往大陆通行证”或“港澳居民来往内地通行证”'
)
} }
} else if (age < 16) { } else if (age < 16) {
// 小于16岁 // 小于16岁
@@ -870,7 +879,6 @@ export default {
} }
} }
let beneficiaries = [] let beneficiaries = []
if (localStorage.beneficiaryInfo) { if (localStorage.beneficiaryInfo) {
// 从 localStorage 取出数据 // 从 localStorage 取出数据
@@ -902,7 +910,6 @@ export default {
} }
} }
beneficiaries.push(this.userInfo) beneficiaries.push(this.userInfo)
// console.log(beneficiaries) // console.log(beneficiaries)
// 保存 新增的受益人信息 以及页面跳转字段 // 保存 新增的受益人信息 以及页面跳转字段