From 61d25ed2d6dd21ccf80b54153761ed49ef479a4a Mon Sep 17 00:00:00 2001 From: fanfan Date: Wed, 29 May 2024 16:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataCenter/goods/Index.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/views/dataCenter/goods/Index.vue b/src/views/dataCenter/goods/Index.vue index a03a730..9939aef 100644 --- a/src/views/dataCenter/goods/Index.vue +++ b/src/views/dataCenter/goods/Index.vue @@ -946,9 +946,6 @@ export default { if (row < 0) { this.$message.error('金额不能小于0') this.batchRate = '' - } else if (row.startsWith('0')) { - this.batchRate = '' - // 金额小数部分不能超过2位 } else if (!/^\d+(\.\d{1,2})?$/.test(row)) { this.$message.error('请输入数字!') this.batchRate = ''