From 651daad7db21df377eecb8b412a30e60e8de23e4 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 21 Nov 2024 09:32:45 +0800 Subject: [PATCH] =?UTF-8?q?11/21=20=E5=99=A8=E6=A2=B0=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E4=B8=8B=E7=BA=A7=E6=95=B0=E9=87=8F=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/productEdit.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/basic/product/productEdit.vue b/src/views/basic/product/productEdit.vue index d34ac810..28cea603 100644 --- a/src/views/basic/product/productEdit.vue +++ b/src/views/basic/product/productEdit.vue @@ -1727,6 +1727,14 @@ export default { this.$message.error('层级单位不能为空') return } + if (isBlank(row.bhxjsl) || row.bhxjsl == 0) { + this.$message.error('请输入下级数量') + return + } + if ( row.bhxjsl < 0) { + this.$message.error('下级数量不能为负') + return + } let editQuery = { nameCode: row.nameCode, packLevel: row.packLevel,