diff --git a/pages/ProductManage/SboProcess.vue b/pages/ProductManage/SboProcess.vue
index 088c4f6..2b53d97 100644
--- a/pages/ProductManage/SboProcess.vue
+++ b/pages/ProductManage/SboProcess.vue
@@ -18,8 +18,8 @@
@@ -112,6 +112,9 @@
created () {
this._queryRawFoilList()
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
searchList () {
this.pkId = ''
diff --git a/pages/SecondPhase/point/ErrorOutUnlock.vue b/pages/SecondPhase/point/ErrorOutUnlock.vue
index eb51d9e..2014c2d 100644
--- a/pages/SecondPhase/point/ErrorOutUnlock.vue
+++ b/pages/SecondPhase/point/ErrorOutUnlock.vue
@@ -8,7 +8,7 @@
木箱
-
@@ -44,6 +44,9 @@
disabled1: false
};
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
},
diff --git a/pages/SecondPhase/production/SboProcess.vue b/pages/SecondPhase/production/SboProcess.vue
index 3a2b8ff..c81be27 100644
--- a/pages/SecondPhase/production/SboProcess.vue
+++ b/pages/SecondPhase/production/SboProcess.vue
@@ -20,8 +20,8 @@
@@ -126,6 +126,9 @@
created () {
// this._queryRawFoilList()
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
searchList () {
this.pkId = ''
diff --git a/pages/WarehouseManage/CustomerLabelPrint.vue b/pages/WarehouseManage/CustomerLabelPrint.vue
index a118100..580cb91 100644
--- a/pages/WarehouseManage/CustomerLabelPrint.vue
+++ b/pages/WarehouseManage/CustomerLabelPrint.vue
@@ -9,8 +9,8 @@
@@ -77,6 +77,9 @@
disabled2: false
};
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange (e) {
this._customerInfo(e)
diff --git a/pages/WarehouseManage/ErrorOutUnlock.vue b/pages/WarehouseManage/ErrorOutUnlock.vue
index eb51d9e..2014c2d 100644
--- a/pages/WarehouseManage/ErrorOutUnlock.vue
+++ b/pages/WarehouseManage/ErrorOutUnlock.vue
@@ -8,7 +8,7 @@
木箱
-
@@ -44,6 +44,9 @@
disabled1: false
};
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
},
diff --git a/pages/WarehouseManage/ProdDelivery.vue b/pages/WarehouseManage/ProdDelivery.vue
index 2f49e01..e4a7567 100644
--- a/pages/WarehouseManage/ProdDelivery.vue
+++ b/pages/WarehouseManage/ProdDelivery.vue
@@ -8,7 +8,7 @@
木箱
-
@@ -95,6 +95,9 @@
created () {
this._stivtQuery(this.val1, this.val2)
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
this._stivtQuery(e, this.val2)
diff --git a/pages/WarehouseManage/XuniDelivery.vue b/pages/WarehouseManage/XuniDelivery.vue
index 2966c3c..c8f56e2 100644
--- a/pages/WarehouseManage/XuniDelivery.vue
+++ b/pages/WarehouseManage/XuniDelivery.vue
@@ -8,7 +8,7 @@
木箱
-
@@ -84,6 +84,9 @@
this._virtualbillQuery(this.val1, this.val2)
this._virtualbillType()
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
this._virtualbillQuery(e, this.val2)
diff --git a/pages/WarehouseManage/XuniDeliveryConfirm.vue b/pages/WarehouseManage/XuniDeliveryConfirm.vue
index c9c1991..8644e52 100644
--- a/pages/WarehouseManage/XuniDeliveryConfirm.vue
+++ b/pages/WarehouseManage/XuniDeliveryConfirm.vue
@@ -9,7 +9,7 @@
-
@@ -77,7 +77,6 @@
},
data() {
return {
- focusedStatus: true,
val1: '',
val2: '',
billCode: '',
@@ -90,6 +89,9 @@
this.billCode = option.billcode
this._virtualivtQuery()
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
this._virtualivtQuery()
@@ -109,7 +111,6 @@
this.net_weight_num = res.net_weight_num
},
async _virtualoutConfirm () {
- this.focusedStatus = false
if (!this.dataList.length) {
return
}
@@ -124,7 +125,7 @@
title: res.message,
icon: 'none'
})
- this.focusedStatus = true
+ this.$refs.scanChild.handleFocus()
} catch (e) {
this.disabled1 = false
}