|
@@ -161,6 +161,7 @@ export default {
|
|
|
if (this.codeStr.length < 19) {
|
|
|
this.$message.error('请输入合法卡号')
|
|
|
this.dialogVisible = false
|
|
|
+ this.splitStr = ""
|
|
|
return
|
|
|
}
|
|
|
this.splitStr = this.splitStr == '' ? this.splitStr.concat(this.codeStr.substring(0,19)) : this.splitStr.concat(',' + this.codeStr.substring(0,19))
|
|
@@ -169,6 +170,7 @@ export default {
|
|
|
} else if (this.firstStr == '9') {
|
|
|
if (this.codeStr.length < 16) {
|
|
|
this.$message.error('请输入合法卡号')
|
|
|
+ this.splitStr = ""
|
|
|
this.dialogVisible = false
|
|
|
return
|
|
|
}
|
|
@@ -177,6 +179,7 @@ export default {
|
|
|
console.log('codeStr', this.codeStr);
|
|
|
} else {
|
|
|
this.$message.error('请输入合法卡号')
|
|
|
+ this.splitStr = ""
|
|
|
this.dialogVisible = false
|
|
|
}
|
|
|
}
|