From 6011a52e1d8fc743056d265da4c5ccc66e5902e3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 10 七月 2025 15:26:00 +0800
Subject: [PATCH] 1.来票登记不要删除和导出

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

diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue
index e899511..6df2bb0 100644
--- a/src/views/procurementManagement/invoiceEntry/index.vue
+++ b/src/views/procurementManagement/invoiceEntry/index.vue
@@ -24,8 +24,8 @@
           <el-button type="primary" @click="handleAdd('add')">
             鏂板鐧昏
           </el-button>
-          <el-button @click="handleOut">瀵煎嚭</el-button>
-          <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>
+<!--          <el-button @click="handleOut">瀵煎嚭</el-button>-->
+<!--          <el-button type="danger" plain @click="handleDelete">鍒犻櫎</el-button>-->
         </div>
       </div>
       <PIMTable
@@ -186,8 +186,10 @@
 const handleDelete = () => {};
 
 const expandChange = async (row, expandedRows) => {
-  await nextTick();
-  expandTableRef.value.getList(row.id);
+  if (expandedRows.length > 0) {
+    await nextTick();
+    expandTableRef.value.getList(row.id);
+  }
 };
 
 const changePage = ({ page }) => {

--
Gitblit v1.9.3