正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -1306,7 +1306,7 @@ Page({ | @@ -1306,7 +1306,7 @@ Page({ | ||
| 1306 | children_name: id_info.name, | 1306 | children_name: id_info.name, |
| 1307 | commonbirthDate: that.data.commonbirthDate | 1307 | commonbirthDate: that.data.commonbirthDate |
| 1308 | } | 1308 | } |
| 1309 | - that.dealBrithDate(info.birthDay)//根据出生日期 计算 学前受教育时间 | 1309 | + that.dealBrithDate(id_info.birthDay)//根据出生日期 计算 学前受教育时间 |
| 1310 | if (format.getAge(birth_day) < 3) { | 1310 | if (format.getAge(birth_day) < 3) { |
| 1311 | that.showToast('子女年龄小于3岁,不可申报') | 1311 | that.showToast('子女年龄小于3岁,不可申报') |
| 1312 | } | 1312 | } |
| @@ -518,6 +518,7 @@ Page({ | @@ -518,6 +518,7 @@ Page({ | ||
| 518 | }, | 518 | }, |
| 519 | success: function(res) { | 519 | success: function(res) { |
| 520 | console.log(res) | 520 | console.log(res) |
| 521 | + wx.hideLoading() | ||
| 521 | if (res.statusCode == 200) { | 522 | if (res.statusCode == 200) { |
| 522 | wx.navigateBack({ | 523 | wx.navigateBack({ |
| 523 | delta: 1 | 524 | delta: 1 |
| @@ -525,7 +526,6 @@ Page({ | @@ -525,7 +526,6 @@ Page({ | ||
| 525 | } else { | 526 | } else { |
| 526 | that.showtoast(res.data.message) | 527 | that.showtoast(res.data.message) |
| 527 | } | 528 | } |
| 528 | - wx.hideLoading() | ||
| 529 | }, | 529 | }, |
| 530 | fail(res) { | 530 | fail(res) { |
| 531 | console.log(res) | 531 | console.log(res) |
请
注册
或
登录
后发表评论