提交 c3aea55cc0f31ab3cc3c8d64eff5ad055923fbae

作者 pangy
2 个父辈 cea485b9 fcc60bc6

Merge branch 'dev_py' into dev2.0

@@ -34,6 +34,7 @@ Page({ @@ -34,6 +34,7 @@ Page({
34 legal_entity_id: "", 34 legal_entity_id: "",
35 legal_entity: "", 35 legal_entity: "",
36 supporttype:"", 36 supporttype:"",
  37 + is_single:"",
37 share_method:"", 38 share_method:"",
38 data: { 39 data: {
39 hasLover:false, 40 hasLover:false,
@@ -514,6 +515,7 @@ Page({ @@ -514,6 +515,7 @@ Page({
514 } else if ("support_duty" == options.status) { 515 } else if ("support_duty" == options.status) {
515 deduction_amount = frontPage.data.reduce_amount 516 deduction_amount = frontPage.data.reduce_amount
516 this.supporttype = frontPage.data.issinglechildData.selected == '是' ? 'D' : 'S',//是否独生 517 this.supporttype = frontPage.data.issinglechildData.selected == '是' ? 'D' : 'S',//是否独生
  518 + this.is_single = frontPage.data.issinglechildData.selected == '是' ? 'y' : 'n',//是否独生
517 this.share_method = frontPage.data.shareMethodData.selected 519 this.share_method = frontPage.data.shareMethodData.selected
518 } else if (frontPage.data.house_type == "rent" || frontPage.data.house_type == "house_fund_rent") { 520 } else if (frontPage.data.house_type == "rent" || frontPage.data.house_type == "house_fund_rent") {
519 this.getbanklist() 521 this.getbanklist()
@@ -1068,6 +1070,7 @@ Page({ @@ -1068,6 +1070,7 @@ Page({
1068 return 1070 return
1069 } 1071 }
1070 } 1072 }
  1073 + newdata.has_spouse = this.data.hasLover?'y':'n'
1071 newdata.relationship = this.data.taxperson_relativeData.selected 1074 newdata.relationship = this.data.taxperson_relativeData.selected
1072 newdata.percent = parseFloat(this.data.childrenpercentData.selected.replace("%","")) 1075 newdata.percent = parseFloat(this.data.childrenpercentData.selected.replace("%",""))
1073 newdata.children_id_card_type = '1' //this.data.childrencardtypeData.selected 1076 newdata.children_id_card_type = '1' //this.data.childrencardtypeData.selected
@@ -1172,6 +1175,7 @@ Page({ @@ -1172,6 +1175,7 @@ Page({
1172 // newdata.percentage = parseFloat(formdata.percentage) 1175 // newdata.percentage = parseFloat(formdata.percentage)
1173 // } 1176 // }
1174 newdata.support_type = this.supporttype 1177 newdata.support_type = this.supporttype
  1178 + newdata.is_single = this.is_single
1175 if (this.supporttype == 'S' && this.share_method.length){ 1179 if (this.supporttype == 'S' && this.share_method.length){
1176 newdata.share_method = this.share_method 1180 newdata.share_method = this.share_method
1177 } 1181 }
@@ -1341,6 +1345,7 @@ Page({ @@ -1341,6 +1345,7 @@ Page({
1341 return 1345 return
1342 } 1346 }
1343 } 1347 }
  1348 + newdata.has_spouse = this.data.hasLover ? 'y' : 'n'
1344 newdata.id_card_no = newdata.spouse_id_card_no 1349 newdata.id_card_no = newdata.spouse_id_card_no
1345 newdata.id_card_type = '1' //this.data.lovercardtypeData.selected 1350 newdata.id_card_type = '1' //this.data.lovercardtypeData.selected
1346 newdata.birthday = this.data.loverbirthDate.datelong > 0 ? this.data.loverbirthDate.datelong : 0 1351 newdata.birthday = this.data.loverbirthDate.datelong > 0 ? this.data.loverbirthDate.datelong : 0
注册登录 后发表评论