提交 9ffa318c97811add8166bd2cc404f261ad549310

作者 wangyu
2 个父辈 5ff3dbab 84b23180

Merge branch 'dev2.0' of http://192.144.137.25:8888/wangyu/naturalPersonTax into dev2.0

... ... @@ -530,7 +530,9 @@ Page({
530 530 }
531 531 if ("children_education" == options.status) {
532 532 this.loadCountry()
533   - this.getTaxList()
  533 + if (options.isedit != 'true'){
  534 + this.getTaxList()
  535 + }
534 536 } else if ("continuing_education" == options.status) {
535 537 var studystart_date = this.data.studystartdate
536 538 studystart_date.label = "入学时间起"
... ... @@ -561,7 +563,9 @@ Page({
561 563 })
562 564 } else if (frontPage.data.house_type == "rent" || frontPage.data.house_type == "house_fund_rent") {
563 565 this.getbanklist()
564   - this.getTaxList()
  566 + if (options.isedit != 'true') {
  567 + this.getTaxList()
  568 + }
565 569 house_type = "house_fund_rent"
566 570 title = '住房租金'
567 571 if (options.reducetype == '月度') {
... ... @@ -573,7 +577,9 @@ Page({
573 577 }
574 578 } else if (frontPage.data.house_type == "house_fund_loan") {
575 579 this.getbanklist()
576   - this.getTaxList()
  580 + if (options.isedit != 'true') {
  581 + this.getTaxList()
  582 + }
577 583 house_type = "house_fund_loan"
578 584 title = '住房贷款利息'
579 585 if (options.reducetype == '月度') {
... ... @@ -713,18 +719,17 @@ Page({
713 719 if (data.school_name && data.school_name.length) {
714 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 727 if (data.spouse_name && data.spouse_name.length) {
717 728 setData.spouse_name = data.spouse_name
718 729 }
719 730 if (data.spouse_id_card_no && data.spouse_id_card_no.length) {
720 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 734 this.setData(setData)
730 735 break;
... ... @@ -827,7 +832,17 @@ Page({
827 832 // break;
828 833 case "house_fund":
829 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 846 if (this.data.house_type == 'house_fund_rent'){
832 847 var workingcityInfo = this.data.workingcityInfo
833 848 workingcityInfo.requestdata = data.work_city
... ... @@ -873,20 +888,7 @@ Page({
873 888 setData.owner_id_card_no = data.owner_id_card_no
874 889
875 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 892 if (data.house_address && data.house_address.province) {
891 893 var houseLocateInfo = this.data.houseLocateInfo
892 894 houseLocateInfo.requestdata = data.house_address
... ...
注册登录 后发表评论