From f980b32cd6d51f2208e07d44014fe6b605533b23 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 11 四月 2024 14:30:10 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before into master

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