mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 14:52:53 +08:00
修改使用字符串比较国籍编码问题
This commit is contained in:
@@ -711,7 +711,10 @@ export default {
|
||||
},
|
||||
setMarriageStatus() {
|
||||
this.isMarriageStatusShow = true
|
||||
this.columns = [{ id: 1, text: '已婚' }, { id: 2, text: '单身' }]
|
||||
this.columns = [
|
||||
{ id: 1, text: '已婚' },
|
||||
{ id: 2, text: '单身' }
|
||||
]
|
||||
},
|
||||
//监听名字变化
|
||||
nameChange(name) {
|
||||
@@ -772,7 +775,10 @@ export default {
|
||||
} /*else if (pickerType == '3') {
|
||||
this.columns = DataDictionary.degree
|
||||
} */ else if (pickerType == '4') {
|
||||
this.columns = [{ id: 0, text: '有' }, { id: 1, text: '无' }]
|
||||
this.columns = [
|
||||
{ id: 0, text: '有' },
|
||||
{ id: 1, text: '无' }
|
||||
]
|
||||
} else if (pickerType == '5') {
|
||||
this.columns = DataDictionary.taxIdentity
|
||||
} /* else if (pickerType == '6') {
|
||||
@@ -1392,7 +1398,7 @@ export default {
|
||||
|
||||
// 通过国籍判断 证件是否符合要求
|
||||
// 如果是国籍选择中国大陆
|
||||
if (this.userInfo.nativeplace <= '4') {
|
||||
if (Number(this.userInfo.nativeplace) <= 4) {
|
||||
// “身份证”或“台湾居民来往大陆通行证”或“港澳居民来往内地通行证”
|
||||
let obj = {
|
||||
'1': true,
|
||||
|
||||
Reference in New Issue
Block a user