diff --git a/src/pages/productionReturn/job/returnDetail.vue b/src/pages/productionReturn/job/returnDetail.vue index 3314d567..c3632140 100644 --- a/src/pages/productionReturn/job/returnDetail.vue +++ b/src/pages/productionReturn/job/returnDetail.vue @@ -29,7 +29,7 @@ - @@ -425,13 +425,20 @@ var isPass = true; if (this.toLocationCode == "" || this.toLocationCode == null) { this.showMessageHint('请扫描收货库位', callback => { - this.$refs.comScanLocation.showLocation(); + this.$refs.locationCompare.showLocation(); }) return isPass = false; } return isPass; }, + showMessageHint(hint, callback) { + this.$refs.comMessage.showErrorMessage(hint, res => { + if (res) { + callback() + } + }); + }, showMessage(message) { setTimeout(r => {