From 9af9bb8ce10c90aad33d41508f3c829810721ec5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 16 五月 2025 16:31:37 +0800
Subject: [PATCH] 付款台账-前端开发联调

---
 src/views/basicData/customerFile/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 6bfd099..49ddc7b 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -20,7 +20,7 @@
     </div>
   </div>
   <div class="table_list">
-    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :handleSelectionChange="handleSelectionChange"
+    <PIMTable :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true" :handleSelectionChange="handleSelectionChange"
               :tableLoading="tableLoading" @pagination="pagination" :total="total"></PIMTable>
   </div>
   <el-dialog v-model="dialogFormVisible" :title="operationType === 'add' ? '鏂板瀹㈡埛淇℃伅' : '缂栬緫瀹㈡埛淇℃伅'" width="70%" @close="closeDia">
@@ -282,16 +282,19 @@
   }
   ElMessageBox.confirm(
       '閫変腑鐨勫唴瀹瑰皢琚垹闄わ紝鏄惁纭鍒犻櫎锛�',
-      '瀵煎嚭', {
+      '鍒犻櫎鎻愮ず', {
         confirmButtonText: '纭',
         cancelButtonText: '鍙栨秷',
         type: 'warning',
       }
   ).then(() => {
+    tableLoading.value = true
     delCustomer(ids).then(res => {
       proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛")
+      getList()
+    }).finally(() => {
+      tableLoading.value = false
     })
-    getList()
   }).catch(() => {
     proxy.$modal.msg("宸插彇娑�")
   })

--
Gitblit v1.9.3