|
@@ -652,7 +652,14 @@
|
|
|
})
|
|
|
return true
|
|
|
}
|
|
|
- if (uni.$u.test.rangeLength(this.dataDetails.qualificationCertificateNumber,[12,19])) {
|
|
|
+ // if (uni.$u.test.rangeLength(this.dataDetails.qualificationCertificateNumber,[12,19])) {
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // type: 'error',
|
|
|
+ // message: "从业资格证号输入错误!",
|
|
|
+ // })
|
|
|
+ // return true
|
|
|
+ // }
|
|
|
+ if(this.dataDetails.qualificationCertificateNumber.length < 12 || this.dataDetails.qualificationCertificateNumber.length > 19){
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'error',
|
|
|
message: "从业资格证号输入错误!",
|
|
@@ -760,6 +767,7 @@
|
|
|
// 校验
|
|
|
if (this.validate()) return
|
|
|
this.delSubmitObj()
|
|
|
+ this.dataDetails.accountNumber = uni.getStorageSync("userInfo").phone
|
|
|
this.$request.baseRequest('post', '/driverInfo/api/editInfo', this.dataDetails).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$refs.uToast.show({
|