Commit 9412fc25 by 潘琦

签约儿童出生年月BUG修复;

parent 6533afbd
...@@ -1030,7 +1030,7 @@ export default { ...@@ -1030,7 +1030,7 @@ export default {
} }
let day = selectedDate.getDate() let day = selectedDate.getDate()
if (day < 10) { if (day < 10) {
month = '0' + day day = '0' + day
} }
let birth = selectedDate.getFullYear() + '-' + month + '-' + day let birth = selectedDate.getFullYear() + '-' + month + '-' + day
this.childrenArr[this.pickerOpenIndex].birth = birth this.childrenArr[this.pickerOpenIndex].birth = birth
......
...@@ -782,7 +782,7 @@ export default { ...@@ -782,7 +782,7 @@ export default {
this.$router.push({ this.$router.push({
path: '/home' path: '/home'
}) })
} else if (data.state === '0') { } else if (data.state === '0' && this.pageType === 0) {
this.$toast({ this.$toast({
message: '审核周期约三天,请您耐心等待!', message: '审核周期约三天,请您耐心等待!',
position: 'center', position: 'center',
...@@ -951,7 +951,7 @@ export default { ...@@ -951,7 +951,7 @@ export default {
} }
let day = selectedDate.getDate() let day = selectedDate.getDate()
if (day < 10) { if (day < 10) {
month = '0' + day day = '0' + day
} }
let birth = selectedDate.getFullYear() + '-' + month + '-' + day let birth = selectedDate.getFullYear() + '-' + month + '-' + day
this.childrenArr[this.pickerOpenIndex].birth = birth this.childrenArr[this.pickerOpenIndex].birth = birth
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment