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,