Commit ba444810 authored by Hagsn3's avatar Hagsn3

提交代码

parent de616fdf
...@@ -291,6 +291,9 @@ export default { ...@@ -291,6 +291,9 @@ export default {
this.$message.success('保存成功') this.$message.success('保存成功')
this.resetForm() this.resetForm()
this.getOrderCode() this.getOrderCode()
this.$nextTick().then(() => {
this.$refs.input1.focus()
})
} }
}) })
} }
...@@ -347,6 +350,9 @@ export default { ...@@ -347,6 +350,9 @@ export default {
} }
this.responsePn = '' this.responsePn = ''
this.getWarehouseList() this.getWarehouseList()
this.$nextTick().then(() => {
this.$refs.input1.focus()
})
}, },
validatorQty(rule, value, callback) { validatorQty(rule, value, callback) {
const reg = /^[1-9]\d*$/ // 正整数的正则表达式 const reg = /^[1-9]\d*$/ // 正整数的正则表达式
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment