diff --git a/pages/WarehouseManage/ProdDeliveryConfirm.vue b/pages/WarehouseManage/ProdDeliveryConfirm.vue
index 265fcf8..a26510c 100644
--- a/pages/WarehouseManage/ProdDeliveryConfirm.vue
+++ b/pages/WarehouseManage/ProdDeliveryConfirm.vue
@@ -8,7 +8,7 @@
木箱
-
@@ -65,7 +65,6 @@
},
data() {
return {
- focusedStatus: true,
val1: '',
billCode: '',
dataList: [],
@@ -76,6 +75,9 @@
this.billCode = option.billcode
this._stivtDtlQuery()
},
+ mounted () {
+ this.$refs.scanChild.handleFocus()
+ },
methods: {
handleChange1 (e) {
this._stivtDtlQuery()
@@ -90,24 +92,12 @@
url: '/pages/WarehouseManage/ProdDeliveryDtl?boxno=' + code + '&billcode=' + this.billCode
})
},
- // handleTest () {
- // this.focusedStatus = false
- // this.val1 = ''
- // setTimeout(()=>{
- // uni.showToast({
- // title: 'toast',
- // icon: 'none'
- // })
- // this.focusedStatus = true
- // },3000)
- // },
/** 初始化查询 */
async _stivtDtlQuery () {
let res = await stivtDtlQuery(this.val1, this.billCode)
this.dataList = [...res.data]
},
async _stoutConfirm () {
- this.focusedStatus = false
this.disabled1 = true
try {
let res = await stoutConfirm(this.val1)
@@ -118,7 +108,7 @@
title: res.message,
icon: 'none'
})
- this.focusedStatus = true
+ this.$refs.scanChild.handleFocus()
} catch (e) {
this.disabled1 = false
}