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) {