From 0a91d2d5b91574327a0c1c4f2addc7c36cc0c98b Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期四, 28 十二月 2023 14:19:07 +0800 Subject: [PATCH] modified: src/views/warehouse/pallettransports/index.vue --- 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