|
@@ -65,7 +65,7 @@ Page({ |
|
@@ -65,7 +65,7 @@ Page({ |
65
|
lovercardtypeData: {
|
65
|
lovercardtypeData: {
|
66
|
label: '配偶证照类型',
|
66
|
label: '配偶证照类型',
|
67
|
bindtype: 'lovercardtype',
|
67
|
bindtype: 'lovercardtype',
|
68
|
- selected: '居民身份证',
|
68
|
+ // selected: '居民身份证',
|
69
|
disabled: true,
|
69
|
disabled: true,
|
70
|
placeholder: '请选择证照类型',
|
70
|
placeholder: '请选择证照类型',
|
71
|
values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照',
|
71
|
values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照',
|
|
@@ -506,6 +506,16 @@ Page({ |
|
@@ -506,6 +506,16 @@ Page({ |
506
|
placeholder: '中国',
|
506
|
placeholder: '中国',
|
507
|
onChange: 'onPickerSelect',
|
507
|
onChange: 'onPickerSelect',
|
508
|
},
|
508
|
},
|
|
|
509
|
+ countryData: {
|
|
|
510
|
+ label: '国籍',
|
|
|
511
|
+ bindtype: 'country',
|
|
|
512
|
+ isrequre: true,
|
|
|
513
|
+ disabled: true,
|
|
|
514
|
+ selected: '中国',
|
|
|
515
|
+ // range_key:'name',
|
|
|
516
|
+ placeholder: '请选择国籍',
|
|
|
517
|
+ onChange: 'onPickerSelect',
|
|
|
518
|
+ },
|
509
|
// bankInfo: {
|
519
|
// bankInfo: {
|
510
|
// label: '公积金贷款银行',
|
520
|
// label: '公积金贷款银行',
|
511
|
// bindtype: 'bank',
|
521
|
// bindtype: 'bank',
|
|
@@ -708,10 +718,18 @@ Page({ |
|
@@ -708,10 +718,18 @@ Page({ |
708
|
if (data.name && data.name.length) {
|
718
|
if (data.name && data.name.length) {
|
709
|
setData.spouse_name = data.name
|
719
|
setData.spouse_name = data.name
|
710
|
}
|
720
|
}
|
|
|
721
|
+ that.data.lovercardtypeData.selected = data.id_card_type
|
|
|
722
|
+ setData.lovercardtypeData = that.data.lovercardtypeData
|
711
|
if (data.id_card_no && data.id_card_no.length) {
|
723
|
if (data.id_card_no && data.id_card_no.length) {
|
712
|
setData.spouse_id_card_no = data.id_card_no
|
724
|
setData.spouse_id_card_no = data.id_card_no
|
713
|
- that.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input')
|
725
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
726
|
+ that.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input')
|
|
|
727
|
+ }
|
714
|
}
|
728
|
}
|
|
|
729
|
+ that.data.loverbirthDate.selected = format.formatTime_date(data.birth_date)
|
|
|
730
|
+ that.data.loverbirthDate.datelong = data.birth_date
|
|
|
731
|
+ setData.loverbirthDate = that.data.loverbirthDate
|
|
|
732
|
+ setData.lover_country = data.native
|
715
|
that.setData(setData)
|
733
|
that.setData(setData)
|
716
|
}
|
734
|
}
|
717
|
},
|
735
|
},
|
|
@@ -785,6 +803,8 @@ Page({ |
|
@@ -785,6 +803,8 @@ Page({ |
785
|
switch (this.data.cur_index + '') {
|
803
|
switch (this.data.cur_index + '') {
|
786
|
case 'children_education':
|
804
|
case 'children_education':
|
787
|
var setData = {}
|
805
|
var setData = {}
|
|
|
806
|
+ this.data.countryData.selected = data.native
|
|
|
807
|
+ setData.countryData = this.data.countryData
|
788
|
if (data.relationship && data.relationship.length) {
|
808
|
if (data.relationship && data.relationship.length) {
|
789
|
this.data.taxperson_relativeData.selected = data.relationship
|
809
|
this.data.taxperson_relativeData.selected = data.relationship
|
790
|
setData.taxperson_relativeData = this.data.taxperson_relativeData
|
810
|
setData.taxperson_relativeData = this.data.taxperson_relativeData
|
|
@@ -817,7 +837,9 @@ Page({ |
|
@@ -817,7 +837,9 @@ Page({ |
817
|
setData.deduction_amount = data.deduction_amount
|
837
|
setData.deduction_amount = data.deduction_amount
|
818
|
if (data.children_id_card_no && data.children_id_card_no.length) {
|
838
|
if (data.children_id_card_no && data.children_id_card_no.length) {
|
819
|
setData.children_id_card_no = data.children_id_card_no
|
839
|
setData.children_id_card_no = data.children_id_card_no
|
820
|
- this.dealIdInfo(data.children_id_card_no, 'children_id_card_no_input')
|
840
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
841
|
+ this.dealIdInfo(data.children_id_card_no, 'children_id_card_no_input')
|
|
|
842
|
+ }
|
821
|
}
|
843
|
}
|
822
|
if (data.children_name && data.children_name.length) {
|
844
|
if (data.children_name && data.children_name.length) {
|
823
|
setData.children_name = data.children_name
|
845
|
setData.children_name = data.children_name
|
|
@@ -850,7 +872,9 @@ Page({ |
|
@@ -850,7 +872,9 @@ Page({ |
850
|
}
|
872
|
}
|
851
|
if (data.spouse_id_card_no && data.spouse_id_card_no.length) {
|
873
|
if (data.spouse_id_card_no && data.spouse_id_card_no.length) {
|
852
|
setData.spouse_id_card_no = data.spouse_id_card_no
|
874
|
setData.spouse_id_card_no = data.spouse_id_card_no
|
853
|
- this.dealIdInfo(data.spouse_id_card_no, 'spouse_id_card_no_input')
|
875
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
876
|
+ this.dealIdInfo(data.spouse_id_card_no, 'spouse_id_card_no_input')
|
|
|
877
|
+ }
|
854
|
}
|
878
|
}
|
855
|
this.setData(setData)
|
879
|
this.setData(setData)
|
856
|
break;
|
880
|
break;
|
|
@@ -922,7 +946,9 @@ Page({ |
|
@@ -922,7 +946,9 @@ Page({ |
922
|
}
|
946
|
}
|
923
|
if (data.id_card_no && data.id_card_no.length) {
|
947
|
if (data.id_card_no && data.id_card_no.length) {
|
924
|
setData.id_card_no = data.id_card_no
|
948
|
setData.id_card_no = data.id_card_no
|
925
|
- this.dealIdInfo(data.id_card_no, 'older_id_card_no_input')
|
949
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
950
|
+ this.dealIdInfo(data.id_card_no, 'older_id_card_no_input')
|
|
|
951
|
+ }
|
926
|
}
|
952
|
}
|
927
|
if (data.relationship && data.relationship.length) {
|
953
|
if (data.relationship && data.relationship.length) {
|
928
|
var older_relativeData = this.data.older_relativeData
|
954
|
var older_relativeData = this.data.older_relativeData
|
|
@@ -968,7 +994,9 @@ Page({ |
|
@@ -968,7 +994,9 @@ Page({ |
968
|
}
|
994
|
}
|
969
|
if (data.id_card_no && data.id_card_no.length) {
|
995
|
if (data.id_card_no && data.id_card_no.length) {
|
970
|
setData.spouse_id_card_no = data.id_card_no
|
996
|
setData.spouse_id_card_no = data.id_card_no
|
971
|
- this.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input')
|
997
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
998
|
+ this.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input')
|
|
|
999
|
+ }
|
972
|
}
|
1000
|
}
|
973
|
if (this.data.house_type == 'house_fund_rent'){
|
1001
|
if (this.data.house_type == 'house_fund_rent'){
|
974
|
var workingcityInfo = this.data.workingcityInfo
|
1002
|
var workingcityInfo = this.data.workingcityInfo
|
|
@@ -1097,13 +1125,17 @@ Page({ |
|
@@ -1097,13 +1125,17 @@ Page({ |
1097
|
switch (this.data.cur_index + '') {
|
1125
|
switch (this.data.cur_index + '') {
|
1098
|
case 'children_education':
|
1126
|
case 'children_education':
|
1099
|
var setData = {}
|
1127
|
var setData = {}
|
|
|
1128
|
+ this.data.countryData.selected = data.native
|
|
|
1129
|
+ setData.countryData = this.data.countryData
|
1100
|
var commonbirthDate = this.data.commonbirthDate
|
1130
|
var commonbirthDate = this.data.commonbirthDate
|
1101
|
commonbirthDate.selected = format.formatTime_date(data.birth_date)
|
1131
|
commonbirthDate.selected = format.formatTime_date(data.birth_date)
|
1102
|
commonbirthDate.datelong = data.birth_date
|
1132
|
commonbirthDate.datelong = data.birth_date
|
1103
|
setData.commonbirthDate = commonbirthDate
|
1133
|
setData.commonbirthDate = commonbirthDate
|
1104
|
if (data.id_card_no && data.id_card_no.length) {
|
1134
|
if (data.id_card_no && data.id_card_no.length) {
|
1105
|
setData.children_id_card_no = data.id_card_no
|
1135
|
setData.children_id_card_no = data.id_card_no
|
1106
|
- this.dealIdInfo(data.id_card_no, 'children_id_card_no_input')
|
1136
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
1137
|
+ this.dealIdInfo(data.id_card_no, 'children_id_card_no_input')
|
|
|
1138
|
+ }
|
1107
|
}
|
1139
|
}
|
1108
|
if (data.name && data.name.length) {
|
1140
|
if (data.name && data.name.length) {
|
1109
|
setData.children_name = data.name
|
1141
|
setData.children_name = data.name
|
|
@@ -1126,7 +1158,9 @@ Page({ |
|
@@ -1126,7 +1158,9 @@ Page({ |
1126
|
}
|
1158
|
}
|
1127
|
if (data.id_card_no && data.id_card_no.length) {
|
1159
|
if (data.id_card_no && data.id_card_no.length) {
|
1128
|
setData.id_card_no = data.id_card_no
|
1160
|
setData.id_card_no = data.id_card_no
|
1129
|
- this.dealIdInfo(data.id_card_no, 'older_id_card_no_input')
|
1161
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
1162
|
+ this.dealIdInfo(data.id_card_no, 'older_id_card_no_input')
|
|
|
1163
|
+ }
|
1130
|
}
|
1164
|
}
|
1131
|
if (data.family_ties && data.family_ties.length) {
|
1165
|
if (data.family_ties && data.family_ties.length) {
|
1132
|
var older_relativeData = this.data.older_relativeData
|
1166
|
var older_relativeData = this.data.older_relativeData
|
|
@@ -1146,7 +1180,9 @@ Page({ |
|
@@ -1146,7 +1180,9 @@ Page({ |
1146
|
}
|
1180
|
}
|
1147
|
if (data.id_card_no && data.id_card_no.length) {
|
1181
|
if (data.id_card_no && data.id_card_no.length) {
|
1148
|
setData.id_card_no = data.id_card_no
|
1182
|
setData.id_card_no = data.id_card_no
|
1149
|
- this.dealIdInfo(data.id_card_no, 'medical_id_card_no_input')
|
1183
|
+ if ('居民身份证' == data.id_card_type) {
|
|
|
1184
|
+ this.dealIdInfo(data.id_card_no, 'medical_id_card_no_input')
|
|
|
1185
|
+ }
|
1150
|
}
|
1186
|
}
|
1151
|
if (data.family_ties && data.family_ties.length) {
|
1187
|
if (data.family_ties && data.family_ties.length) {
|
1152
|
var taxperson_relativeData = this.data.taxperson_relativeData
|
1188
|
var taxperson_relativeData = this.data.taxperson_relativeData
|
|
@@ -1441,13 +1477,13 @@ Page({ |
|
@@ -1441,13 +1477,13 @@ Page({ |
1441
|
this.showToast('请选择配偶出生日期')
|
1477
|
this.showToast('请选择配偶出生日期')
|
1442
|
return
|
1478
|
return
|
1443
|
}
|
1479
|
}
|
1444
|
- newdata.spouse_id_card_type = '居民身份证' //this.data.lovercardtypeData.selected
|
1480
|
+ newdata.spouse_id_card_type = this.data.lovercardtypeData.selected
|
1445
|
newdata.spouse_birthday = this.data.loverbirthDate.datelong
|
1481
|
newdata.spouse_birthday = this.data.loverbirthDate.datelong
|
1446
|
}
|
1482
|
}
|
1447
|
newdata.has_spouse = this.data.hasLover?'y':'n'
|
1483
|
newdata.has_spouse = this.data.hasLover?'y':'n'
|
1448
|
newdata.relationship = this.data.taxperson_relativeData.selected
|
1484
|
newdata.relationship = this.data.taxperson_relativeData.selected
|
1449
|
newdata.percent = this.data.childrenpercentData.selected.replace("%","")
|
1485
|
newdata.percent = this.data.childrenpercentData.selected.replace("%","")
|
1450
|
- newdata.children_id_card_type = '居民身份证' //this.data.childrencardtypeData.selected
|
1486
|
+ newdata.children_id_card_type = this.data.childrencardtypeData.selected
|
1451
|
newdata.children_birthday = this.data.commonbirthDate.datelong
|
1487
|
newdata.children_birthday = this.data.commonbirthDate.datelong
|
1452
|
newdata.education_period_end = this.data.studyPeriodDate.datelong
|
1488
|
newdata.education_period_end = this.data.studyPeriodDate.datelong
|
1453
|
newdata.education_end = this.data.studyEndDate.datelong
|
1489
|
newdata.education_end = this.data.studyEndDate.datelong
|
|
@@ -1787,7 +1823,7 @@ Page({ |
|
@@ -1787,7 +1823,7 @@ Page({ |
1787
|
return
|
1823
|
return
|
1788
|
}
|
1824
|
}
|
1789
|
newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no : ''
|
1825
|
newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no : ''
|
1790
|
- newdata.id_card_type = '居民身份证' //this.data.lovercardtypeData.selected
|
1826
|
+ newdata.id_card_type = this.data.lovercardtypeData.selected
|
1791
|
newdata.birthday = this.data.loverbirthDate.datelong
|
1827
|
newdata.birthday = this.data.loverbirthDate.datelong
|
1792
|
newdata.nation = "中国"
|
1828
|
newdata.nation = "中国"
|
1793
|
}
|
1829
|
}
|