From 4b558ba646204164d2aa8eebd9f4ef6fc11a3bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Mon, 28 Oct 2024 10:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E8=BF=9B=E5=85=88=E5=87=BA=E5=8F=91?= =?UTF-8?q?=E6=96=99=E5=8A=A0=E6=8F=90=E7=A4=BA=202024/8/6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/record/issueRecord.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/issue/record/issueRecord.vue b/src/pages/issue/record/issueRecord.vue index c2936d30..1451331e 100644 --- a/src/pages/issue/record/issueRecord.vue +++ b/src/pages/issue/record/issueRecord.vue @@ -203,7 +203,13 @@ export default { that.recommendList.forEach((r) => (r.locationCode = r.fromLocationCode)) const recommendInfo = res.data[0] if (recommendInfo.batch != result.package.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) }