From a7d816c40f5035c3ae4ddffc32ed80d3c55e3f4f Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 08 三月 2024 17:11:52 +0800 Subject: [PATCH] 原材料检验:检测值失焦保存 --- src/views/plan/customerorder/index.vue | 32 ++++++++++++++++++-------------- 1 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index d87d035..4ba8c0f 100644 --- a/src/views/plan/customerorder/index.vue +++ b/src/views/plan/customerorder/index.vue @@ -1036,20 +1036,24 @@ permitArr: [], }) } - this.table.toolbar.push({ - text: '涓嬭浇宸ヨ壓鏂囦欢', - disabled: false, - type: 'primary', - fun: this.downloadWord, - permitArr: ['03plan','04planed'], - }) - this.table.toolbar.push({ - text: '涓嬭浇鎺掍骇鍗�', - disabled: false, - type: 'primary', - permitArr: [], - fun: this.downloadProductionScheduling, - }) + if(this.permissions.plan_download_process_file){ + this.table.toolbar.push({ + text: '涓嬭浇宸ヨ壓鏂囦欢', + disabled: false, + type: 'primary', + fun: this.downloadWord, + permitArr: ['03plan','04planed'], + }) + } + if(this.permissions.plan_download_product_file){ + this.table.toolbar.push({ + text: '涓嬭浇鎺掍骇鍗�', + disabled: false, + type: 'primary', + permitArr: [], + fun: this.downloadProductionScheduling, + }) + } this.table.toolbar.push({ text: '鍏宠仈璁㈠崟', disabled: false, -- Gitblit v1.9.3