正在显示
3 个修改的文件
包含
251 行增加
和
103 行删除
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <view wx:elif="{{selected}}" class="text_333_30 float_right ">{{selected}}</view> |
16 | 16 | <view wx:else class="text_999_30 float_right ">{{placeholder}}</view> --> |
17 | 17 | |
18 | - <text wx:if="{{selected&&disabled}}" class="text_999_30 float_right" style='line-height: 90rpx;'>{{selected}}</text> | |
18 | + <text wx:if="{{selected&&disabled}}" class="text_777_30 float_right" style='line-height: 90rpx;'>{{selected}}</text> | |
19 | 19 | <text wx:elif="{{selected}}" class="text_333_30 float_right " style='line-height: 90rpx;'>{{selected}}</text> |
20 | 20 | <text wx:else class="text_999_30 float_right " style='line-height: 90rpx;'>{{placeholder}}</text> |
21 | 21 | </picker> |
... | ... |
... | ... | @@ -3,7 +3,7 @@ var OSSInit; |
3 | 3 | var app = getApp(); |
4 | 4 | var baseUrl = app.globalData.baseUrl; |
5 | 5 | Page({ |
6 | - | |
6 | + idcard_belong:null,//照片信息获取返回时判断所属 | |
7 | 7 | /** |
8 | 8 | * Page initial data |
9 | 9 | */ |
... | ... | @@ -17,7 +17,8 @@ Page({ |
17 | 17 | lovercardtypeData: { |
18 | 18 | label: '身份证件类型', |
19 | 19 | bindtype: 'lovercardtype', |
20 | - selected: '', | |
20 | + selected: '居民身份证', | |
21 | + disabled: true, | |
21 | 22 | isblack: 'true', |
22 | 23 | placeholder: '请选择身份证件类型', |
23 | 24 | values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照', |
... | ... | @@ -48,8 +49,10 @@ Page({ |
48 | 49 | }, |
49 | 50 | childrencardtypeData: { |
50 | 51 | label: '子女身份证件类型', |
52 | + isrequre: true, | |
51 | 53 | bindtype: 'childrencardtype', |
52 | 54 | selected: '居民身份证', |
55 | + disabled: true, | |
53 | 56 | isblack: 'true', |
54 | 57 | placeholder: '请选择身份证件类型', |
55 | 58 | values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照', |
... | ... | @@ -59,6 +62,7 @@ Page({ |
59 | 62 | }, |
60 | 63 | childrenbirthDate: { |
61 | 64 | label: '出生日期', |
65 | + isrequre: true, | |
62 | 66 | bindtype: 'childrenbirthday', |
63 | 67 | selected: '', |
64 | 68 | isblack: 'true', |
... | ... | @@ -71,6 +75,7 @@ Page({ |
71 | 75 | }, |
72 | 76 | childedudegreeData: { |
73 | 77 | label: '子女受教育阶段', |
78 | + isrequre: true, | |
74 | 79 | bindtype: 'edu_degree', |
75 | 80 | selected: '', |
76 | 81 | isblack: 'true', |
... | ... | @@ -177,6 +182,7 @@ Page({ |
177 | 182 | }, |
178 | 183 | studystartdate: { |
179 | 184 | label: '受教育日期起', |
185 | + isrequre: true, | |
180 | 186 | bindtype: 'study_start_date', |
181 | 187 | selected: '', |
182 | 188 | isblack: 'true', |
... | ... | @@ -190,6 +196,7 @@ Page({ |
190 | 196 | }, |
191 | 197 | studyenddate: { |
192 | 198 | label: '预计受教育日期止', |
199 | + isrequre: true, | |
193 | 200 | bindtype: 'study_end_date', |
194 | 201 | selected: '', |
195 | 202 | isblack: 'true', |
... | ... | @@ -362,11 +369,71 @@ Page({ |
362 | 369 | |
363 | 370 | }, |
364 | 371 | |
365 | - /** | |
366 | - * Lifecycle function--Called when page show | |
367 | - */ | |
368 | - onShow: function() { | |
372 | + onShow: function () { | |
373 | + var that = this | |
374 | + var id_error //= this.data.id_error | |
375 | + wx.getStorage({ | |
376 | + key: 'id_info', | |
377 | + success: function (res) { | |
378 | + console.log('id_info', res.data) | |
379 | + if (res.data && res.data.length > 0) { | |
380 | + var id_info = JSON.parse(res.data) | |
381 | + var birth_day | |
382 | + if (id_info.birthday.month > 9 && id_info.birthday.day > 9) { | |
383 | + birth_day = id_info.birthday.year + '-' + id_info.birthday.month + '-' + id_info.birthday.day; | |
384 | + } else if (id_info.birthday.month > 9 && id_info.birthday.day < 10) { | |
385 | + birth_day = id_info.birthday.year + '-' + id_info.birthday.month + '-0' + id_info.birthday.day; | |
386 | + } else if (id_info.birthday.month < 10 && id_info.birthday.day > 9) { | |
387 | + birth_day = id_info.birthday.year + '-0' + id_info.birthday.month + '-' + id_info.birthday.day; | |
388 | + } else if (id_info.birthday.month < 10 && id_info.birthday.day < 10) { | |
389 | + birth_day = id_info.birthday.year + '-0' + id_info.birthday.month + '-0' + id_info.birthday.day; | |
390 | + } | |
391 | + | |
392 | + if (that.data.name.length > 0 && id_info.name != that.data.name) { | |
393 | + that.showtoast("姓名冲突") | |
394 | + id_error = true | |
395 | + return | |
396 | + } | |
397 | + if (that.data.card_number.length > 0 && id_info.id_card_number != that.data.card_number) { | |
398 | + that.showtoast("证照号码冲突") | |
399 | + id_error = true | |
400 | + return | |
401 | + } | |
402 | + // children_id_card_no | |
403 | + // spouse_id_card_no | |
404 | + // older_idno | |
405 | + // long_birth_date: Date.parse(new Date(birth_day)) / 1000, | |
406 | + // that.data.genderData.selected = id_info.gender | |
407 | + // that.data.birthDate.selected = birth_day | |
408 | + console.log('name***card_number', that.data.name + '***' + that.data.card_number) | |
409 | + | |
410 | + if (this.idcard_belong == 'children_id_card_no'){ | |
411 | + this.data.childrenbirthDate.selected = birth_day | |
412 | + data = { | |
413 | + children_id_card_no: id_info.id_card_number, | |
414 | + children_name: id_info.name, | |
415 | + childrenbirthDate: this.data.childrenbirthDate | |
416 | + } | |
417 | + } else if (this.idcard_belong == 'spouse_id_card_no') { | |
418 | + this.data.loverbirthDate.selected = birth_day | |
419 | + data = { | |
420 | + spouse_id_card_no: id_info.id_card_number, | |
421 | + spouse_name: id_info.name, | |
422 | + loverbirthDate: this.data.loverbirthDate | |
423 | + } | |
424 | + } | |
425 | + this.setData(data) | |
426 | + console.log('-cardtypeData--', that.data.cardtypeData) | |
369 | 427 | |
428 | + } | |
429 | + }, | |
430 | + }) | |
431 | + wx.removeStorage({ | |
432 | + key: 'id_info', | |
433 | + success: function (res) { | |
434 | + console.log('remove_idinfo', res) | |
435 | + }, | |
436 | + }) | |
370 | 437 | }, |
371 | 438 | |
372 | 439 | formSubmit: function(e) { |
... | ... | @@ -375,68 +442,72 @@ Page({ |
375 | 442 | var newdata = formdata; |
376 | 443 | switch (this.data.cur_index + '') { |
377 | 444 | case '0': |
378 | - if (!formdata.spouse_name || formdata.spouse_name.length < 1) { | |
379 | - this.showToast('请填写配偶姓名') | |
380 | - return | |
381 | - } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { | |
382 | - this.showToast('请填写配偶证件号码') | |
383 | - return | |
384 | - } else if (!formdata.children_name || formdata.children_name.length < 1) { | |
385 | - this.showToast('请填写子女姓名') | |
386 | - return | |
387 | - } else if (!formdata.children_id_card_no || formdata.children_id_card_no.length < 1) { | |
445 | + if (!formdata.children_id_card_no || formdata.children_id_card_no.length < 1) { | |
388 | 446 | this.showToast('请填写子女证件号码') |
389 | 447 | return |
390 | - } else if (!formdata.children_student_no || formdata.children_student_no.length < 1) { | |
391 | - this.showToast('请填写学籍号') | |
392 | - return | |
393 | - } | |
394 | - else if (!formdata.percent || formdata.percent.length < 1) { | |
395 | - this.showToast('请填写扣除比例') | |
396 | - return | |
397 | - } | |
398 | - if (this.data.lovercardtypeData.selected.length < 1) { | |
399 | - this.showToast('请选择配偶证件类型') | |
448 | + } | |
449 | + if (!formdata.children_name || formdata.children_name.length < 1) { | |
450 | + this.showToast('请填写子女姓名') | |
400 | 451 | return |
401 | 452 | } |
402 | - if (this.data.loverbirthDate.selected.length < 1) { | |
403 | - this.showToast('请选择配偶出生日期') | |
453 | + if (this.data.childrenbirthDate.selected.length < 1) { | |
454 | + this.showToast('请选择子女出生日期') | |
404 | 455 | return |
405 | 456 | } |
406 | - if (this.data.taxperson_relativeData.selected.length < 1) { | |
407 | - this.showToast('请选择与纳税人关系') | |
457 | + if (!formdata.percent || formdata.percent.length < 1) { | |
458 | + this.showToast('请填写扣除分配比例') | |
408 | 459 | return |
409 | 460 | } |
410 | - if (this.data.childrencardtypeData.selected.length < 1) { | |
411 | - this.showToast('请选择子女证件类型') | |
461 | + if (!formdata.children_student_no || formdata.children_student_no.length < 1) { | |
462 | + this.showToast('请填写学籍号') | |
412 | 463 | return |
413 | 464 | } |
414 | - if (this.data.childrenbirthDate.selected.length < 1) { | |
415 | - this.showToast('请选择子女出生日期') | |
465 | + if (this.data.childedudegreeData.selected.length < 1) { | |
466 | + this.showToast('请选择教育阶段') | |
416 | 467 | return |
417 | 468 | } |
418 | 469 | if (this.data.studystartdate.selected.length < 1) { |
419 | - this.showToast('请选择受教育日期') | |
470 | + this.showToast('请选择受教育起始日期') | |
420 | 471 | return |
421 | 472 | } |
422 | 473 | if (this.data.studyenddate.selected.length < 1) { |
423 | - this.showToast('请选择受教育日期') | |
474 | + this.showToast('请选择受教育终止日期') | |
424 | 475 | return |
425 | 476 | } |
426 | - if (this.data.childedudegreeData.selected.length < 1) { | |
427 | - this.showToast('请选择教育阶段') | |
428 | - return | |
477 | + | |
478 | + if (formdata.spouse_name || formdata.spouse_id_card_no || this.data.loverbirthDate.selected){ | |
479 | + if (!formdata.spouse_name || formdata.spouse_name.length < 1) { | |
480 | + this.showToast('请填写配偶姓名') | |
481 | + return | |
482 | + } else if (!formdata.spouse_id_card_no || formdata.spouse_id_card_no.length < 1) { | |
483 | + this.showToast('请填写配偶证件号码') | |
484 | + return | |
485 | + } else if (this.data.loverbirthDate.selected.length < 1) { | |
486 | + this.showToast('请选择配偶出生日期') | |
487 | + return | |
488 | + } | |
489 | + if (this.data.taxperson_relativeData.selected.length < 1) { | |
490 | + this.showToast('请选择与纳税人关系') | |
491 | + return | |
492 | + } | |
493 | + | |
429 | 494 | } |
430 | - newdata.spouse_id_card_type = this.data.lovercardtypeData.selected | |
495 | + | |
496 | + newdata.spouse_id_card_type = '1'//this.data.lovercardtypeData.selected | |
431 | 497 | newdata.spouse_birthday = this.data.loverbirthDate.selected |
432 | 498 | newdata.relationship = this.data.taxperson_relativeData.selected |
433 | - newdata.children_id_card_type = this.data.childrencardtypeData.selected | |
499 | + newdata.children_id_card_type = '1'//this.data.childrencardtypeData.selected | |
434 | 500 | newdata.children_birthday = this.data.childrenbirthDate.selected |
435 | 501 | newdata.education_end = this.data.studystartdate.datelong |
436 | 502 | newdata.education_start = this.data.studyenddate.datelong |
437 | 503 | newdata.education_period = this.data.childedudegreeData.selected |
438 | 504 | newdata.children_nation = "中国" |
439 | 505 | newdata.nation = "中国" |
506 | + newdata.deduction_type = this.data.reducetypeData.selected | |
507 | + newdata.deduction_amount = '1000' | |
508 | + if ('年度扣除' == newdata.deduction_type){ | |
509 | + newdata.deduction_amount = '12000' | |
510 | + } | |
440 | 511 | break; |
441 | 512 | case '1': |
442 | 513 | if (this.data.edutypeData.selected.length < 1) { |
... | ... | @@ -483,6 +554,11 @@ Page({ |
483 | 554 | newdata.education_type = this.data.edutypeData.selected |
484 | 555 | newdata.education_end = this.data.studystartdate.datelong |
485 | 556 | newdata.education_start = this.data.studyenddate.datelong |
557 | + newdata.deduction_type = this.data.reducetypeData.selected | |
558 | + newdata.deduction_amount = '' | |
559 | + if ('年度扣除' == newdata.deduction_type) { | |
560 | + newdata.deduction_amount = '' | |
561 | + } | |
486 | 562 | break; |
487 | 563 | case '2': |
488 | 564 | if (this.data.supporttypeData.selected.length < 1) { |
... | ... | @@ -513,7 +589,11 @@ Page({ |
513 | 589 | |
514 | 590 | newdata.support_type = this.data.supporttypeData.selected |
515 | 591 | newdata.older_cardtype = this.data.oldercardtypeData.selected |
516 | - break; | |
592 | + newdata.deduction_type = this.data.reducetypeData.selected | |
593 | + newdata.deduction_amount = '' | |
594 | + if ('年度扣除' == newdata.deduction_type) { | |
595 | + newdata.deduction_amount = '' | |
596 | + } | |
517 | 597 | break; |
518 | 598 | case '3': |
519 | 599 | if (!formdata.name || formdata.name.length < 1) { |
... | ... | @@ -537,6 +617,11 @@ Page({ |
537 | 617 | } |
538 | 618 | newdata.cardtype = this.data.cardtypeData.selected |
539 | 619 | newdata.taxperson_relative = this.data.taxperson_relativeData.selected |
620 | + newdata.deduction_type = this.data.reducetypeData.selected | |
621 | + newdata.deduction_amount = '' | |
622 | + if ('年度扣除' == newdata.deduction_type) { | |
623 | + newdata.deduction_amount = '' | |
624 | + } | |
540 | 625 | break; |
541 | 626 | case '4': |
542 | 627 | console.log('TITLE', this.data.title) |
... | ... | @@ -615,6 +700,11 @@ Page({ |
615 | 700 | } |
616 | 701 | newdata.lover_cardtype = this.data.lovercardtypeData.selected |
617 | 702 | newdata.lover_birthdate = this.data.loverbirthDate.selected |
703 | + newdata.deduction_type = this.data.reducetypeData.selected | |
704 | + newdata.deduction_amount = '' | |
705 | + if ('年度扣除' == newdata.deduction_type) { | |
706 | + newdata.deduction_amount = '' | |
707 | + } | |
618 | 708 | break; |
619 | 709 | } |
620 | 710 | |
... | ... | @@ -625,8 +715,8 @@ Page({ |
625 | 715 | this.showToast('请填写扣除金额') |
626 | 716 | return |
627 | 717 | } |
628 | - newdata.deduction_type = this.data.reducetypeData.selected | |
629 | - newdata.deduction_amount = formdata.reduce_money | |
718 | + // newdata.deduction_type = this.data.reducetypeData.selected | |
719 | + // newdata.deduction_amount = formdata.reduce_money | |
630 | 720 | newdata.legal_entity = "" |
631 | 721 | newdata.legal_entity_id = "" |
632 | 722 | this.addDatas(newdata) |
... | ... | @@ -654,6 +744,7 @@ Page({ |
654 | 744 | }, |
655 | 745 | |
656 | 746 | getIdInfo: function (e) { |
747 | + this.idcard_belong = e.currentTarget.id | |
657 | 748 | if (this.data.isIdCard) { |
658 | 749 | wx.navigateTo({ |
659 | 750 | url: '../../taxperson/idinfo/idinfo', |
... | ... | @@ -942,6 +1033,7 @@ Page({ |
942 | 1033 | if (data && data.length > 0) { |
943 | 1034 | wx.showToast({ |
944 | 1035 | title: data, |
1036 | + icon: "none" | |
945 | 1037 | }) |
946 | 1038 | } |
947 | 1039 | }, |
... | ... |
... | ... | @@ -3,38 +3,42 @@ |
3 | 3 | |
4 | 4 | <view class='page'> |
5 | 5 | <form bindsubmit='formSubmit'> |
6 | - <view style='padding:0 30rpx;'> | |
7 | 6 | <!-- 添加子女 --> |
8 | 7 | <view wx:if="{{cur_index==0}}"> |
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'></image> | |
16 | - <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='id_card_no' maxlength='19' type='idcard'></input> | |
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> | |
20 | + </view> --> | |
17 | 21 | </view> |
18 | - <view wx:else> | |
19 | - <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='children_idno' maxlength='24' value='{{card_number}}'></input> | |
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> | |
20 | 34 | </view> |
21 | 35 | </view> |
22 | - <view class='divide_line_f5f5f5'></view> | |
23 | - <view style='height:90rpx'> | |
24 | - <text class='text_black_30 float_left'>子女姓名</text> | |
25 | - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名' name='children_name'></input> | |
26 | - </view> | |
27 | - <template is="picker_cell_normal" data="{{...childrenbirthDate}}" /> | |
28 | - <view class='divide_line_f5f5f5'></view> | |
29 | - <view style='height:90rpx'> | |
30 | - <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | |
31 | - <text class='text_black_30 float_left'>国籍(地区)</text> | |
32 | - <text class='text_333_30 float_right' style='line-height: 90rpx;text-align:right' name='children_country'>中国</text> | |
33 | - </view> | |
34 | - <view class='divide_line_f5f5f5'></view> | |
35 | 36 | |
36 | - <view class='divide_line_f5f5f5'></view> | |
37 | - <view style='height:90rpx;'> | |
37 | + <view style='height:20rpx;width:100%;background:#F8F8F8;'></view> | |
38 | + | |
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> | |
38 | 42 | <text class='text_black_30 float_left'>分配比例</text> |
39 | 43 | <text class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right'>%</text> |
40 | 44 | <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分配比例' name='reduce_ratio'></input> |
... | ... | @@ -42,6 +46,7 @@ |
42 | 46 | |
43 | 47 | <view class='divide_line_f5f5f5'></view> |
44 | 48 | <view style='height:90rpx'> |
49 | + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | |
45 | 50 | <text class='text_black_30 float_left'>子女学籍号</text> |
46 | 51 | <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女学籍号' name='children_schoolno'></input> |
47 | 52 | </view> |
... | ... | @@ -55,9 +60,10 @@ |
55 | 60 | |
56 | 61 | <template is="picker_cell_normal" data="{{...studyenddate}}" /> |
57 | 62 | <view class='divide_line_f5f5f5'></view> |
63 | + </view> | |
58 | 64 | </view> |
59 | 65 | <!-- 继续教育 --> |
60 | - <view wx:if="{{cur_index==1}}"> | |
66 | + <view wx:if="{{cur_index==1}}" style='padding:0 30rpx;'> | |
61 | 67 | |
62 | 68 | <template is="picker_cell_normal" data="{{...edutypeData}}" /> |
63 | 69 | <view class='divide_line_f5f5f5'></view> |
... | ... | @@ -94,7 +100,7 @@ |
94 | 100 | |
95 | 101 | </view> |
96 | 102 | <!-- 赡养老人 --> |
97 | - <view wx:if="{{cur_index==2}}"> | |
103 | + <view wx:if="{{cur_index==2}}" style='padding:0 30rpx;'> | |
98 | 104 | <template is="picker_cell_normal" data="{{...supporttypeData}}" /> |
99 | 105 | <view class='divide_line_f5f5f5'></view> |
100 | 106 | <view style='height:90rpx'> |
... | ... | @@ -106,7 +112,7 @@ |
106 | 112 | <view class='divide_line_f5f5f5'></view> |
107 | 113 | <view style='height:90rpx'> |
108 | 114 | <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='请输入证件号码' type='idcard' name='older_idno'></input> | |
115 | + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证件号码' type='idcard' name='older_idno' value='{{older_idno}}'></input> | |
110 | 116 | </view> |
111 | 117 | <view class='divide_line_f5f5f5'></view> |
112 | 118 | <template is="picker_cell_normal" data="{{...olderbirthDate}}" /> |
... | ... | @@ -127,7 +133,7 @@ |
127 | 133 | </view> --> |
128 | 134 | </view> |
129 | 135 | <!-- 大病医疗 --> |
130 | - <view wx:if="{{cur_index==3}}"> | |
136 | + <view wx:if="{{cur_index==3}}" style='padding:0 30rpx;'> | |
131 | 137 | <view style='height:90rpx'> |
132 | 138 | <text class='text_black_30 float_left'>姓名</text> |
133 | 139 | <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入姓名' name='name'></input> |
... | ... | @@ -154,7 +160,7 @@ |
154 | 160 | </view> |
155 | 161 | </view> |
156 | 162 | <!-- 住房 --> |
157 | - <view wx:if="{{cur_index==4}}"> | |
163 | + <view wx:if="{{cur_index==4}}" style='padding:0 30rpx;'> | |
158 | 164 | |
159 | 165 | <view wx:if="{{title=='添加住房贷款利息'}}"> |
160 | 166 | |
... | ... | @@ -210,42 +216,92 @@ |
210 | 216 | <template is="picker_cell_normal" data="{{...leaseendDate}}" /> |
211 | 217 | </view> |
212 | 218 | </view> |
213 | - <view class='divide_line_f5f5f5'></view> | |
214 | - <template is="picker_cell_normal" data="{{...reducetypeData}}" /> | |
215 | - <view class='divide_line_f5f5f5'></view> | |
216 | - <view style='height:90rpx'> | |
217 | - <text class='text_black_30 float_left'>扣除金额</text> | |
218 | - <text wx:if="{{reducetypeData.selected=='月度扣除'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right'>/月</text> | |
219 | - <text wx:if="{{reducetypeData.selected=='年度扣除'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right'>/年</text> | |
220 | - <input class='input_wrap01 float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额' type='digit' name='reduce_money'></input> | |
221 | - </view> | |
222 | - <view class='divide_line_f5f5f5'></view> | |
223 | - <view wx:if="{{cur_index==0||cur_index==4}}"> | |
224 | - <view style='height:90rpx'> | |
225 | - <text class='text_black_30 float_left'>配偶姓名</text> | |
226 | - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='lover_name'></input> | |
227 | - </view> | |
228 | - <view class='divide_line_f5f5f5'></view> | |
229 | 219 | |
230 | - <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> | |
231 | - <view class='divide_line_f5f5f5'></view> | |
232 | - <view style='height:90rpx'> | |
233 | - <text class='text_black_30 float_left'>配偶证件号码</text> | |
234 | - <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> | |
235 | - </view> | |
220 | + <view style='padding:0 30rpx;'> | |
236 | 221 | <view class='divide_line_f5f5f5'></view> |
237 | - <template is="picker_cell_normal" data="{{...loverbirthDate}}" /> | |
222 | + <template is="picker_cell_normal" data="{{...reducetypeData}}" /> | |
238 | 223 | <view class='divide_line_f5f5f5'></view> |
239 | 224 | <view style='height:90rpx'> |
240 | - <text class='text_black_30 float_left'>国籍</text> | |
241 | - <image class='arrow_wrap' src='/images/arrow_right.png'></image> | |
242 | - <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text> | |
225 | + <text class='text_black_30 float_left'>扣除金额</text> | |
226 | + <text wx:if="{{reducetypeData.selected=='月度扣除'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥1000/月</text> | |
227 | + <text wx:if="{{reducetypeData.selected=='年度扣除'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;'>¥12000/年</text> | |
228 | + <!-- <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> --> | |
243 | 229 | </view> |
230 | + <view class='divide_line_f5f5f5'></view> | |
231 | + | |
244 | 232 | </view> |
245 | 233 | |
234 | + <view style='height:20rpx;width:100%;background:#F8F8F8;'></view> | |
235 | + | |
236 | + <view style='padding:0 30rpx;'> | |
237 | + | |
238 | + <view wx:if="{{cur_index==0}}"> | |
239 | + <view style='height:90rpx'> | |
240 | + <text class='text_black_30 float_left'>配偶姓名</text> | |
241 | + <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> | |
242 | + </view> | |
243 | + <view class='divide_line_f5f5f5'></view> | |
244 | + | |
245 | + <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> | |
246 | + <view class='divide_line_f5f5f5'></view> | |
247 | + <view style='height:90rpx'> | |
248 | + <text class='text_black_30 float_left'>配偶证件号码</text> | |
249 | + <view wx:if="{{isIdCard}}"> | |
250 | + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image> | |
251 | + <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> | |
252 | + </view> | |
253 | + <!-- <view wx:else> | |
254 | + <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> | |
255 | + </view> --> | |
256 | + <!-- <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> --> | |
257 | + </view> | |
258 | + | |
259 | + | |
260 | + <view class='divide_line_f5f5f5'></view> | |
261 | + <template is="picker_cell_normal" data="{{...loverbirthDate}}" /> | |
262 | + <view class='divide_line_f5f5f5'></view> | |
263 | + <view style='height:90rpx'> | |
264 | + <text class='text_black_30 float_left'>国籍</text> | |
265 | + <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> --> | |
266 | + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text> | |
267 | + </view> | |
268 | + </view> | |
269 | + | |
270 | + <view wx:if="{{cur_index==4}}"> | |
271 | + <view style='height:90rpx'> | |
272 | + <text class='text_black_30 float_left'>配偶姓名</text> | |
273 | + <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> | |
274 | + </view> | |
275 | + <view class='divide_line_f5f5f5'></view> | |
276 | + | |
277 | + <template is="picker_cell_normal" data="{{...lovercardtypeData}}" /> | |
278 | + <view class='divide_line_f5f5f5'></view> | |
279 | + <view style='height:90rpx'> | |
280 | + <text class='text_black_30 float_left'>配偶证件号码</text> | |
281 | + <view wx:if="{{isIdCard}}"> | |
282 | + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="lover"></image> | |
283 | + <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='18' type='idcard' value='{{lover_idno}}'></input> | |
284 | + </view> | |
285 | + <!-- <view wx:else> | |
286 | + <input class='input_wrap float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='lover_idno' maxlength='24' value='{{lover_idno}}'></input> | |
287 | + </view> --> | |
288 | + <!-- <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> --> | |
289 | + </view> | |
290 | + | |
291 | + | |
292 | + <view class='divide_line_f5f5f5'></view> | |
293 | + <template is="picker_cell_normal" data="{{...loverbirthDate}}" /> | |
294 | + <view class='divide_line_f5f5f5'></view> | |
295 | + <view style='height:90rpx'> | |
296 | + <text class='text_black_30 float_left'>国籍</text> | |
297 | + <!-- <image class='arrow_wrap' src='/images/arrow_right.png'></image> --> | |
298 | + <text class='text_777_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text> | |
299 | + </view> | |
300 | + </view> | |
301 | + | |
302 | + </view> | |
246 | 303 | <!-- <view class='divide_line_f5f5f5'></view> |
247 | 304 | <view class='text_black_30 float_left'>上传材料</view> --> |
248 | - </view> | |
249 | 305 | <view style='width:100%;height:180rpx;background:#f8f8f8'></view> |
250 | 306 | <!-- <view style='margin-bottom:140rpx'> |
251 | 307 | <image src='{{img_path}}' style='width:100%;height:380rpx' bindtap='goupload'></image> |
... | ... |
请
注册
或
登录
后发表评论