From f025ee1d49d00544c37508c9004d3b568030f23f Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Tue, 6 Aug 2024 15:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=AF=E5=90=A6=E7=BB=A7=E7=BB=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/repleinsh/record/repleinshRecord.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pages/repleinsh/record/repleinshRecord.vue b/src/pages/repleinsh/record/repleinshRecord.vue index 7cd3b6c2..c7378cfe 100644 --- a/src/pages/repleinsh/record/repleinshRecord.vue +++ b/src/pages/repleinsh/record/repleinshRecord.vue @@ -259,8 +259,15 @@ that.recommendList.forEach(r => r.locationCode = r.fromLocationCode) let recommendInfo = res.data[0]; if (recommendInfo.batch != result.package.batch) { - that.showErrorMessage('扫描的批次【' + result.package.batch + '】,不是系统推荐的批次【' + - recommendInfo.batch + '】,不满足系统的先进先出规则,请重新扫描'); + // that.showErrorMessage('扫描的批次【' + result.package.batch + '】,不是系统推荐的批次【' + + // recommendInfo.batch + '】,不满足系统的先进先出规则,请重新扫描'); + that.$refs.comMessage.showQuestionMessage('扫描的批次【' + result.package.batch + '】,不是系统推荐的批次【' + + recommendInfo.batch + '】,不满足系统的先进先出规则,'+'是否继续?', + res => { + if(res){ + this.setData(result); + } + }) } else { this.setData(result); }