|
@@ -111,7 +111,6 @@ export default {
|
|
|
this.$refs.modalFormComp.resetFields();
|
|
|
},
|
|
|
codeStartInputHandle() {
|
|
|
- console.log("start");
|
|
|
if (this.modalForm.packageCodeStart.endsWith("\n")) {
|
|
|
this.$refs.CodeEndRef.select();
|
|
|
}
|
|
@@ -123,9 +122,9 @@ export default {
|
|
|
if (this.isSubmit) return;
|
|
|
this.isSubmit = true;
|
|
|
const res = await updateBarCodeCheck(this.modalForm).catch(() => {
|
|
|
- this.$refs.CodeStartRef.select();
|
|
|
this.modalForm.packageCodeEnd = "";
|
|
|
});
|
|
|
+ this.$refs.CodeStartRef.select();
|
|
|
this.isSubmit = false;
|
|
|
if (!res) return;
|
|
|
|