From 154ef0e4c3dbb483d55e9b2b242021f627bee451 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 26 十二月 2023 09:45:16 +0800 Subject: [PATCH] modified: src/views/technology/document/index.vue modified: src/views/technology/routing/index.vue --- src/views/technology/routing/index.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/views/technology/routing/index.vue b/src/views/technology/routing/index.vue index b89b89b..ba7ee5c 100644 --- a/src/views/technology/routing/index.vue +++ b/src/views/technology/routing/index.vue @@ -464,6 +464,7 @@ text: '鎵归噺鍒犻櫎', type:'primary', disabled: false, + permitArr: [], fun: ()=>{this.copyRouting()}, }) } @@ -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