mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 01:36:43 +08:00
自助入司优化:入司申请录入身份证号码错误提示調整 --提交人:阳华祥
This commit is contained in:
@@ -267,6 +267,7 @@ import OccupationPicker from '@/components/ebiz/occipation/OccupationPicker'
|
||||
import CustomerPicker from '@/components/ebiz/customer/CustomerPicker'
|
||||
import BankCardScan from '@/components/ebiz/sale/BankCardScan'
|
||||
import areaList from '@/assets/js/utils/area'
|
||||
import idNoCheck from '@/assets/js/utils/idNoCheck'
|
||||
import DataDictionary from '@/assets/js/utils/data-dictionary'
|
||||
import IdentityCardScan from '@/components/ebiz/sale/IdentityCardScan'
|
||||
import beforeDate from '@/assets/js/utils/getBeforeDate.js'
|
||||
@@ -514,6 +515,10 @@ export default {
|
||||
if (valid == true) {
|
||||
if (this.userInfo.idType == '1') {
|
||||
//身份证
|
||||
if (!idNoCheck.isIdno(this.userInfo.idNo)) {
|
||||
return this.$toast('请录入正确的身份证')
|
||||
}
|
||||
|
||||
if (this.userInfo.idNo.length == '18') {
|
||||
//18位身份证第17位是性别位, 奇男偶女
|
||||
let sexSign = this.userInfo.idNo.substr(16, 1)
|
||||
|
||||
Reference in New Issue
Block a user