正在显示
1 个修改的文件
包含
27 行增加
和
25 行删除
@@ -530,7 +530,9 @@ Page({ | @@ -530,7 +530,9 @@ Page({ | ||
530 | } | 530 | } |
531 | if ("children_education" == options.status) { | 531 | if ("children_education" == options.status) { |
532 | this.loadCountry() | 532 | this.loadCountry() |
533 | - this.getTaxList() | 533 | + if (options.isedit != 'true'){ |
534 | + this.getTaxList() | ||
535 | + } | ||
534 | } else if ("continuing_education" == options.status) { | 536 | } else if ("continuing_education" == options.status) { |
535 | var studystart_date = this.data.studystartdate | 537 | var studystart_date = this.data.studystartdate |
536 | studystart_date.label = "入学时间起" | 538 | studystart_date.label = "入学时间起" |
@@ -561,7 +563,9 @@ Page({ | @@ -561,7 +563,9 @@ Page({ | ||
561 | }) | 563 | }) |
562 | } else if (frontPage.data.house_type == "rent" || frontPage.data.house_type == "house_fund_rent") { | 564 | } else if (frontPage.data.house_type == "rent" || frontPage.data.house_type == "house_fund_rent") { |
563 | this.getbanklist() | 565 | this.getbanklist() |
564 | - this.getTaxList() | 566 | + if (options.isedit != 'true') { |
567 | + this.getTaxList() | ||
568 | + } | ||
565 | house_type = "house_fund_rent" | 569 | house_type = "house_fund_rent" |
566 | title = '住房租金' | 570 | title = '住房租金' |
567 | if (options.reducetype == '月度') { | 571 | if (options.reducetype == '月度') { |
@@ -573,7 +577,9 @@ Page({ | @@ -573,7 +577,9 @@ Page({ | ||
573 | } | 577 | } |
574 | } else if (frontPage.data.house_type == "house_fund_loan") { | 578 | } else if (frontPage.data.house_type == "house_fund_loan") { |
575 | this.getbanklist() | 579 | this.getbanklist() |
576 | - this.getTaxList() | 580 | + if (options.isedit != 'true') { |
581 | + this.getTaxList() | ||
582 | + } | ||
577 | house_type = "house_fund_loan" | 583 | house_type = "house_fund_loan" |
578 | title = '住房贷款利息' | 584 | title = '住房贷款利息' |
579 | if (options.reducetype == '月度') { | 585 | if (options.reducetype == '月度') { |
@@ -713,18 +719,17 @@ Page({ | @@ -713,18 +719,17 @@ Page({ | ||
713 | if (data.school_name && data.school_name.length) { | 719 | if (data.school_name && data.school_name.length) { |
714 | setData.school_name = data.school_name | 720 | setData.school_name = data.school_name |
715 | } | 721 | } |
722 | + | ||
723 | + var hasLoverData = this.data.hasLoverData | ||
724 | + hasLoverData.selected = data.has_spouse == 'y' ? '是' : '否' | ||
725 | + setData.hasLover = data.has_spouse == 'y' ? true : false | ||
726 | + setData.hasLoverData = hasLoverData | ||
716 | if (data.spouse_name && data.spouse_name.length) { | 727 | if (data.spouse_name && data.spouse_name.length) { |
717 | setData.spouse_name = data.spouse_name | 728 | setData.spouse_name = data.spouse_name |
718 | } | 729 | } |
719 | if (data.spouse_id_card_no && data.spouse_id_card_no.length) { | 730 | if (data.spouse_id_card_no && data.spouse_id_card_no.length) { |
720 | setData.spouse_id_card_no = data.spouse_id_card_no | 731 | setData.spouse_id_card_no = data.spouse_id_card_no |
721 | - this.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input') | ||
722 | - } | ||
723 | - if (data.spouse_birthday && data.spouse_birthday.length) { | ||
724 | - var loverbirthDate = this.data.loverbirthDate | ||
725 | - loverbirthDate.selected = format.formatTime_date(data.spouse_birthday) | ||
726 | - loverbirthDate.datelong = data.spouse_birthday | ||
727 | - setData.loverbirthDate = loverbirthDate | 732 | + this.dealIdInfo(data.spouse_id_card_no, 'spouse_id_card_no_input') |
728 | } | 733 | } |
729 | this.setData(setData) | 734 | this.setData(setData) |
730 | break; | 735 | break; |
@@ -827,7 +832,17 @@ Page({ | @@ -827,7 +832,17 @@ Page({ | ||
827 | // break; | 832 | // break; |
828 | case "house_fund": | 833 | case "house_fund": |
829 | var setData = {} | 834 | var setData = {} |
830 | - | 835 | + var hasLoverData = this.data.hasLoverData |
836 | + hasLoverData.selected = data.has_spouse == 'y'?'是':'否' | ||
837 | + setData.hasLover = data.has_spouse=='y'?true:false | ||
838 | + setData.hasLoverData = hasLoverData | ||
839 | + if (data.spouse_name && data.spouse_name.length) { | ||
840 | + setData.spouse_name = data.spouse_name | ||
841 | + } | ||
842 | + if (data.id_card_no && data.id_card_no.length) { | ||
843 | + setData.spouse_id_card_no = data.id_card_no | ||
844 | + this.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input') | ||
845 | + } | ||
831 | if (this.data.house_type == 'house_fund_rent'){ | 846 | if (this.data.house_type == 'house_fund_rent'){ |
832 | var workingcityInfo = this.data.workingcityInfo | 847 | var workingcityInfo = this.data.workingcityInfo |
833 | workingcityInfo.requestdata = data.work_city | 848 | workingcityInfo.requestdata = data.work_city |
@@ -873,20 +888,7 @@ Page({ | @@ -873,20 +888,7 @@ Page({ | ||
873 | setData.owner_id_card_no = data.owner_id_card_no | 888 | setData.owner_id_card_no = data.owner_id_card_no |
874 | 889 | ||
875 | } else if (this.data.house_type == 'house_fund_loan'){ | 890 | } else if (this.data.house_type == 'house_fund_loan'){ |
876 | - | ||
877 | - // if (data.spouse_name && data.spouse_name.length) { | ||
878 | - // setData.spouse_name = data.spouse_name | ||
879 | - // } | ||
880 | - // if (data.spouse_id_card_no && data.spouse_id_card_no.length) { | ||
881 | - // setData.spouse_id_card_no = data.spouse_id_card_no | ||
882 | - // this.dealIdInfo(data.id_card_no, 'spouse_id_card_no_input') | ||
883 | - // } | ||
884 | - // if (this.data.loverbirthDate.selected.length) { | ||
885 | - // var loverbirthDate = this.data.loverbirthDate | ||
886 | - // loverbirthDate.selected = format.formatTime_date(data.spouse_birthday) | ||
887 | - // loverbirthDate.datelong = data.spouse_birthday | ||
888 | - // setData.loverbirthDate = loverbirthDate | ||
889 | - // } | 891 | + |
890 | if (data.house_address && data.house_address.province) { | 892 | if (data.house_address && data.house_address.province) { |
891 | var houseLocateInfo = this.data.houseLocateInfo | 893 | var houseLocateInfo = this.data.houseLocateInfo |
892 | houseLocateInfo.requestdata = data.house_address | 894 | houseLocateInfo.requestdata = data.house_address |
请
注册
或
登录
后发表评论