From d55f094797f9a3552c4d196f69ae188e1222b7a6 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 11 五月 2024 16:29:48 +0800
Subject: [PATCH] 修改

---
 src/views/technology/routing/index.vue |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/views/technology/routing/index.vue b/src/views/technology/routing/index.vue
index b89b89b..d281799 100644
--- a/src/views/technology/routing/index.vue
+++ b/src/views/technology/routing/index.vue
@@ -464,7 +464,8 @@
         text: '鎵归噺鍒犻櫎',
         type:'primary',
         disabled: false,
-        fun: ()=>{this.copyRouting()},
+        permitArr: [],
+        fun: ()=>{this.deleteAll()},
       })
     }
     if(this.permissions.technology_routing_del){
@@ -483,6 +484,17 @@
     }
     this.getBomTypeDbOptions()
   },
+  watch:{
+    multipleSelection(newVal){
+      if(newVal.length==0){
+        this.table.toolbar.forEach(ele=>{
+          if(ele.text=='鎷掔粷' || ele.text=='鎵瑰噯' || ele.text=='鎾ゅ洖'){
+            ele.disabled = true
+          }
+        })
+      }
+    }
+  },
   methods: {
     getData() {
       if (this.$refs.routingTable !== undefined) {

--
Gitblit v1.9.3