mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 02:26:44 +08:00
release 20230904-3 修改自动计算证件日期代码逻辑
This commit is contained in:
@@ -1255,7 +1255,7 @@ export default {
|
|||||||
let month = date.getMonth() + 1
|
let month = date.getMonth() + 1
|
||||||
month = month.toString().padStart(2, '0')
|
month = month.toString().padStart(2, '0')
|
||||||
let day = date.getDate()
|
let day = date.getDate()
|
||||||
day = day.toString().padStart(2, '0')
|
day = Number(day.toString().padStart(2, '0')) + 1
|
||||||
return `${year}-${month}-${day}`
|
return `${year}-${month}-${day}`
|
||||||
},
|
},
|
||||||
getRelatedData(val, from) {
|
getRelatedData(val, from) {
|
||||||
|
|||||||
@@ -1837,7 +1837,7 @@ export default {
|
|||||||
let month = date.getMonth() + 1
|
let month = date.getMonth() + 1
|
||||||
month = month.toString().padStart(2, '0')
|
month = month.toString().padStart(2, '0')
|
||||||
let day = date.getDate()
|
let day = date.getDate()
|
||||||
day = day.toString().padStart(2, '0')
|
day = Number(day.toString().padStart(2, '0')) + 1
|
||||||
return `${year}-${month}-${day}`
|
return `${year}-${month}-${day}`
|
||||||
},
|
},
|
||||||
//地区选择
|
//地区选择
|
||||||
@@ -1885,7 +1885,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRelatedData(val, from) {
|
getRelatedData(val, from) {
|
||||||
// debugger
|
|
||||||
if (this.userInfo.idType != '1' && this.userInfo.idType != '2') {
|
if (this.userInfo.idType != '1' && this.userInfo.idType != '2') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user