|
|
@ -194,7 +194,7 @@ export default {
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
this.$refs.inputRef.focus();
|
|
|
|
this.$refs.inputRef.select();
|
|
|
|
this.$refs.inputRef.select();
|
|
|
|
this.udiCode = response.data;
|
|
|
|
this.udiCode = response.data;
|
|
|
|
this.addCode();
|
|
|
|
this.addCode(event);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (response.code == 502) {
|
|
|
|
if (response.code == 502) {
|
|
|
|
this.checkSuccess = false;
|
|
|
|
this.checkSuccess = false;
|
|
|
@ -241,7 +241,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
addCode() {
|
|
|
|
addCode(event) {
|
|
|
|
if (this.$isBlank(this.udiCode)) {
|
|
|
|
if (this.$isBlank(this.udiCode)) {
|
|
|
|
this.$message.error("UDI码不能为空!");
|
|
|
|
this.$message.error("UDI码不能为空!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|