From ec0f0461ddcb28a4cee9ae862d0db6906bf74869 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Wed, 24 Sep 2025 08:55:51 +0800 Subject: [PATCH] convFactor !== 1 --- src/views/modules/recv/recv.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/modules/recv/recv.vue b/src/views/modules/recv/recv.vue index b95f4f7..f7f2055 100644 --- a/src/views/modules/recv/recv.vue +++ b/src/views/modules/recv/recv.vue @@ -199,6 +199,9 @@ export default { if (row.status === 'Stopped' || row.status === 'Closed' || row.status === 'Cancelled') { return this.$message.warning("该采购订单行状态为"+row.status+",无法接收"); } + if (row.convFactor !== 1) { + return this.$message.warning("采购计量单位和库存计量单位不一致,无法接收"); + } // 获取下一个itemNo let nextItemNo = 1;