From 16f6a44486fc2f544dbd6e2b7e3576b3caef35fc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 19 一月 2026 13:32:10 +0800
Subject: [PATCH] 湟水峡 1.新增入职报错

---
 src/views/procurementManagement/invoiceEntry/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue
index 3d34f26..3649d7e 100644
--- a/src/views/procurementManagement/invoiceEntry/index.vue
+++ b/src/views/procurementManagement/invoiceEntry/index.vue
@@ -199,11 +199,11 @@
 };
 
 const handleAdd = (type) => {
-  if (selectedRows.value.length !== 1) {
-    proxy.$modal.msgWarning("璇峰厛閫変腑涓�鏉℃暟鎹�");
+  if (selectedRows.value.length < 1) {
+    proxy.$modal.msgWarning("璇疯嚦灏戦�変腑涓�鏉℃暟鎹�");
     return;
   }
-  modalRef.value.open(type, selectedRows.value[0].id);
+  modalRef.value.open(type, selectedRows.value);
 };
 
 const handleEdit = (type, id) => {

--
Gitblit v1.9.3