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