diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue index 9cdc562b..b0559bff 100644 --- a/src/pages/inventoryMove/coms/comMoveRecord.vue +++ b/src/pages/inventoryMove/coms/comMoveRecord.vue @@ -305,7 +305,9 @@ } this.$refs.comMessage.showErrorMessage(message, res => { if (res) { - + if (this.$refs.scanPopup) { + this.$refs.scanPopup.packGetFocus() + } } }); }, @@ -393,8 +395,8 @@ this.dataContent.subList.forEach(res => { if (res.fromLocationCode == res.toLocationCode) { if (res.fromInventoryStatus == res.toInventoryStatus) { - var resultHint = res.fromPackingNumber?`包装号【${res.fromPackingNumber}】`:"" - hint += resultHint+`来源库位与目标库位 来源状态与目标状态一致,不可以提交\n` + var resultHint = res.fromPackingNumber ? `包装号【${res.fromPackingNumber}】` : "" + hint += resultHint + `来源库位与目标库位 来源状态与目标状态一致,不可以提交\n` } } })