From aeec7bf8c35d9db22465875da39929ebebf55e1a Mon Sep 17 00:00:00 2001
From: hayu <1604366271@qq.com>
Date: Mon, 1 Sep 2025 14:13:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 src/views/material/lease/apply/component/addToolsApply.vue | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue
index 072e49a9..273cf123 100644
--- a/src/views/material/lease/apply/component/addToolsApply.vue
+++ b/src/views/material/lease/apply/component/addToolsApply.vue
@@ -257,6 +257,7 @@
       />
       
       
+      
       
         
            this.equipmentList[i].storageNum){
-                  this.$message.error(`第 ${i + 1} 行的 ${'预领数量不可大于库存量'} `);
+                if(this.equipmentList[i].storageNum-this.equipmentList[i].pendingOutNum this.equipmentList[i].storageNum){
+                  this.$message.error(`第 ${i + 1} 行的 ${'预领数量不可大于可领数量'} `);
                   return
                 }
               }