正在显示
2 个修改的文件
包含
6 行增加
和
2 行删除
| @@ -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 |
请
注册
或
登录
后发表评论