From ef4e46f182aee6253805e66286dee847c573cbde Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 22 五月 2024 17:18:34 +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