From 7bccb4b2b3078d2f2463b25e70a9639b39f2db94 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 13 五月 2025 16:19:38 +0800
Subject: [PATCH] 采购台账-联调

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

diff --git a/src/views/basicData/customerFile/index.vue b/src/views/basicData/customerFile/index.vue
index 1a2b476..827b8e9 100644
--- a/src/views/basicData/customerFile/index.vue
+++ b/src/views/basicData/customerFile/index.vue
@@ -105,7 +105,7 @@
 const tableColumn = ref([
   {
     label: '瀹㈡埛鍚嶇О',
-    prop: 'customerName'
+    prop: 'customerName',
   },
   {
     label: '绾崇◣浜鸿瘑鍒爜',
@@ -134,6 +134,7 @@
   {
     dataType: "action",
     label: "鎿嶄綔",
+    align: 'center',
     operation: [
       {
         name: "缂栬緫",
@@ -281,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