提交 83b7cdfccf7477b9d995e185a28d242db848e816

作者 pangy
2 个父辈 2bef9e50 c6ff4bbc

Merge branch '机器人_py' into 机器人dev

@@ -2457,9 +2457,9 @@ Page({ @@ -2457,9 +2457,9 @@ Page({
2457 childrenpercent_data.selected = childrenpercent_data.values[e.detail.value] 2457 childrenpercent_data.selected = childrenpercent_data.values[e.detail.value]
2458 var deduction_amount = 0 2458 var deduction_amount = 0
2459 if (e.detail.value == '0') { 2459 if (e.detail.value == '0') {
2460 - deduction_amount = 0  
2461 - } else if (e.detail.value == '1') {  
2462 deduction_amount = 500 2460 deduction_amount = 500
  2461 + } else if (e.detail.value == '1') {
  2462 + deduction_amount = 1000
2463 }else { 2463 }else {
2464 deduction_amount = 1000 2464 deduction_amount = 1000
2465 } 2465 }
@@ -471,6 +471,10 @@ Page({ @@ -471,6 +471,10 @@ Page({
471 return 471 return
472 } 472 }
473 } 473 }
  474 + if (this.data.countryData.selected.length < 1) {
  475 + this.showtoast('请选择国籍');
  476 + return
  477 + }
474 if (formdata.mobile.length > 0 && !format.isMobile(formdata.mobile)) { 478 if (formdata.mobile.length > 0 && !format.isMobile(formdata.mobile)) {
475 this.showtoast('手机号码有误'); 479 this.showtoast('手机号码有误');
476 return 480 return
注册登录 后发表评论