From ef4e46f182aee6253805e66286dee847c573cbde Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 22 五月 2024 17:18:34 +0800 Subject: [PATCH] 完成原材料、产品检验、过程检,包装检键盘切换输入框 --- src/views/quality/rawMaterial/index.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue index afa8ac8..1152cfb 100644 --- a/src/views/quality/rawMaterial/index.vue +++ b/src/views/quality/rawMaterial/index.vue @@ -285,17 +285,19 @@ }) } - this.table.operator = [{ - text: '瀹℃牳', - type: 'text', - size: 'small', - fun: this.examineHandle, - showFun: (row)=>{return row.type==='棣栨'}, - show: { - key: 'checkState', - val: ['0'] - } - }] + if(this.permissions.quality_rawMaterial_check){ + this.table.operator = [{ + text: '瀹℃牳', + type: 'text', + size: 'small', + fun: this.examineHandle, + showFun: (row)=>{return row.type==='棣栨'&& row.insState==='1'}, + show: { + key: 'checkState', + val: ['0','2'] + } + }] + } if(this.permissions.quality_rawMaterial_del){ this.table.operator.push({ text: '浣滃簾', -- Gitblit v1.9.3