diff --git a/pages/WarehouseManage/ProdDeliveryConfirm.vue b/pages/WarehouseManage/ProdDeliveryConfirm.vue index fd6bfef..3260500 100644 --- a/pages/WarehouseManage/ProdDeliveryConfirm.vue +++ b/pages/WarehouseManage/ProdDeliveryConfirm.vue @@ -47,6 +47,7 @@ + @@ -89,23 +90,35 @@ 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) this.disabled1 = false this.val1 = '' - this.focusedStatus = true this._stivtDtlQuery() uni.showToast({ title: res.message, icon: 'none' }) + this.focusedStatus = true } catch (e) { this.disabled1 = false } diff --git a/pages/WarehouseManage/XuniDeliveryConfirm.vue b/pages/WarehouseManage/XuniDeliveryConfirm.vue index f0689cf..9e5e301 100644 --- a/pages/WarehouseManage/XuniDeliveryConfirm.vue +++ b/pages/WarehouseManage/XuniDeliveryConfirm.vue @@ -109,6 +109,7 @@ this.net_weight_num = res.net_weight_num }, async _virtualoutConfirm () { + this.focusedStatus = false if (!this.dataList.length) { return } @@ -118,12 +119,12 @@ this.disabled1 = false this.val1 = '' this.val2 = '' - this.focusedStatus = true this._virtualivtQuery() uni.showToast({ title: res.message, icon: 'none' }) + this.focusedStatus = true } catch (e) { this.disabled1 = false }