正在显示
2 个修改的文件
包含
11 行增加
和
17 行删除
... | ... | @@ -24,7 +24,6 @@ Page({ |
24 | 24 | requestBody: {}, |
25 | 25 | idInfoData: '', |
26 | 26 | profession_index: [], |
27 | - overseas:'否', | |
28 | 27 | relativeData: { |
29 | 28 | isrequre: true, |
30 | 29 | label: '与本人关系', |
... | ... | @@ -38,8 +37,7 @@ Page({ |
38 | 37 | }, |
39 | 38 | cardtypeData: { |
40 | 39 | isrequre: true, |
41 | - disabled: true, | |
42 | - selected:'居民身份证', | |
40 | + // selected:'居民身份证', | |
43 | 41 | label: '证照类型', |
44 | 42 | bindtype: 'cardtype', |
45 | 43 | placeholder: '请选择证照类型', |
... | ... | @@ -52,7 +50,7 @@ Page({ |
52 | 50 | isrequre: true, |
53 | 51 | label: '是否境外人员', |
54 | 52 | bindtype: 'forigner', |
55 | - placeholder: '否', | |
53 | + placeholder: '是否境外人员', | |
56 | 54 | disabled: true, |
57 | 55 | values: ["否", "是"], |
58 | 56 | onChange: 'onPickerSelect' |
... | ... | @@ -72,7 +70,7 @@ Page({ |
72 | 70 | label: '国籍', |
73 | 71 | bindtype: 'country', |
74 | 72 | isrequre: true, |
75 | - selected: '中国', | |
73 | + // selected: '中国', | |
76 | 74 | disabled: true, |
77 | 75 | // range_key:'name', |
78 | 76 | placeholder: '请选择国籍', |
... | ... | @@ -174,7 +172,7 @@ Page({ |
174 | 172 | this.data.genderData.selected = tax_info.gender |
175 | 173 | this.data.countryData.selected = tax_info.native |
176 | 174 | // this.data.genderData.disabled = isDisable |
177 | - | |
175 | + this.data.forignerInfo.selected = tax_info.is_overseas_personnel | |
178 | 176 | this.setData({ |
179 | 177 | isDisable: isDisable, |
180 | 178 | relativeData: this.data.relativeData, |
... | ... | @@ -185,7 +183,8 @@ Page({ |
185 | 183 | genderData: this.data.genderData, |
186 | 184 | isIdCard: '居民身份证' == tax_info.id_card_type ? true : false, |
187 | 185 | card_number: tax_info.id_card_no, |
188 | - countryData: this.data.countryData | |
186 | + countryData: this.data.countryData, | |
187 | + forignerInfo: this.data.forignerInfo | |
189 | 188 | }) |
190 | 189 | // this.dealIdInfo(tax_info.id_card_no)//处理了性别和年龄 |
191 | 190 | }, |
... | ... | @@ -268,8 +267,9 @@ Page({ |
268 | 267 | is_idcard = false |
269 | 268 | this.data.genderData.disabled = false |
270 | 269 | } |
271 | - this.data.overseas = '否' | |
270 | + this.data.forignerInfo.selected = '是' | |
272 | 271 | if ('居民身份证' == new_type || '中国护照' == new_type) { |
272 | + this.data.forignerInfo.selected = '否' | |
273 | 273 | this.data.countryData.selected = '中国' |
274 | 274 | this.data.countryData.disabled = true |
275 | 275 | } else if (new_type.indexOf("港澳") != -1) { |
... | ... | @@ -280,7 +280,6 @@ Page({ |
280 | 280 | this.data.countryData.selected = '中国台湾' |
281 | 281 | this.data.countryData.disabled = true |
282 | 282 | } else { |
283 | - this.data.overseas = '是' | |
284 | 283 | this.data.countryData.selected = '' |
285 | 284 | this.data.countryData.values = this.countrys ? this.countrys : [] |
286 | 285 | this.data.countryData.disabled = false |
... | ... | @@ -290,7 +289,7 @@ Page({ |
290 | 289 | genderData: this.data.genderData, |
291 | 290 | countryData: this.data.countryData, |
292 | 291 | cardtypeData: this.data.cardtypeData, |
293 | - overseas: this.data.overseas, | |
292 | + forignerInfo: this.data.forignerInfo | |
294 | 293 | }) |
295 | 294 | |
296 | 295 | |
... | ... | @@ -463,7 +462,7 @@ Page({ |
463 | 462 | //"age": formdata.age ? formdata.age : '',//不传 |
464 | 463 | "age": formdata.age ? formdata.age : '', |
465 | 464 | "native": that.data.countryData.selected, |
466 | - "is_overseas_personnel": that.data.overseas, | |
465 | + "is_overseas_personnel": that.data.forignerInfo.selected, | |
467 | 466 | }, |
468 | 467 | header: { |
469 | 468 | 'content-type': 'application/json', // 默认值 | ... | ... |
... | ... | @@ -54,12 +54,7 @@ |
54 | 54 | <text class='text_black_30 float_right' style='line-height: 90rpx' >中国</text> |
55 | 55 | </view> --> |
56 | 56 | <view class="divide_line_30"></view> |
57 | - <view class='item_body'> | |
58 | - <text class='red_star_right_10'>*</text> | |
59 | - <text class='text_777_30 float_left' style='line-height: 90rpx'>是否境外人员</text> | |
60 | - <text class='text_black_30 float_right' style='line-height: 90rpx' >{{overseas}}</text> | |
61 | - </view> | |
62 | - <!-- <template is="picker_cell_normal" data="{{...forignerInfo}}" /> --> | |
57 | + <template is="picker_cell_normal" data="{{...forignerInfo}}" /> | |
63 | 58 | <view class="divide_line_30"></view> |
64 | 59 | <view class='item_body'> |
65 | 60 | <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>联系电话</text> | ... | ... |
请
注册
或
登录
后发表评论