...
|
...
|
@@ -65,7 +65,7 @@ Page({ |
65
|
65
|
lovercardtypeData: {
|
66
|
66
|
label: '配偶证照类型',
|
67
|
67
|
bindtype: 'lovercardtype',
|
68
|
|
- selected: '居民身份证',
|
|
68
|
+ // selected: '居民身份证',
|
69
|
69
|
disabled: true,
|
70
|
70
|
placeholder: '请选择证照类型',
|
71
|
71
|
values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照',
|
...
|
...
|
@@ -506,6 +506,16 @@ Page({ |
506
|
506
|
placeholder: '中国',
|
507
|
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
|
519
|
// bankInfo: {
|
510
|
520
|
// label: '公积金贷款银行',
|
511
|
521
|
// bindtype: 'bank',
|
...
|
...
|
@@ -708,10 +718,18 @@ Page({ |
708
|
718
|
if (data.name && data.name.length) {
|
709
|
719
|
setData.spouse_name = data.name
|
710
|
720
|
}
|
|
721
|
+ that.data.lovercardtypeData.selected = data.id_card_type
|
|
722
|
+ setData.lovercardtypeData = that.data.lovercardtypeData
|
711
|
723
|
if (data.id_card_no && data.id_card_no.length) {
|
712
|
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
|
733
|
that.setData(setData)
|
716
|
734
|
}
|
717
|
735
|
},
|
...
|
...
|
@@ -785,6 +803,8 @@ Page({ |
785
|
803
|
switch (this.data.cur_index + '') {
|
786
|
804
|
case 'children_education':
|
787
|
805
|
var setData = {}
|
|
806
|
+ this.data.countryData.selected = data.native
|
|
807
|
+ setData.countryData = this.data.countryData
|
788
|
808
|
if (data.relationship && data.relationship.length) {
|
789
|
809
|
this.data.taxperson_relativeData.selected = data.relationship
|
790
|
810
|
setData.taxperson_relativeData = this.data.taxperson_relativeData
|
...
|
...
|
@@ -817,7 +837,9 @@ Page({ |
817
|
837
|
setData.deduction_amount = data.deduction_amount
|
818
|
838
|
if (data.children_id_card_no && data.children_id_card_no.length) {
|
819
|
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
|
844
|
if (data.children_name && data.children_name.length) {
|
823
|
845
|
setData.children_name = data.children_name
|
...
|
...
|
@@ -850,7 +872,9 @@ Page({ |
850
|
872
|
}
|
851
|
873
|
if (data.spouse_id_card_no && data.spouse_id_card_no.length) {
|
852
|
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
|
879
|
this.setData(setData)
|
856
|
880
|
break;
|
...
|
...
|
@@ -922,7 +946,9 @@ Page({ |
922
|
946
|
}
|
923
|
947
|
if (data.id_card_no && data.id_card_no.length) {
|
924
|
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
|
953
|
if (data.relationship && data.relationship.length) {
|
928
|
954
|
var older_relativeData = this.data.older_relativeData
|
...
|
...
|
@@ -968,7 +994,9 @@ Page({ |
968
|
994
|
}
|
969
|
995
|
if (data.id_card_no && data.id_card_no.length) {
|
970
|
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
|
1001
|
if (this.data.house_type == 'house_fund_rent'){
|
974
|
1002
|
var workingcityInfo = this.data.workingcityInfo
|
...
|
...
|
@@ -1097,13 +1125,17 @@ Page({ |
1097
|
1125
|
switch (this.data.cur_index + '') {
|
1098
|
1126
|
case 'children_education':
|
1099
|
1127
|
var setData = {}
|
|
1128
|
+ this.data.countryData.selected = data.native
|
|
1129
|
+ setData.countryData = this.data.countryData
|
1100
|
1130
|
var commonbirthDate = this.data.commonbirthDate
|
1101
|
1131
|
commonbirthDate.selected = format.formatTime_date(data.birth_date)
|
1102
|
1132
|
commonbirthDate.datelong = data.birth_date
|
1103
|
1133
|
setData.commonbirthDate = commonbirthDate
|
1104
|
1134
|
if (data.id_card_no && data.id_card_no.length) {
|
1105
|
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
|
1140
|
if (data.name && data.name.length) {
|
1109
|
1141
|
setData.children_name = data.name
|
...
|
...
|
@@ -1126,7 +1158,9 @@ Page({ |
1126
|
1158
|
}
|
1127
|
1159
|
if (data.id_card_no && data.id_card_no.length) {
|
1128
|
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
|
1165
|
if (data.family_ties && data.family_ties.length) {
|
1132
|
1166
|
var older_relativeData = this.data.older_relativeData
|
...
|
...
|
@@ -1146,7 +1180,9 @@ Page({ |
1146
|
1180
|
}
|
1147
|
1181
|
if (data.id_card_no && data.id_card_no.length) {
|
1148
|
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
|
1187
|
if (data.family_ties && data.family_ties.length) {
|
1152
|
1188
|
var taxperson_relativeData = this.data.taxperson_relativeData
|
...
|
...
|
@@ -1441,13 +1477,13 @@ Page({ |
1441
|
1477
|
this.showToast('请选择配偶出生日期')
|
1442
|
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
|
1481
|
newdata.spouse_birthday = this.data.loverbirthDate.datelong
|
1446
|
1482
|
}
|
1447
|
1483
|
newdata.has_spouse = this.data.hasLover?'y':'n'
|
1448
|
1484
|
newdata.relationship = this.data.taxperson_relativeData.selected
|
1449
|
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
|
1487
|
newdata.children_birthday = this.data.commonbirthDate.datelong
|
1452
|
1488
|
newdata.education_period_end = this.data.studyPeriodDate.datelong
|
1453
|
1489
|
newdata.education_end = this.data.studyEndDate.datelong
|
...
|
...
|
@@ -1787,7 +1823,7 @@ Page({ |
1787
|
1823
|
return
|
1788
|
1824
|
}
|
1789
|
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
|
1827
|
newdata.birthday = this.data.loverbirthDate.datelong
|
1792
|
1828
|
newdata.nation = "中国"
|
1793
|
1829
|
}
|
...
|
...
|
|