|
@@ -482,7 +482,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 查询
|
|
// 查询
|
|
searchForm () {
|
|
searchForm () {
|
|
- if (this.queryParam.vinCode.length != 17) {
|
|
|
|
|
|
+ if (this.queryParam.vinCode.length != 0 && this.queryParam.vinCode.length != 17) {
|
|
this.$message.info('请输入正确的VIN码')
|
|
this.$message.info('请输入正确的VIN码')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -573,6 +573,11 @@ export default {
|
|
}, 200)
|
|
}, 200)
|
|
} else {
|
|
} else {
|
|
// this.$message.info('请输入正确的VIN码')
|
|
// this.$message.info('请输入正确的VIN码')
|
|
|
|
+ if (this.hasVaild) {
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.searchForm()
|
|
|
|
+ }, 200)
|
|
|
|
+ }
|
|
this.queryParam.productCodeList = undefined
|
|
this.queryParam.productCodeList = undefined
|
|
}
|
|
}
|
|
},
|
|
},
|