|
|
|
@ -1877,16 +1877,15 @@ export default {
|
|
|
|
|
this.codeFormData.code = response.data.code
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
this.addCode()
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
if (response.code == 502) {
|
|
|
|
|
this.checkSuccess = false
|
|
|
|
|
this.isSuccess = false
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|
// this.scanCode = ''
|
|
|
|
|
this.printCodeResult(response.data)
|
|
|
|
|
this.codeFormData.code = response.data.code
|
|
|
|
|
this.originCode = this.codeFormData.code
|
|
|
|
|
this.originCode = ""
|
|
|
|
|
// this.originCode = ""
|
|
|
|
|
} else if (response.code == 501) {
|
|
|
|
|
this.checkSuccess = false
|
|
|
|
|
this.scanCode = ''
|
|
|
|
|