From 617d2ad422a2ae5badc0572b06f33c2791cb95ad Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 29 十二月 2023 14:38:45 +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