From d49f39681a68fd819ac687d67b6352ba386d0d13 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 25 四月 2024 12:12:08 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before into master --- 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