|
@@ -627,12 +627,19 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
- if(this.dataObj.receiverIdcard&&!uni.$u.test.rangeLength(this.dataObj.receiverIdcard, [18, 18])){
|
|
|
+ // if(this.dataObj.receiverIdcard&&!uni.$u.test.rangeLength(this.dataObj.receiverIdcard, [18, 18])){
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // type: 'error',
|
|
|
+ // message: "身份证号输入错误!",
|
|
|
+ // })
|
|
|
+ // return true
|
|
|
+ // }
|
|
|
+ if(this.dataObj.receiverIdcard&&this.dataObj.receiverIdcard.length !=18){
|
|
|
this.$refs.uToast.show({
|
|
|
- type: 'error',
|
|
|
- message: "身份证号输入错误!",
|
|
|
- })
|
|
|
- return true
|
|
|
+ type: 'error',
|
|
|
+ message: "身份证号输入错误!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
}
|
|
|
if(this.dataObj.receiverCreditCode&&!uni.$u.test.rangeLength(this.dataObj.receiverCreditCode, [18, 18])){
|
|
|
this.$refs.uToast.show({
|