提交 fe97b880f29b5b2167586383e198e491c74c7302

作者 wangyu
1 个父辈 89a7fd18

新增子女教育的相关逻辑

1 // pages/main/addtionalreduce/addextrainfo/addextrainfo.js 1 // pages/main/addtionalreduce/addextrainfo/addextrainfo.js
2 var format = require('../../../../utils/util.js'); 2 var format = require('../../../../utils/util.js');
  3 +var countryInfo = require('../../../../utils/country.js');
3 var OSSInit; 4 var OSSInit;
4 var app = getApp(); 5 var app = getApp();
5 var baseUrl = app.globalData.baseUrl; 6 var baseUrl = app.globalData.baseUrl;
@@ -333,6 +334,16 @@ Page({ @@ -333,6 +334,16 @@ Page({
333 start: '1970-01', 334 start: '1970-01',
334 datelong:0, 335 datelong:0,
335 }, 336 },
  337 + eduCountryData: {
  338 + label: '就读国家',
  339 + bindtype: 'edu_country',
  340 + isrequre: true,
  341 + selected: '',
  342 + isblack: 'true',
  343 + values: [],
  344 + placeholder: '中国',
  345 + onChange: 'onPickerSelect',
  346 + },
336 edu_lable: "", 347 edu_lable: "",
337 oldersupport_lable: "", 348 oldersupport_lable: "",
338 img_path: "/images/upload_img.png" 349 img_path: "/images/upload_img.png"
@@ -363,6 +374,7 @@ Page({ @@ -363,6 +374,7 @@ Page({
363 } 374 }
364 375
365 var title = '添加' + (options.title ? options.title : AddTypeNames[nameKey]) 376 var title = '添加' + (options.title ? options.title : AddTypeNames[nameKey])
  377 +
366 this.setData({ 378 this.setData({
367 title: title, 379 title: title,
368 cur_index: nameKey, 380 cur_index: nameKey,
@@ -376,6 +388,21 @@ Page({ @@ -376,6 +388,21 @@ Page({
376 if (options.datas && options.datas.length){ 388 if (options.datas && options.datas.length){
377 this.handleTransData(JSON.parse(options.datas)) 389 this.handleTransData(JSON.parse(options.datas))
378 } 390 }
  391 + this.loadCountry()
  392 + },
  393 +
  394 + loadCountry:function(){
  395 + countryInfo.init(this)
  396 + var countrylist = this.data.country
  397 + var country_data = this.data.eduCountryData
  398 + for (var i = 0; i < countrylist.length; i++) {
  399 + country_data.values.push(countrylist[i].name)
  400 + }
  401 + console.log("countrydata", country_data)
  402 + this.setData({
  403 + eduCountryData: country_data
  404 + })
  405 +
379 }, 406 },
380 407
381 handleTransData: function (data) { 408 handleTransData: function (data) {
@@ -599,6 +626,10 @@ Page({ @@ -599,6 +626,10 @@ Page({
599 this.showToast('请选择受教育终止日期') 626 this.showToast('请选择受教育终止日期')
600 return 627 return
601 } 628 }
  629 + if (this.data.eduCountryData.selected.length < 1) {
  630 + this.showToast('请选择就读地区')
  631 + return
  632 + }
602 633
603 if (formdata.spouse_name || formdata.spouse_id_card_no || this.data.loverbirthDate.selected){ 634 if (formdata.spouse_name || formdata.spouse_id_card_no || this.data.loverbirthDate.selected){
604 if (!formdata.spouse_name || formdata.spouse_name.length < 1) { 635 if (!formdata.spouse_name || formdata.spouse_name.length < 1) {
@@ -818,7 +849,7 @@ Page({ @@ -818,7 +849,7 @@ Page({
818 // return 849 // return
819 // } 850 // }
820 if (this.data.cur_index != 'medical_fund'){ 851 if (this.data.cur_index != 'medical_fund'){
821 - newdata.deduction_type = this.data.reducetypeData.selected 852 + newdata.deduction_type = this.data.reducetypeData.selected=='月度'?"month":"year"
822 newdata.deduction_amount = this.data.deduction_amount//formdata.reduce_money 853 newdata.deduction_amount = this.data.deduction_amount//formdata.reduce_money
823 } 854 }
824 newdata.legal_entity_id = this.legal_entity_id 855 newdata.legal_entity_id = this.legal_entity_id
@@ -947,6 +978,13 @@ Page({ @@ -947,6 +978,13 @@ Page({
947 edudegreeData: edudegree_data 978 edudegreeData: edudegree_data
948 }) 979 })
949 break; 980 break;
  981 + case 'edu_country':
  982 + var eduCountry_data = this.data.eduCountryData
  983 + eduCountry_data.selected = eduCountry_data.values[e.detail.value]
  984 + this.setData({
  985 + eduCountryData: eduCountry_data
  986 + })
  987 + break;
950 case 'support_type': 988 case 'support_type':
951 var support_typeData = this.data.supporttypeData 989 var support_typeData = this.data.supporttypeData
952 support_typeData.selected = support_typeData.values[e.detail.value] 990 support_typeData.selected = support_typeData.values[e.detail.value]
@@ -3,45 +3,45 @@ @@ -3,45 +3,45 @@
3 3
4 <view class='page'> 4 <view class='page'>
5 <form bindsubmit='formSubmit'> 5 <form bindsubmit='formSubmit'>
6 - <!-- 添加子女 -->  
7 - <view wx:if="{{cur_index=='children_education'}}">  
8 - <view style='padding:0 30rpx;'>  
9 - <template is="picker_cell_normal" data="{{...childrencardtypeData}}" />  
10 - <view class='divide_line_f5f5f5'></view>  
11 - <view style='height:90rpx'>  
12 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
13 - <text class='text_black_30 float_left' style='line-height: 90rpx'>子女证件号码</text>  
14 - <view wx:if="{{isIdCard}}">  
15 - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="children_id_card_no"></image>  
16 - <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='children_id_card_no' maxlength='18' type='idcard' value='{{children_id_card_no}}'></input>  
17 - </view>  
18 - <!-- <view wx:else> 6 + <!-- 添加子女 -->
  7 + <view wx:if="{{cur_index=='children_education'}}">
  8 + <view style='padding:0 30rpx;'>
  9 + <template is="picker_cell_normal" data="{{...childrencardtypeData}}" />
  10 + <view class='divide_line_f5f5f5'></view>
  11 + <view style='height:90rpx'>
  12 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  13 + <text class='text_black_30 float_left' style='line-height: 90rpx'>子女证件号码</text>
  14 + <view wx:if="{{isIdCard}}">
  15 + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="children_id_card_no"></image>
  16 + <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='children_id_card_no' maxlength='18' type='idcard' value='{{children_id_card_no}}'></input>
  17 + </view>
  18 + <!-- <view wx:else>
19 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='children_id_card_no' maxlength='18' type='idcard' value='{{children_id_card_no}}'></input> 19 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='children_id_card_no' maxlength='18' type='idcard' value='{{children_id_card_no}}'></input>
20 </view> --> 20 </view> -->
21 - </view>  
22 - <view class='divide_line_f5f5f5'></view>  
23 - <view style='height:90rpx'>  
24 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
25 - <text class='text_black_30 float_left'>子女姓名</text>  
26 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名' name='children_name' value='{{children_name}}'></input>  
27 - </view>  
28 - <template is="picker_cell_normal" data="{{...childrenbirthDate}}" />  
29 - <view class='divide_line_f5f5f5'></view>  
30 - <view style='height:90rpx'>  
31 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
32 - <text class='text_black_30 float_left'>国籍</text>  
33 - <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='children_country'>中国</text>  
34 - </view>  
35 </view> 21 </view>
  22 + <view class='divide_line_f5f5f5'></view>
  23 + <view style='height:90rpx'>
  24 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  25 + <text class='text_black_30 float_left'>子女姓名</text>
  26 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名' name='children_name' value='{{children_name}}'></input>
  27 + </view>
  28 + <template is="picker_cell_normal" data="{{...childrenbirthDate}}" />
  29 + <view class='divide_line_f5f5f5'></view>
  30 + <view style='height:90rpx'>
  31 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  32 + <text class='text_black_30 float_left'>国籍</text>
  33 + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='children_country'>中国</text>
  34 + </view>
  35 + </view>
36 36
37 - <view style='height:20rpx;width:100%;background:#F8F8F8;'></view> 37 + <view style='height:20rpx;width:100%;background:#F8F8F8;'></view>
38 38
39 - <view style='padding:0 30rpx;'>  
40 - <view style='height:90rpx;'> 39 + <view style='padding:0 30rpx;'>
  40 + <view style='height:90rpx;'>
41 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> 41 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
42 <text class='text_black_30 float_left'>分配比例</text> 42 <text class='text_black_30 float_left'>分配比例</text>
43 <text class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right'>%</text> 43 <text class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right'>%</text>
44 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分配比例' type='number' name='percent' value='{{percent}}'></input> 44 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分配比例' type='number' name='percent' value='{{percent}}'></input>
45 </view> 45 </view>
46 46
47 <view class='divide_line_f5f5f5'></view> 47 <view class='divide_line_f5f5f5'></view>
@@ -59,257 +59,266 @@ @@ -59,257 +59,266 @@
59 <view class='divide_line_f5f5f5'></view> 59 <view class='divide_line_f5f5f5'></view>
60 60
61 <template is="picker_cell_normal" data="{{...studyenddate}}" /> 61 <template is="picker_cell_normal" data="{{...studyenddate}}" />
  62 +
  63 + <view class='divide_line_f5f5f5'></view>
  64 + <template is="picker_cell_normal" data="{{...eduCountryData}}" />
62 <view class='divide_line_f5f5f5'></view> 65 <view class='divide_line_f5f5f5'></view>
  66 + <view style='height:90rpx'>
  67 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  68 + <text class='text_black_30 float_left'>就读学校名称</text>
  69 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入就读学校' name='educate_school'></input>
63 </view> 70 </view>
  71 + <view class='divide_line_f5f5f5'></view>
64 </view> 72 </view>
65 - <!-- 继续教育 -->  
66 - <view wx:if="{{cur_index=='continuing_education'}}" style='padding:0 30rpx;'> 73 + </view>
  74 + <!-- 继续教育 -->
  75 + <view wx:if="{{cur_index=='continuing_education'}}" style='padding:0 30rpx;'>
67 76
68 - <template is="picker_cell_normal" data="{{...edutypeData}}" />  
69 - <view class='divide_line_f5f5f5'></view>  
70 - <view wx:if="{{edu_lable=='school'}}">  
71 - <!-- <view style='height:90rpx'> 77 + <template is="picker_cell_normal" data="{{...edutypeData}}" />
  78 + <view class='divide_line_f5f5f5'></view>
  79 + <view wx:if="{{edu_lable=='school'}}">
  80 + <!-- <view style='height:90rpx'>
72 <text class='text_black_30 float_left'>学历教育阶段</text> 81 <text class='text_black_30 float_left'>学历教育阶段</text>
73 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学历教育阶段' name='education_period'></input> 82 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学历教育阶段' name='education_period'></input>
74 </view> --> 83 </view> -->
75 - <template is="picker_cell_normal" data="{{...edulevelData}}" />  
76 - <view class='divide_line_f5f5f5'></view>  
77 - <template is="picker_cell_normal" data="{{...studystartdate}}" />  
78 - <view class='divide_line_f5f5f5'></view>  
79 - <template is="picker_cell_normal" data="{{...studyenddate}}" />  
80 -  
81 - </view>  
82 - <view wx:elif="{{edu_lable=='tech'}}">  
83 - <template is="picker_cell_normal" data="{{...edustyleData}}" />  
84 - <view class='divide_line_f5f5f5'></view>  
85 - <view style='height:90rpx'>  
86 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
87 - <text class='text_black_30 float_left'>证书名称</text>  
88 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书名称' name='occupational_qualifiy_name'></input>  
89 - </view>  
90 - <view class='divide_line_f5f5f5'></view>  
91 - <view style='height:90rpx'>  
92 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
93 - <text class='text_black_30 float_left'>证书编号</text>  
94 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书编号' name='certification_no'></input>  
95 - </view>  
96 - <view class='divide_line_f5f5f5'></view>  
97 - <view style='height:90rpx'>  
98 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
99 - <text class='text_black_30 float_left'>发证机关</text>  
100 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入发证机关' name='certification_autority'></input>  
101 - </view>  
102 - </view> 84 + <template is="picker_cell_normal" data="{{...edulevelData}}" />
  85 + <view class='divide_line_f5f5f5'></view>
  86 + <template is="picker_cell_normal" data="{{...studystartdate}}" />
  87 + <view class='divide_line_f5f5f5'></view>
  88 + <template is="picker_cell_normal" data="{{...studyenddate}}" />
103 89
104 </view> 90 </view>
105 - <!-- 赡养老人 -->  
106 - <view wx:if="{{cur_index=='support_duty'}}" style='padding:0 30rpx;'>  
107 - <template is="picker_cell_normal" data="{{...supporttypeData}}" /> 91 + <view wx:elif="{{edu_lable=='tech'}}">
  92 + <template is="picker_cell_normal" data="{{...edustyleData}}" />
108 <view class='divide_line_f5f5f5'></view> 93 <view class='divide_line_f5f5f5'></view>
109 <view style='height:90rpx'> 94 <view style='height:90rpx'>
110 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> 95 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
111 - <text class='text_black_30 float_left'>被赡养人姓名</text>  
112 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入被赡养人姓名' name='older_name'></input> 96 + <text class='text_black_30 float_left'>证书名称</text>
  97 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书名称' name='occupational_qualifiy_name'></input>
113 </view> 98 </view>
114 <view class='divide_line_f5f5f5'></view> 99 <view class='divide_line_f5f5f5'></view>
115 - <template is="picker_cell_normal" data="{{...oldercardtypeData}}" />  
116 - <view class='divide_line_f5f5f5'></view>  
117 <view style='height:90rpx'> 100 <view style='height:90rpx'>
118 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> 101 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
119 - <text class='text_black_30 float_left'>被赡养人证件号码</text>  
120 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;width:420rpx;' placeholder='请输入证件号码' type='idcard' name='older_idno' value='{{older_idno}}'></input> 102 + <text class='text_black_30 float_left'>证书编号</text>
  103 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书编号' name='certification_no'></input>
121 </view> 104 </view>
122 <view class='divide_line_f5f5f5'></view> 105 <view class='divide_line_f5f5f5'></view>
123 - <template is="picker_cell_normal" data="{{...olderbirthDate}}" />  
124 - <view class='divide_line_f5f5f5'></view>  
125 <view style='height:90rpx'> 106 <view style='height:90rpx'>
126 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> 107 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
127 - <text class='text_black_30 float_left'>被赡养人国籍(地区)</text>  
128 - <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='country'>中国</text> 108 + <text class='text_black_30 float_left'>发证机关</text>
  109 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入发证机关' name='certification_autority'></input>
129 </view> 110 </view>
130 - <view class='divide_line_f5f5f5'></view> 111 + </view>
  112 +
  113 + </view>
  114 + <!-- 赡养老人 -->
  115 + <view wx:if="{{cur_index=='support_duty'}}" style='padding:0 30rpx;'>
  116 + <template is="picker_cell_normal" data="{{...supporttypeData}}" />
  117 + <view class='divide_line_f5f5f5'></view>
  118 + <view style='height:90rpx'>
  119 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  120 + <text class='text_black_30 float_left'>被赡养人姓名</text>
  121 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入被赡养人姓名' name='older_name'></input>
  122 + </view>
  123 + <view class='divide_line_f5f5f5'></view>
  124 + <template is="picker_cell_normal" data="{{...oldercardtypeData}}" />
  125 + <view class='divide_line_f5f5f5'></view>
  126 + <view style='height:90rpx'>
  127 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  128 + <text class='text_black_30 float_left'>被赡养人证件号码</text>
  129 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;width:420rpx;' placeholder='请输入证件号码' type='idcard' name='older_idno' value='{{older_idno}}'></input>
  130 + </view>
  131 + <view class='divide_line_f5f5f5'></view>
  132 + <template is="picker_cell_normal" data="{{...olderbirthDate}}" />
  133 + <view class='divide_line_f5f5f5'></view>
  134 + <view style='height:90rpx'>
  135 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  136 + <text class='text_black_30 float_left'>被赡养人国籍(地区)</text>
  137 + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='country'>中国</text>
  138 + </view>
  139 + <view class='divide_line_f5f5f5'></view>
131 140
132 - <template is="picker_cell_normal" data="{{...older_relativeData}}" /> 141 + <template is="picker_cell_normal" data="{{...older_relativeData}}" />
133 142
134 - <!-- <view class='divide_line_f5f5f5'></view> 143 + <!-- <view class='divide_line_f5f5f5'></view>
135 <view style='height:90rpx'> 144 <view style='height:90rpx'>
136 <text class='text_black_30 float_left'>分摊比例</text> 145 <text class='text_black_30 float_left'>分摊比例</text>
137 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分摊比例' name='allocation_ratio'></input> 146 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分摊比例' name='allocation_ratio'></input>
138 </view> --> 147 </view> -->
  148 + </view>
  149 + <!-- 大病医疗 -->
  150 + <view wx:if="{{cur_index=='medical_fund'}}" style='padding:0 30rpx;'>
  151 + <view style='height:90rpx'>
  152 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  153 + <text class='text_black_30 float_left'>姓名</text>
  154 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入姓名' name='name' value='{{name}}'></input>
  155 + </view>
  156 + <view class='divide_line_f5f5f5'></view>
  157 +
  158 + <template is="picker_cell_normal" data="{{...cardtypeData}}" />
  159 + <view class='divide_line_f5f5f5'></view>
  160 + <view style='height:90rpx'>
  161 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  162 + <text class='text_black_30 float_left'>身份证件号码</text>
  163 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='id_card_no' value='{{id_card_no}}'></input>
139 </view> 164 </view>
140 - <!-- 大病医疗 -->  
141 - <view wx:if="{{cur_index=='medical_fund'}}" style='padding:0 30rpx;'> 165 + <view class='divide_line_f5f5f5'></view>
  166 + <template is="picker_cell_normal" data="{{...taxperson_relativeData}}" />
  167 + <view class='divide_line_f5f5f5'></view>
  168 + <view style='height:90rpx'>
  169 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  170 + <text class='text_black_30 float_left'>医疗支出总金额</text>
  171 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入总金额' type='digit' name='total_amount' value='{{total_amount}}'></input>
  172 + </view>
  173 + <view class='divide_line_f5f5f5'></view>
  174 + <view style='height:90rpx'>
  175 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
  176 + <text class='text_black_30 float_left'>个人负担金额</text>
  177 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入金额' type='digit' name='amount_by_person' value='{{total_amount}}'></input>
  178 + </view>
  179 + </view>
  180 + <!-- 住房 -->
  181 + <view wx:if="{{cur_index=='house_fund'}}" style='padding:0 30rpx;'>
  182 +
  183 + <view wx:if="{{title=='添加住房贷款利息'}}">
  184 +
  185 + <template is="picker_cell_normal" data="{{...houseLocateInfo}}" />
  186 + <view class='divide_line_f5f5f5'></view>
  187 + <template is="picker_cell_normal" data="{{...identifytypeData}}" />
  188 + <view class='divide_line_f5f5f5'></view>
142 <view style='height:90rpx'> 189 <view style='height:90rpx'>
143 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
144 - <text class='text_black_30 float_left'>姓名</text>  
145 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入姓名' name='name' value='{{name}}'></input> 190 + <text class='text_black_30 float_left'>证书号码</text>
  191 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>
146 </view> 192 </view>
147 <view class='divide_line_f5f5f5'></view> 193 <view class='divide_line_f5f5f5'></view>
148 -  
149 - <template is="picker_cell_normal" data="{{...cardtypeData}}" /> 194 + <template is="picker_cell_normal" data="{{...loantypeData}}" />
150 <view class='divide_line_f5f5f5'></view> 195 <view class='divide_line_f5f5f5'></view>
151 <view style='height:90rpx'> 196 <view style='height:90rpx'>
152 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
153 - <text class='text_black_30 float_left'>身份证件号码</text>  
154 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='id_card_no' value='{{id_card_no}}'></input> 197 + <text class='text_black_30 float_left'>贷款合同编号</text>
  198 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入贷款合同编号' name='contract_no'></input>
155 </view> 199 </view>
156 <view class='divide_line_f5f5f5'></view> 200 <view class='divide_line_f5f5f5'></view>
157 - <template is="picker_cell_normal" data="{{...taxperson_relativeData}}" /> 201 + <template is="picker_cell_normal" data="{{...firstpaybackDate}}" />
  202 + <view class='divide_line_f5f5f5'></view>
  203 + <template is="picker_cell_normal" data="{{...loandatelongData}}" />
  204 + </view>
  205 + <view wx:if="{{title=='添加住房租金'}}">
  206 + <template is="picker_cell_normal" data="{{...contactLocateInfo}}" />
  207 + <view class='divide_line_f5f5f5'></view>
  208 + <template is="picker_cell_normal" data="{{...leasetypeData}}" />
158 <view class='divide_line_f5f5f5'></view> 209 <view class='divide_line_f5f5f5'></view>
159 <view style='height:90rpx'> 210 <view style='height:90rpx'>
160 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
161 - <text class='text_black_30 float_left'>医疗支出总金额</text>  
162 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入总金额' type='digit' name='total_amount' value='{{total_amount}}'></input> 211 + <text class='text_black_30 float_left'>出租方名称</text>
  212 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入出租方名称' name='lease_name'></input>
163 </view> 213 </view>
164 <view class='divide_line_f5f5f5'></view> 214 <view class='divide_line_f5f5f5'></view>
165 <view style='height:90rpx'> 215 <view style='height:90rpx'>
166 - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>  
167 - <text class='text_black_30 float_left'>个人负担金额</text>  
168 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入金额' type='digit' name='amount_by_person' value='{{total_amount}}'></input>  
169 - </view>  
170 - </view>  
171 - <!-- 住房 -->  
172 - <view wx:if="{{cur_index=='house_fund'}}" style='padding:0 30rpx;'>  
173 -  
174 - <view wx:if="{{title=='添加住房贷款利息'}}">  
175 -  
176 - <template is="picker_cell_normal" data="{{...houseLocateInfo}}" />  
177 - <view class='divide_line_f5f5f5'></view>  
178 - <template is="picker_cell_normal" data="{{...identifytypeData}}" />  
179 - <view class='divide_line_f5f5f5'></view>  
180 - <view style='height:90rpx'>  
181 - <text class='text_black_30 float_left'>证书号码</text>  
182 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>  
183 - </view>  
184 - <view class='divide_line_f5f5f5'></view>  
185 - <template is="picker_cell_normal" data="{{...loantypeData}}" />  
186 - <view class='divide_line_f5f5f5'></view>  
187 - <view style='height:90rpx'>  
188 - <text class='text_black_30 float_left'>贷款合同编号</text>  
189 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入贷款合同编号' name='contract_no'></input>  
190 - </view>  
191 - <view class='divide_line_f5f5f5'></view>  
192 - <template is="picker_cell_normal" data="{{...firstpaybackDate}}" />  
193 - <view class='divide_line_f5f5f5'></view>  
194 - <template is="picker_cell_normal" data="{{...loandatelongData}}" />  
195 - </view>  
196 - <view wx:if="{{title=='添加住房租金'}}">  
197 - <template is="picker_cell_normal" data="{{...contactLocateInfo}}" />  
198 - <view class='divide_line_f5f5f5'></view>  
199 - <template is="picker_cell_normal" data="{{...leasetypeData}}" />  
200 - <view class='divide_line_f5f5f5'></view>  
201 - <view style='height:90rpx'>  
202 - <text class='text_black_30 float_left'>出租方名称</text>  
203 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入出租方名称' name='lease_name'></input>  
204 - </view>  
205 - <view class='divide_line_f5f5f5'></view>  
206 - <view style='height:90rpx'>  
207 - <text class='text_black_30 float_left'>出租方纳税人识别号</text>  
208 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='统一社会信用代码' name='lease_idno'></input>  
209 - </view>  
210 - <view class='divide_line_f5f5f5'></view>  
211 - <template is="picker_cell_normal" data="{{...identifytypeData}}" />  
212 - <view class='divide_line_f5f5f5'></view>  
213 - <view style='height:90rpx'>  
214 - <text class='text_black_30 float_left'>证书号码</text>  
215 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>  
216 - </view>  
217 - <view class='divide_line_f5f5f5'></view>  
218 - <view style='height:90rpx'>  
219 - <text class='text_black_30 float_left'>租赁合同编号</text>  
220 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输合同编号' name='contract_no'></input>  
221 - </view>  
222 - <view class='divide_line_f5f5f5'></view>  
223 - <template is="picker_cell_normal" data="{{...leasestartDate}}" />  
224 - <view class='divide_line_f5f5f5'></view>  
225 - <template is="picker_cell_normal" data="{{...leaseendDate}}" /> 216 + <text class='text_black_30 float_left'>出租方纳税人识别号</text>
  217 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='统一社会信用代码' name='lease_idno'></input>
226 </view> 218 </view>
227 - </view>  
228 -  
229 - <view style='padding:0 30rpx;' wx:if="{{cur_index!='medical_fund'}}">  
230 <view class='divide_line_f5f5f5'></view> 219 <view class='divide_line_f5f5f5'></view>
231 - <template is="picker_cell_normal" data="{{...reducetypeData}}" /> 220 + <template is="picker_cell_normal" data="{{...identifytypeData}}" />
  221 + <view class='divide_line_f5f5f5'></view>
  222 + <view style='height:90rpx'>
  223 + <text class='text_black_30 float_left'>证书号码</text>
  224 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>
  225 + </view>
232 <view class='divide_line_f5f5f5'></view> 226 <view class='divide_line_f5f5f5'></view>
233 <view style='height:90rpx'> 227 <view style='height:90rpx'>
234 - <text class='text_black_30 float_left'>扣除金额</text>  
235 - <text wx:if="{{reducetypeData.selected=='月度'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥{{deduction_amount}}/月</text>  
236 - <text wx:if="{{reducetypeData.selected=='年度'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥{{deduction_amount}}/年</text>  
237 - <!-- <input class='input_wrap01 float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#FF9F00;' placeholder='请输入扣除金额' type='digit' name='reduce_money'></input> --> 228 + <text class='text_black_30 float_left'>租赁合同编号</text>
  229 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输合同编号' name='contract_no'></input>
238 </view> 230 </view>
239 <view class='divide_line_f5f5f5'></view> 231 <view class='divide_line_f5f5f5'></view>
  232 + <template is="picker_cell_normal" data="{{...leasestartDate}}" />
  233 + <view class='divide_line_f5f5f5'></view>
  234 + <template is="picker_cell_normal" data="{{...leaseendDate}}" />
  235 + </view>
  236 + </view>
240 237
  238 + <view style='padding:0 30rpx;' wx:if="{{cur_index!='medical_fund'}}">
  239 + <view class='divide_line_f5f5f5'></view>
  240 + <template is="picker_cell_normal" data="{{...reducetypeData}}" />
  241 + <view class='divide_line_f5f5f5'></view>
  242 + <view style='height:90rpx'>
  243 + <text class='text_black_30 float_left'>扣除金额</text>
  244 + <text wx:if="{{reducetypeData.selected=='月度'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥{{deduction_amount}}/月</text>
  245 + <text wx:if="{{reducetypeData.selected=='年度'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥{{deduction_amount}}/年</text>
  246 + <!-- <input class='input_wrap01 float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#FF9F00;' placeholder='请输入扣除金额' type='digit' name='reduce_money'></input> -->
241 </view> 247 </view>
  248 + <view class='divide_line_f5f5f5'></view>
242 249
243 - <view style='height:20rpx;width:100%;background:#F8F8F8;'></view> 250 + </view>
244 251
245 - <view style='padding:0 30rpx;'> 252 + <view style='height:20rpx;width:100%;background:#F8F8F8;'></view>
246 253
247 - <view wx:if="{{cur_index=='children_education'}}">  
248 - <view style='height:90rpx'>  
249 - <text class='text_black_30 float_left'>配偶姓名</text>  
250 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input>  
251 - </view>  
252 - <view class='divide_line_f5f5f5'></view> 254 + <view style='padding:0 30rpx;'>
253 255
254 - <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />  
255 - <view class='divide_line_f5f5f5'></view>  
256 - <view style='height:90rpx'>  
257 - <text class='text_black_30 float_left'>配偶证件号码</text>  
258 - <view wx:if="{{isIdCard}}">  
259 - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image>  
260 - <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' type='idcard' value='{{spouse_id_card_no}}'></input>  
261 - </view>  
262 - <!-- <view wx:else> 256 + <view wx:if="{{cur_index=='children_education'}}">
  257 + <view style='height:90rpx'>
  258 + <text class='text_black_30 float_left'>配偶姓名</text>
  259 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input>
  260 + </view>
  261 + <view class='divide_line_f5f5f5'></view>
  262 +
  263 + <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />
  264 + <view class='divide_line_f5f5f5'></view>
  265 + <view style='height:90rpx'>
  266 + <text class='text_black_30 float_left'>配偶证件号码</text>
  267 + <view wx:if="{{isIdCard}}">
  268 + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image>
  269 + <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' type='idcard' value='{{spouse_id_card_no}}'></input>
  270 + </view>
  271 + <!-- <view wx:else>
263 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='24' value='{{spouse_id_card_no}}'></input> 272 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='24' value='{{spouse_id_card_no}}'></input>
264 </view> --> 273 </view> -->
265 - <!-- <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='spouse_id_card_no'></input> -->  
266 - </view> 274 + <!-- <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='spouse_id_card_no'></input> -->
  275 + </view>
267 276
268 -  
269 - <view class='divide_line_f5f5f5'></view>  
270 - <template is="picker_cell_normal" data="{{...loverbirthDate}}" />  
271 - <view class='divide_line_f5f5f5'></view>  
272 - <view style='height:90rpx'>  
273 - <text class='text_black_30 float_left'>国籍</text>  
274 - <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> -->  
275 - <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>  
276 - </view> 277 +
  278 + <view class='divide_line_f5f5f5'></view>
  279 + <template is="picker_cell_normal" data="{{...loverbirthDate}}" />
  280 + <view class='divide_line_f5f5f5'></view>
  281 + <view style='height:90rpx'>
  282 + <text class='text_black_30 float_left'>国籍</text>
  283 + <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> -->
  284 + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>
277 </view> 285 </view>
  286 + </view>
278 287
279 - <view wx:if="{{cur_index=='house_fund'}}">  
280 - <view style='height:90rpx'>  
281 - <text class='text_black_30 float_left'>配偶姓名</text>  
282 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input>  
283 - </view>  
284 - <view class='divide_line_f5f5f5'></view> 288 + <view wx:if="{{cur_index=='house_fund'}}">
  289 + <view style='height:90rpx'>
  290 + <text class='text_black_30 float_left'>配偶姓名</text>
  291 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input>
  292 + </view>
  293 + <view class='divide_line_f5f5f5'></view>
285 294
286 - <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />  
287 - <view class='divide_line_f5f5f5'></view>  
288 - <view style='height:90rpx'>  
289 - <text class='text_black_30 float_left'>配偶证件号码</text>  
290 - <view wx:if="{{isIdCard}}">  
291 - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image>  
292 - <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='18' type='idcard' value='{{lover_idno}}'></input>  
293 - </view>  
294 - <!-- <view wx:else> 295 + <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />
  296 + <view class='divide_line_f5f5f5'></view>
  297 + <view style='height:90rpx'>
  298 + <text class='text_black_30 float_left'>配偶证件号码</text>
  299 + <view wx:if="{{isIdCard}}">
  300 + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image>
  301 + <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='18' type='idcard' value='{{lover_idno}}'></input>
  302 + </view>
  303 + <!-- <view wx:else>
295 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='24' value='{{lover_idno}}'></input> 304 <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='24' value='{{lover_idno}}'></input>
296 </view> --> 305 </view> -->
297 - <!-- <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='lover_idno'></input> -->  
298 - </view>  
299 -  
300 -  
301 - <view class='divide_line_f5f5f5'></view>  
302 - <template is="picker_cell_normal" data="{{...loverbirthDate}}" />  
303 - <view class='divide_line_f5f5f5'></view>  
304 - <view style='height:90rpx'>  
305 - <text class='text_black_30 float_left'>国籍</text>  
306 - <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> -->  
307 - <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>  
308 - </view> 306 + <!-- <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='lover_idno'></input> -->
309 </view> 307 </view>
310 308
  309 +
  310 + <view class='divide_line_f5f5f5'></view>
  311 + <template is="picker_cell_normal" data="{{...loverbirthDate}}" />
  312 + <view class='divide_line_f5f5f5'></view>
  313 + <view style='height:90rpx'>
  314 + <text class='text_black_30 float_left'>国籍</text>
  315 + <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> -->
  316 + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>
  317 + </view>
311 </view> 318 </view>
312 - <!-- <view class='divide_line_f5f5f5'></view> 319 +
  320 + </view>
  321 + <!-- <view class='divide_line_f5f5f5'></view>
313 <view class='text_black_30 float_left'>上传材料</view> --> 322 <view class='text_black_30 float_left'>上传材料</view> -->
314 <view style='width:100%;height:180rpx;background:#f8f8f8'></view> 323 <view style='width:100%;height:180rpx;background:#f8f8f8'></view>
315 <!-- <view style='margin-bottom:140rpx'> 324 <!-- <view style='margin-bottom:140rpx'>
@@ -29,7 +29,8 @@ Page({ @@ -29,7 +29,8 @@ Page({
29 console.log("options", options); 29 console.log("options", options);
30 this.handleData(options.datas) 30 this.handleData(options.datas)
31 this.setData({ 31 this.setData({
32 - cur_status: options.status 32 + cur_status: options.status,
  33 + datas: JSON.parse(options.datas)
33 }) 34 })
34 wx.setNavigationBarTitle({ 35 wx.setNavigationBarTitle({
35 title: that.data.additiontitle[options.status], 36 title: that.data.additiontitle[options.status],
@@ -65,11 +66,11 @@ Page({ @@ -65,11 +66,11 @@ Page({
65 if (newdata.rent_end && newdata.rent_end > 0) { 66 if (newdata.rent_end && newdata.rent_end > 0) {
66 newdata.rent_end_new = format.formatTime_date(newdata.rent_end) 67 newdata.rent_end_new = format.formatTime_date(newdata.rent_end)
67 } 68 }
  69 + this.setData({
  70 + datas: newData
  71 + })
  72 + console.log("handleData", this.data.datas)
68 } 73 }
69 - this.setData({  
70 - datas: newData  
71 - })  
72 - console.log("handleData", this.data.datas)  
73 }, 74 },
74 75
75 /** 76 /**
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <view style='height:90rpx;width:100%'> 6 <view style='height:90rpx;width:100%'>
7 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text> 7 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text>
8 <text class='text_left'>子女身份证件类型:</text> 8 <text class='text_left'>子女身份证件类型:</text>
9 - <text class='text_right_333'>{{datas.children_id_card_type=='1'?"身份证":datas.children_id_card_type}}</text> 9 + <text class='text_right_333'>{{datas.children_id_card_type=='1'?"居民身份证":datas.children_id_card_type}}</text>
10 </view> 10 </view>
11 <view style='height:90rpx;width:100%'> 11 <view style='height:90rpx;width:100%'>
12 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text> 12 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text>
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 <view style='height:90rpx;width:100%'> 26 <view style='height:90rpx;width:100%'>
27 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text> 27 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text>
28 <text class='text_left'>国籍</text> 28 <text class='text_left'>国籍</text>
29 - <text class='text_right_333'>{{datas.nation}}</text> 29 + <text class='text_right_333'>{{datas.children_nation}}</text>
30 </view> 30 </view>
31 <view style='width:100%;height:20rpx;background:#f9f9f9'></view> 31 <view style='width:100%;height:20rpx;background:#f9f9f9'></view>
32 <view style='height:90rpx;width:100%'> 32 <view style='height:90rpx;width:100%'>
@@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
42 <view style='height:90rpx;width:100%'> 42 <view style='height:90rpx;width:100%'>
43 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text> 43 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text>
44 <text class='text_left'>子女受教育阶段</text> 44 <text class='text_left'>子女受教育阶段</text>
45 - <text class='text_right_333'>{{datas.education_period_new}}</text> 45 + <text class='text_right_333'>{{datas.education_period}}</text>
46 </view> 46 </view>
47 <view style='height:90rpx;width:100%'> 47 <view style='height:90rpx;width:100%'>
48 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text> 48 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left;margin-right:10rpx'>*</text>
@@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
69 </view> 69 </view>
70 <view style='height:90rpx;width:100%'> 70 <view style='height:90rpx;width:100%'>
71 <text class='text_left'>配偶证件类型</text> 71 <text class='text_left'>配偶证件类型</text>
72 - <text class='text_right_333'>{{datas.spouse_id_card_type=='1'?"身份证":datas.spouse_id_card_type}}</text> 72 + <text class='text_right_333'>{{datas.spouse_id_card_type=='1'?"居民身份证":datas.spouse_id_card_type}}</text>
73 </view> 73 </view>
74 <view style='height:90rpx;width:100%'> 74 <view style='height:90rpx;width:100%'>
75 <text class='text_left'>配偶身份证件号码</text> 75 <text class='text_left'>配偶身份证件号码</text>
@@ -206,7 +206,7 @@ @@ -206,7 +206,7 @@
206 </view> 206 </view>
207 <view style='height:90rpx;width:100%'> 207 <view style='height:90rpx;width:100%'>
208 <text class='text_left'>配偶证件类型</text> 208 <text class='text_left'>配偶证件类型</text>
209 - <text class='text_right_333'>{{datas.spouse_id_card_type=='1'?"身份证":datas.spouse_id_card_type}}</text> 209 + <text class='text_right_333'>{{datas.spouse_id_card_type=='1'?"居民身份证":datas.spouse_id_card_type}}</text>
210 </view> 210 </view>
211 <view style='height:90rpx;width:100%'> 211 <view style='height:90rpx;width:100%'>
212 <text class='text_left'>配偶身份证件号码</text> 212 <text class='text_left'>配偶身份证件号码</text>
@@ -218,7 +218,7 @@ @@ -218,7 +218,7 @@
218 </view> 218 </view>
219 <view style='height:90rpx;width:100%'> 219 <view style='height:90rpx;width:100%'>
220 <text class='text_left'>国籍</text> 220 <text class='text_left'>国籍</text>
221 - <text class='text_right_333'>{{datas.nation}}</text> 221 + <text class='text_right_333'>中国</text>
222 </view> 222 </view>
223 </view> 223 </view>
224 224
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'> 6 <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'>
7 <text class=' text_333_40 float_left'>{{item.legal_entity}}</text> 7 <text class=' text_333_40 float_left'>{{item.legal_entity}}</text>
8 <!-- <view wx:if="{{item.status=='to_declare'&&item.addition_items.length<1}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}' > --> 8 <!-- <view wx:if="{{item.status=='to_declare'&&item.addition_items.length<1}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}' > -->
9 - <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}' > 9 + <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'>
10 立即申报 10 立即申报
11 </view> 11 </view>
12 </view> 12 </view>
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 <text class='text_333_32 float_left'>{{additiontitle[itemData.addition_category]}}</text> 19 <text class='text_333_32 float_left'>{{additiontitle[itemData.addition_category]}}</text>
20 <text class='text_333_32 float_left' hidden="{{(itemData.addition_category=='continuing_education'||itemData.addition_category=='house_fund')||itemData.count<2}}">({{itemData.count}})</text> 20 <text class='text_333_32 float_left' hidden="{{(itemData.addition_category=='continuing_education'||itemData.addition_category=='house_fund')||itemData.count<2}}">({{itemData.count}})</text>
21 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image> 21 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
22 - <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx01}}-{{idx02}}' >查看</text> 22 + <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx01}}-{{idx02}}'>查看</text>
23 </view> 23 </view>
24 <view wx:if="{{itemData.addition_category=='continuing_education'}}" style='padding:20rpx'> 24 <view wx:if="{{itemData.addition_category=='continuing_education'}}" style='padding:20rpx'>
25 <view> 25 <view>
@@ -35,9 +35,9 @@ @@ -35,9 +35,9 @@
35 </view> 35 </view>
36 </view> 36 </view>
37 </view> 37 </view>
38 - <view > 38 + <view>
39 <text style='font-size:28rpx;color:#666'>非学历教育</text> 39 <text style='font-size:28rpx;color:#666'>非学历教育</text>
40 - <text style='font-size:28rpx;color:#666' hidden='{{itemData.count<2}}' >({{itemData.count}})</text> 40 + <text style='font-size:28rpx;color:#666' hidden='{{itemData.count<2}}'>({{itemData.count}})</text>
41 <view style='width:100%;display:flex;flex-direction:row '> 41 <view style='width:100%;display:flex;flex-direction:row '>
42 <view class='float_left' style='flex:1'> 42 <view class='float_left' style='flex:1'>
43 <text class='text_999_24 '>扣除方式</text> 43 <text class='text_999_24 '>扣除方式</text>
@@ -45,8 +45,8 @@ Page({ @@ -45,8 +45,8 @@ Page({
45 "house_fund": "persontax/v1/house-funds/" 45 "house_fund": "persontax/v1/house-funds/"
46 }, 46 },
47 reducetype: { 47 reducetype: {
48 - "month": "月度",  
49 - "year": "年度" 48 + "month": "月",
  49 + "year": "年"
50 }, 50 },
51 additionInfo: [], 51 additionInfo: [],
52 reducetypeData: ["月度", "年度"], 52 reducetypeData: ["月度", "年度"],
@@ -33,11 +33,11 @@ @@ -33,11 +33,11 @@
33 </view> 33 </view>
34 <view style='height:70rpx'> 34 <view style='height:70rpx'>
35 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> 35 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
36 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text> 36 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text>
37 </view> 37 </view>
38 <view style='height:70rpx'> 38 <view style='height:70rpx'>
39 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> 39 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
40 - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> 40 + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount/reducetype[item.deduction_type]}}</text>
41 </view> 41 </view>
42 <view class='divide_line_f5f5f5'></view> 42 <view class='divide_line_f5f5f5'></view>
43 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> 43 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
@@ -83,11 +83,11 @@ @@ -83,11 +83,11 @@
83 </view> 83 </view>
84 <view style='height:70rpx'> 84 <view style='height:70rpx'>
85 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> 85 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
86 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text> 86 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text>
87 </view> 87 </view>
88 <view style='height:70rpx'> 88 <view style='height:70rpx'>
89 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> 89 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
90 - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> 90 + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount/reducetype[item.deduction_type]}}</text>
91 </view> 91 </view>
92 </view> 92 </view>
93 </view> 93 </view>
@@ -118,11 +118,11 @@ @@ -118,11 +118,11 @@
118 </view> 118 </view>
119 <view style='height:70rpx'> 119 <view style='height:70rpx'>
120 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> 120 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
121 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text> 121 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text>
122 </view> 122 </view>
123 <view style='height:70rpx'> 123 <view style='height:70rpx'>
124 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> 124 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
125 - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> 125 + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount/reducetype[item.deduction_type]}}</text>
126 </view> 126 </view>
127 </view> 127 </view>
128 128
@@ -155,11 +155,11 @@ @@ -155,11 +155,11 @@
155 </view> 155 </view>
156 <view style='height:70rpx'> 156 <view style='height:70rpx'>
157 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> 157 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
158 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text> 158 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text>
159 </view> 159 </view>
160 <view style='height:70rpx'> 160 <view style='height:70rpx'>
161 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> 161 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
162 - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> 162 + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount/reducetype[item.deduction_type]}}</text>
163 </view> 163 </view>
164 <view class='divide_line_f5f5f5'></view> 164 <view class='divide_line_f5f5f5'></view>
165 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> 165 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
@@ -251,18 +251,23 @@ @@ -251,18 +251,23 @@
251 </view> 251 </view>
252 <view style='padding-right: 30rpx'> 252 <view style='padding-right: 30rpx'>
253 <view class='divide_line_f5f5f5'></view> 253 <view class='divide_line_f5f5f5'></view>
254 - <view style=''> 254 + <view wx:if="{{item.type=='house_fund_rent'}}">
255 <text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text> 255 <text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text>
256 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>北京市 市辖区 朝阳区</text>  
257 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>瑞创国际SA大厦1101</text> 256 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_address}}</text>
  257 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_detail_address}}</text>
  258 + </view>
  259 + <view wx:if="{{item.type=='house_fund_loan'}}">
  260 + <text class='text_999_28 ' style='line-height:70rpx'>房屋坐落地址:</text>
  261 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_address}}</text>
  262 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_detail_address}}</text>
258 </view> 263 </view>
259 <view style='height:70rpx'> 264 <view style='height:70rpx'>
260 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text> 265 <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
261 - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text> 266 + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}</text>
262 </view> 267 </view>
263 <view style='height:70rpx'> 268 <view style='height:70rpx'>
264 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text> 269 <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
265 - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text> 270 + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount/reducetype[item.deduction_type]}}</text>
266 </view> 271 </view>
267 <view class='divide_line_f5f5f5'></view> 272 <view class='divide_line_f5f5f5'></view>
268 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text> 273 <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
  1 +var country = [{
  2 + "name": "中国大陆",
  3 + "number": "+86"
  4 + },
  5 + {
  6 + "name": "香港 (中华人民共和国)",
  7 + "number": "+852"
  8 + },
  9 + {
  10 + "name": "澳门 (中华人民共和国)",
  11 + "number": "+853"
  12 + },
  13 + {
  14 + "name": "埃及",
  15 + "number": "+20"
  16 + },
  17 + {
  18 + "name": "奥地利",
  19 + "number": "+43"
  20 + },
  21 + {
  22 + "name": "阿根廷",
  23 + "number": "+54"
  24 + },
  25 + {
  26 + "name": "澳洲",
  27 + "number": "+61"
  28 + },
  29 + {
  30 + "name": "阿富汗",
  31 + "number": "+93"
  32 + },
  33 + {
  34 + "name": "阿尔及利亚",
  35 + "number": "+213"
  36 + },
  37 + {
  38 + "name": "安哥拉",
  39 + "number": "+244"
  40 + },
  41 + {
  42 + "name": "阿森松岛",
  43 + "number": "+247"
  44 + },
  45 + {
  46 + "name": "埃塞俄比亚",
  47 + "number": "+251"
  48 + },
  49 + {
  50 + "name": "阿鲁巴 (荷兰王国)",
  51 + "number": "+297"
  52 + },
  53 + {
  54 + "name": "爱尔兰共和国",
  55 + "number": "+353"
  56 + },
  57 + {
  58 + "name": "阿尔巴尼亚",
  59 + "number": "+355"
  60 + },
  61 + {
  62 + "name": "爱沙尼亚",
  63 + "number": "+372"
  64 + },
  65 + {
  66 + "name": "安道尔",
  67 + "number": "+376"
  68 + },
  69 + {
  70 + "name": "澳门 (中华人民共和国)",
  71 + "number": "+853"
  72 + },
  73 + {
  74 + "name": "阿曼",
  75 + "number": "+968"
  76 + },
  77 + {
  78 + "name": "阿拉伯联合酋长国",
  79 + "number": "+971"
  80 + },
  81 + {
  82 + "name": "阿塞拜疆",
  83 + "number": "+994"
  84 + },
  85 + {
  86 + "name": "安圭拉",
  87 + "number": "+1264"
  88 + },
  89 + {
  90 + "name": "安提瓜和巴布达",
  91 + "number": "+1268"
  92 + },
  93 + {
  94 + "name": "比利时",
  95 + "number": "+32"
  96 + },
  97 + {
  98 + "name": "波兰",
  99 + "number": "+48"
  100 + },
  101 + {
  102 + "name": "巴西",
  103 + "number": "+55"
  104 + },
  105 + {
  106 + "name": "巴基斯坦",
  107 + "number": "+92"
  108 + },
  109 + {
  110 + "name": "布基纳法索",
  111 + "number": "+226"
  112 + },
  113 + {
  114 + "name": "贝宁",
  115 + "number": "+229"
  116 + },
  117 + {
  118 + "name": "布隆迪",
  119 + "number": "+257"
  120 + },
  121 + {
  122 + "name": "博茨瓦纳",
  123 + "number": "+267"
  124 + },
  125 + {
  126 + "name": "冰岛",
  127 + "number": "+354"
  128 + },
  129 + {
  130 + "name": "保加利亚",
  131 + "number": "+359"
  132 + },
  133 + {
  134 + "name": "白俄罗斯",
  135 + "number": "+375"
  136 + },
  137 + {
  138 + "name": "波斯尼亚与赫塞哥维纳",
  139 + "number": "+387"
  140 + },
  141 + {
  142 + "name": "伯利兹",
  143 + "number": "+501"
  144 + },
  145 + {
  146 + "name": "巴拿马",
  147 + "number": "+507"
  148 + },
  149 + {
  150 + "name": "玻利维亚",
  151 + "number": "+591"
  152 + },
  153 + {
  154 + "name": "巴拉圭",
  155 + "number": "+595"
  156 + },
  157 + {
  158 + "name": "博内尔岛,圣尤斯特歇斯和",
  159 + "number": "+599"
  160 + },
  161 + {
  162 + "name": "巴布亚新几内亚",
  163 + "number": "+675"
  164 + },
  165 + {
  166 + "name": "巴勒斯坦",
  167 + "number": "+930"
  168 + },
  169 + {
  170 + "name": "巴林",
  171 + "number": "+973"
  172 + },
  173 + {
  174 + "name": "不丹",
  175 + "number": "+975"
  176 + },
  177 + {
  178 + "name": "巴哈马",
  179 + "number": "+1242"
  180 + },
  181 + {
  182 + "name": "巴巴多斯",
  183 + "number": "+1246"
  184 + },
  185 + {
  186 + "name": "百慕大 (英国)",
  187 + "number": "+1441"
  188 + },
  189 + {
  190 + "name": "波多黎各 (美国)",
  191 + "number": "+1787"
  192 + },
  193 + {
  194 + "name": "查德",
  195 + "number": "+235"
  196 + },
  197 + {
  198 + "name": "赤道几内亚",
  199 + "number": "+240"
  200 + },
  201 + {
  202 + "name": "丹麦",
  203 + "number": "+45"
  204 + },
  205 + {
  206 + "name": "德国",
  207 + "number": "+49"
  208 + },
  209 + {
  210 + "name": "多哥",
  211 + "number": "+228"
  212 + },
  213 + {
  214 + "name": "东帝汶",
  215 + "number": "+670"
  216 + },
  217 + {
  218 + "name": "东加",
  219 + "number": "+676"
  220 + },
  221 + {
  222 + "name": "多米尼克",
  223 + "number": "+1767"
  224 + },
  225 + {
  226 + "name": "多米尼加共和国",
  227 + "number": "+1809"
  228 + },
  229 + {
  230 + "name": "俄罗斯",
  231 + "number": "+7"
  232 + },
  233 + {
  234 + "name": "厄瓜多尔",
  235 + "number": "+593"
  236 + },
  237 + {
  238 + "name": "法国",
  239 + "number": "+33"
  240 + },
  241 + {
  242 + "name": "菲律宾",
  243 + "number": "+63"
  244 + },
  245 + {
  246 + "name": "佛得角",
  247 + "number": "+238"
  248 + },
  249 + {
  250 + "name": "法罗群岛 (丹麦)",
  251 + "number": "+298"
  252 + },
  253 + {
  254 + "name": "芬兰",
  255 + "number": "+358"
  256 + },
  257 + {
  258 + "name": "法属圭亚那 (法国)",
  259 + "number": "+594"
  260 + },
  261 + {
  262 + "name": "法属波利尼西亚 (法国)",
  263 + "number": "+689"
  264 + },
  265 + {
  266 + "name": "斐济",
  267 + "number": "+679"
  268 + },
  269 + {
  270 + "name": "古巴",
  271 + "number": "+53"
  272 + },
  273 + {
  274 + "name": "哥伦比亚",
  275 + "number": "+57"
  276 + },
  277 + {
  278 + "name": "冈比亚",
  279 + "number": "+220"
  280 + },
  281 + {
  282 + "name": "刚果共和国",
  283 + "number": "+242"
  284 + },
  285 + {
  286 + "name": "刚果民主共和国",
  287 + "number": "+243"
  288 + },
  289 + {
  290 + "name": "格陵兰 (丹麦)",
  291 + "number": "+299"
  292 + },
  293 + {
  294 + "name": "哥斯达黎加",
  295 + "number": "+506"
  296 + },
  297 + {
  298 + "name": "瓜德罗普岛",
  299 + "number": "+590"
  300 + },
  301 + {
  302 + "name": "圭亚那",
  303 + "number": "+592"
  304 + },
  305 + {
  306 + "name": "格林纳达",
  307 + "number": "+1473"
  308 + },
  309 + {
  310 + "name": "关岛 (美国)",
  311 + "number": "+1671"
  312 + },
  313 + {
  314 + "name": "哈萨克",
  315 + "number": "+7"
  316 + },
  317 + {
  318 + "name": "荷兰",
  319 + "number": "+31"
  320 + },
  321 + {
  322 + "name": "韩国",
  323 + "number": "+82"
  324 + },
  325 + {
  326 + "name": "黑山共和国",
  327 + "number": "+382"
  328 + },
  329 + {
  330 + "name": "洪都拉斯",
  331 + "number": "+504"
  332 + },
  333 + {
  334 + "name": "海地",
  335 + "number": "+509"
  336 + },
  337 + {
  338 + "name": "加拿大",
  339 + "number": "+1"
  340 + },
  341 + {
  342 + "name": "几内亚",
  343 + "number": "+224"
  344 + },
  345 + {
  346 + "name": "加纳",
  347 + "number": "+233"
  348 + },
  349 + {
  350 + "name": "加蓬",
  351 + "number": "+241"
  352 + },
  353 + {
  354 + "name": "几内亚比绍",
  355 + "number": "+245"
  356 + },
  357 + {
  358 + "name": "吉布提",
  359 + "number": "+253"
  360 + },
  361 + {
  362 + "name": "津巴布韦",
  363 + "number": "+263"
  364 + },
  365 + {
  366 + "name": "捷克",
  367 + "number": "+420"
  368 + },
  369 + {
  370 + "name": "基里巴斯",
  371 + "number": "+686"
  372 + },
  373 + {
  374 + "name": "柬埔寨",
  375 + "number": "+855"
  376 + },
  377 + {
  378 + "name": "吉尔吉斯",
  379 + "number": "+996"
  380 + },
  381 + {
  382 + "name": "科特迪瓦",
  383 + "number": "+225"
  384 + },
  385 + {
  386 + "name": "喀麦隆",
  387 + "number": "+237"
  388 + },
  389 + {
  390 + "name": "肯尼亚",
  391 + "number": "+254"
  392 + },
  393 + {
  394 + "name": "科摩罗",
  395 + "number": "+269"
  396 + },
  397 + {
  398 + "name": "克罗地亚",
  399 + "number": "+385"
  400 + },
  401 + {
  402 + "name": "库拉索 (荷兰王国)",
  403 + "number": "+599"
  404 + },
  405 + {
  406 + "name": "库克群岛 (新西兰)",
  407 + "number": "+682"
  408 + },
  409 + {
  410 + "name": "科威特",
  411 + "number": "+965"
  412 + },
  413 + {
  414 + "name": "卡达",
  415 + "number": "+974"
  416 + },
  417 + {
  418 + "name": "开曼群岛 (英国)",
  419 + "number": "+1345"
  420 + },
  421 + {
  422 + "name": "罗马尼亚",
  423 + "number": "+40"
  424 + },
  425 + {
  426 + "name": "利比亚",
  427 + "number": "+218"
  428 + },
  429 + {
  430 + "name": "利比里亚",
  431 + "number": "+231"
  432 + },
  433 + {
  434 + "name": "卢旺达",
  435 + "number": "+250"
  436 + },
  437 + {
  438 + "name": "留尼汪 (法国)",
  439 + "number": "+262"
  440 + },
  441 + {
  442 + "name": "莱索托",
  443 + "number": "+266"
  444 + },
  445 + {
  446 + "name": "卢森堡",
  447 + "number": "+352"
  448 + },
  449 + {
  450 + "name": "立陶宛",
  451 + "number": "+370"
  452 + },
  453 + {
  454 + "name": "拉脱维亚",
  455 + "number": "+371"
  456 + },
  457 + {
  458 + "name": "列支敦士登",
  459 + "number": "+423"
  460 + },
  461 + {
  462 + "name": "老挝",
  463 + "number": "+856"
  464 + },
  465 + {
  466 + "name": "黎巴嫩",
  467 + "number": "+961"
  468 + },
  469 + {
  470 + "name": "美国",
  471 + "number": "+1"
  472 + },
  473 + {
  474 + "name": "秘鲁",
  475 + "number": "+51"
  476 + },
  477 + {
  478 + "name": "墨西哥",
  479 + "number": "+52"
  480 + },
  481 + {
  482 + "name": "马来西亚",
  483 + "number": "+60"
  484 + },
  485 + {
  486 + "name": "缅甸",
  487 + "number": "+95"
  488 + },
  489 + {
  490 + "name": "摩洛哥",
  491 + "number": "+212"
  492 + },
  493 + {
  494 + "name": "毛里塔尼亚",
  495 + "number": "+222"
  496 + },
  497 + {
  498 + "name": "马里共和国",
  499 + "number": "+223"
  500 + },
  501 + {
  502 + "name": "毛里求斯",
  503 + "number": "+230"
  504 + },
  505 + {
  506 + "name": "莫桑比克",
  507 + "number": "+258"
  508 + },
  509 + {
  510 + "name": "马达加斯加",
  511 + "number": "+261"
  512 + },
  513 + {
  514 + "name": "马拉维",
  515 + "number": "+265"
  516 + },
  517 + {
  518 + "name": "马约特",
  519 + "number": "+269"
  520 + },
  521 + {
  522 + "name": "马其顿",
  523 + "number": "+389"
  524 + },
  525 + {
  526 + "name": "马耳他",
  527 + "number": "+356"
  528 + },
  529 + {
  530 + "name": "摩尔多瓦",
  531 + "number": "+373"
  532 + },
  533 + {
  534 + "name": "摩纳哥",
  535 + "number": "+377"
  536 + },
  537 + {
  538 + "name": "马提尼克 (法国)",
  539 + "number": "+596"
  540 + },
  541 + {
  542 + "name": "孟加拉国",
  543 + "number": "+880"
  544 + },
  545 + {
  546 + "name": "马尔代夫",
  547 + "number": "+960"
  548 + },
  549 + {
  550 + "name": "蒙古国",
  551 + "number": "+976"
  552 + },
  553 + {
  554 + "name": "美属维尔京群岛 (美国)",
  555 + "number": "+1340"
  556 + },
  557 + {
  558 + "name": "蒙塞拉特岛 (英国)",
  559 + "number": "+1664"
  560 + },
  561 + {
  562 + "name": "美属萨摩亚 (美国)",
  563 + "number": "+1684"
  564 + },
  565 + {
  566 + "name": "南非",
  567 + "number": "+27"
  568 + },
  569 + {
  570 + "name": "挪威",
  571 + "number": "+47"
  572 + },
  573 + {
  574 + "name": "南苏丹",
  575 + "number": "+211"
  576 + },
  577 + {
  578 + "name": "尼日",
  579 + "number": "+227"
  580 + },
  581 + {
  582 + "name": "尼日利亚",
  583 + "number": "+234"
  584 + },
  585 + {
  586 + "name": "纳米比亚",
  587 + "number": "+264"
  588 + },
  589 + {
  590 + "name": "尼加拉瓜",
  591 + "number": "+505"
  592 + },
  593 + {
  594 + "name": "尼泊尔",
  595 + "number": "+977"
  596 + },
  597 + {
  598 + "name": "葡萄牙",
  599 + "number": "+351"
  600 + },
  601 + {
  602 + "name": "帕劳",
  603 + "number": "+680"
  604 + },
  605 + {
  606 + "name": "乔治亚",
  607 + "number": "+995"
  608 + },
  609 + {
  610 + "name": "瑞士",
  611 + "number": "+41"
  612 + },
  613 + {
  614 + "name": "瑞典",
  615 + "number": "+46"
  616 + },
  617 + {
  618 + "name": "日本",
  619 + "number": "+81"
  620 + },
  621 + {
  622 + "name": "斯里兰卡",
  623 + "number": "+94"
  624 + },
  625 + {
  626 + "name": "塞内加尔",
  627 + "number": "+221"
  628 + },
  629 + {
  630 + "name": "狮子山共和国",
  631 + "number": "+232"
  632 + },
  633 + {
  634 + "name": "圣多美普林西比",
  635 + "number": "+239"
  636 + },
  637 + {
  638 + "name": "塞舌尔",
  639 + "number": "+248"
  640 + },
  641 + {
  642 + "name": "苏丹",
  643 + "number": "+249"
  644 + },
  645 + {
  646 + "name": "索马里",
  647 + "number": "+252"
  648 + },
  649 + {
  650 + "name": "斯威士兰",
  651 + "number": "+268"
  652 + },
  653 + {
  654 + "name": "塞浦路斯",
  655 + "number": "+357"
  656 + },
  657 + {
  658 + "name": "圣马力诺",
  659 + "number": "+378"
  660 + },
  661 + {
  662 + "name": "塞尔维亚共和国",
  663 + "number": "+381"
  664 + },
  665 + {
  666 + "name": "斯洛文尼亚",
  667 + "number": "+386"
  668 + },
  669 + {
  670 + "name": "斯洛伐克",
  671 + "number": "+421"
  672 + },
  673 + {
  674 + "name": "萨尔瓦多",
  675 + "number": "+503"
  676 + },
  677 + {
  678 + "name": "圣皮耶与密克隆群岛 (法国)",
  679 + "number": "+508"
  680 + },
  681 + {
  682 + "name": "圣马丁岛(荷兰部分)",
  683 + "number": "+590"
  684 + },
  685 + {
  686 + "name": "苏里南",
  687 + "number": "+597"
  688 + },
  689 + {
  690 + "name": "所罗门群岛",
  691 + "number": "+677"
  692 + },
  693 + {
  694 + "name": "萨摩亚",
  695 + "number": "+685"
  696 + },
  697 + {
  698 + "name": "沙特阿拉伯",
  699 + "number": "+966"
  700 + },
  701 + {
  702 + "name": "圣卢西亚",
  703 + "number": "+1758"
  704 + },
  705 + {
  706 + "name": "圣文森及格林纳丁",
  707 + "number": "+1784"
  708 + },
  709 + {
  710 + "name": "圣克里斯多福与尼维斯",
  711 + "number": "+1869"
  712 + },
  713 + {
  714 + "name": "泰国",
  715 + "number": "+66"
  716 + },
  717 + {
  718 + "name": "土耳其",
  719 + "number": "+90"
  720 + },
  721 + {
  722 + "name": "突尼斯",
  723 + "number": "+216"
  724 + },
  725 + {
  726 + "name": "坦桑尼亚",
  727 + "number": "+255"
  728 + },
  729 + {
  730 + "name": "台湾",
  731 + "number": "+886"
  732 + },
  733 + {
  734 + "name": "塔吉克",
  735 + "number": "+992"
  736 + },
  737 + {
  738 + "name": "土库曼",
  739 + "number": "+993"
  740 + },
  741 + {
  742 + "name": "土克凯可群岛 (英国)",
  743 + "number": "+1649"
  744 + },
  745 + {
  746 + "name": "特立尼达和多巴哥",
  747 + "number": "+1868"
  748 + },
  749 + {
  750 + "name": "委内瑞拉",
  751 + "number": "+58"
  752 + },
  753 + {
  754 + "name": "乌干达",
  755 + "number": "+256"
  756 + },
  757 + {
  758 + "name": "乌克兰",
  759 + "number": "+380"
  760 + },
  761 + {
  762 + "name": "危地马拉",
  763 + "number": "+502"
  764 + },
  765 + {
  766 + "name": "乌拉圭",
  767 + "number": "+598"
  768 + },
  769 + {
  770 + "name": "文莱",
  771 + "number": "+673"
  772 + },
  773 + {
  774 + "name": "瓦努阿图",
  775 + "number": "+678"
  776 + },
  777 + {
  778 + "name": "乌兹别克",
  779 + "number": "+998"
  780 + },
  781 + {
  782 + "name": "希腊",
  783 + "number": "+30"
  784 + },
  785 + {
  786 + "name": "西班牙",
  787 + "number": "+34"
  788 + },
  789 + {
  790 + "name": "匈牙利",
  791 + "number": "+36"
  792 + },
  793 + {
  794 + "name": "新西兰",
  795 + "number": "+64"
  796 + },
  797 + {
  798 + "name": "新加坡",
  799 + "number": "+65"
  800 + },
  801 + {
  802 + "name": "新喀里多尼亚 (法国)",
  803 + "number": "+687"
  804 + },
  805 + {
  806 + "name": "香港 (中华人民共和国)",
  807 + "number": "+852"
  808 + },
  809 + {
  810 + "name": "叙利亚",
  811 + "number": "+963"
  812 + },
  813 + {
  814 + "name": "意大利",
  815 + "number": "+39"
  816 + },
  817 + {
  818 + "name": "英国",
  819 + "number": "+44"
  820 + },
  821 + {
  822 + "name": "印度尼西亚",
  823 + "number": "+62"
  824 + },
  825 + {
  826 + "name": "越南",
  827 + "number": "+84"
  828 + },
  829 + {
  830 + "name": "印度",
  831 + "number": "+91"
  832 + },
  833 + {
  834 + "name": "伊朗",
  835 + "number": "+98"
  836 + },
  837 + {
  838 + "name": "亚美尼亚",
  839 + "number": "+374"
  840 + },
  841 + {
  842 + "name": "约旦",
  843 + "number": "+962"
  844 + },
  845 + {
  846 + "name": "伊拉克",
  847 + "number": "+964"
  848 + },
  849 + {
  850 + "name": "也门",
  851 + "number": "+967"
  852 + },
  853 + {
  854 + "name": "以色列",
  855 + "number": "+972"
  856 + },
  857 + {
  858 + "name": "英属维尔京群岛 (英国)",
  859 + "number": "+1284"
  860 + },
  861 + {
  862 + "name": "牙买加",
  863 + "number": "+1876"
  864 + },
  865 + {
  866 + "name": "智利",
  867 + "number": "+56"
  868 + },
  869 + {
  870 + "name": "中非共和国",
  871 + "number": "+236"
  872 + },
  873 + {
  874 + "name": "赞比亚",
  875 + "number": "+260"
  876 + },
  877 + {
  878 + "name": "直布罗陀 (英国)",
  879 + "number": "+350"
  880 + }
  881 +]
  882 +
  883 +function init(that) {
  884 + that.setData({
  885 + 'country': country
  886 + });
  887 +}
  888 +
  889 +module.exports = {
  890 + init: init
  891 +}
注册登录 后发表评论