From 3f386968d4b5cbb002ad93483f86a5443159e18a Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期六, 08 二月 2025 09:54:32 +0800
Subject: [PATCH] 1.递交

---
 src/views/materialManager/inventoryList.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/materialManager/inventoryList.vue b/src/views/materialManager/inventoryList.vue
index 1324e8b..01f72aa 100644
--- a/src/views/materialManager/inventoryList.vue
+++ b/src/views/materialManager/inventoryList.vue
@@ -35,7 +35,7 @@
             @node-click="getTMaterielData"
           >
             <span slot-scope="{ node, data }" class="custom-tree-node">
-              <span v-if="!data.isEdit">{{ data.name }}</span>
+              <span v-if="!data.isEdit" class="ellipsis" style="width:150px;">{{ data.name }}</span>
               <span v-if="!data.isEdit">
                 <el-tooltip v-del-tab-index class="item" effect="dark" content="缂栬緫" placement="top">
                   <i
@@ -1185,7 +1185,7 @@
     },
     // 纭畾
     async routeDialogVisibleConfirm() {
-      if (this.defaultroute_code === null || this.defaultroute_code === 'null') {
+      if (!this.defaultroute_code || this.defaultroute_code === 'null') {
         return this.$message.info('榛樿宸ヨ壓璺嚎涓嶈兘涓虹┖锛�')
       }
 

--
Gitblit v1.9.3