From 8cae1dcd8d2bde01880ac4b70bdda4e61df3c7ef Mon Sep 17 00:00:00 2001
From: YangYuGang <1378265336@qq.com>
Date: 星期六, 08 三月 2025 12:46:26 +0800
Subject: [PATCH] 送货单(U9)

---
 src/views/tigerprojects/mes/eng/routelist/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/tigerprojects/mes/eng/routelist/index.vue b/src/views/tigerprojects/mes/eng/routelist/index.vue
index 5af5cea..c5ae85e 100644
--- a/src/views/tigerprojects/mes/eng/routelist/index.vue
+++ b/src/views/tigerprojects/mes/eng/routelist/index.vue
@@ -2,7 +2,7 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button type="primary" @click="handleCreate"> 鏂板宸ヨ壓璺嚎 </a-button>
+        <a-button type="primary" @click="handleCreate" preIcon="add_02|svg"> 鏂板 </a-button>
       </template>
       <template #action="{ record }">
         <TableAction
@@ -10,10 +10,12 @@
             {
               icon: 'clarity:note-edit-line',
               onClick: handleEdit.bind(null, record),
+              name: undefined,
             },
             {
               icon: 'gphDesign|svg',
               onClick: handleDesign.bind(null, record),
+              name: undefined,
             },
             {
               icon: 'ant-design:delete-outlined',
@@ -23,6 +25,7 @@
                 placement: 'left',
                 confirm: handleDelete.bind(null, record),
               },
+              name: undefined,
             },
           ]"
         />
@@ -84,7 +87,7 @@
       go('/RouteDetail/' + record.ID);
     } else {
       createErrorModal({
-        title: t('鎻愮ず'),
+        title: t('璀﹀憡'),
         content: t('宸ヨ壓璺嚎鏈惎鐢ㄤ笉鑳借璁�'),
         getContainer: () => document.body,
       });
@@ -94,7 +97,7 @@
   function handleDelete(record: Recordable) {
     console.log(record);
     //鍒犻櫎宸ヨ壓璺嚎
-    const apiAction = DeleteRoute(record);
+    const apiAction = DeleteRoute(record.ID);
     apiAction.then((action) => {
       if (action.IsSuccessed) {
         reload();

--
Gitblit v1.9.3