From 781c35e45939b7f211b59834c65799d6c336e9d1 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 27 Mar 2025 14:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=B8=8A=E6=9E=B6=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue index 992cfbff71..10dd7f0b36 100644 --- a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue +++ b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue @@ -222,7 +222,7 @@ export default { this.formobj.list.splice(index, 1) }, inputCount(row) { - if (row.count !== '' && row.maxCount !== '' && parseFloat(row.count) - parseFloat(row.maxCount) < 0) { + if (row.count !== '' && row.maxCount !== '' && parseFloat(row.count) - parseFloat(row.maxCount) > 0) { row.count = row.maxCount } }