From c30b850bdf5c48a2279f293d414850c32501192a Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 29 四月 2024 16:25:25 +0800
Subject: [PATCH] 修改首页样式

---
 src/views/quality/processconfiguration/index.vue |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/src/views/quality/processconfiguration/index.vue b/src/views/quality/processconfiguration/index.vue
index d6d25d3..11b510d 100644
--- a/src/views/quality/processconfiguration/index.vue
+++ b/src/views/quality/processconfiguration/index.vue
@@ -139,6 +139,15 @@
             // render: { fun: this.addOrUpdateHandle }
               }
           },
+          // 妫�楠岀紪鍙�
+          {
+            minWidth: '140',
+            prop: 'inspectNo',
+            label: '妫�楠岀紪鍙�',
+            isTrue: true,
+            isSearch: true,
+            searchInfoType: 'text',
+          },
           // 浜у搧鍚嶇О
           {
             minWidth: '140',
@@ -281,7 +290,7 @@
         }
       },
       materialType: [{label:'鍘熸潗鏂欐楠�',value:'鍘熸潗鏂欐楠�'},{label:'杩囩▼妫�楠�',value:'杩囩▼妫�楠�'},{label:'浜у搧妫�楠�',value:'浜у搧妫�楠�'},{label:'鍖呰妫�楠�',value:'鍖呰妫�楠�'}],
-      StateList: [{label:'鍏ㄩ儴',value:''},{label:'宸叉彁浜ゅ鏍�',value:'1'},{label:'寰呭鐞�',value:'0'},{label:'宸插鐞�',value:'2'}],
+      StateList: [{label:'鍏ㄩ儴',value:''},{label:'宸叉彁浜ゅ鏍�',value:'1'},{label:'寰呭鐞�',value:'0'},{label:'宸插畬鎴�',value:'2'}],
       insStateList: [{label:'鍏朵粬',value:''},{label:'鐟曠柕',value:'1'}],
     }
   },
@@ -304,7 +313,7 @@
             fun: this.Submitreview,
             show: {
                 key: 'state',
-                val: ['0']
+                val: [0]
             }
           })
     }
@@ -313,7 +322,8 @@
             text: '瀹℃牳缁撴灉',
             type: 'text',
             size: 'small',
-            fun: this.AuditResult
+            fun: this.AuditResult,
+            showFun: (row)=>{return row.type != '鍘熸潗鏂欐楠�'}
           })
     }
     this.table.operator = arr.length>0 ? arr : null
@@ -384,7 +394,7 @@
                   return "<span style='color:#34BD66;'>宸叉彁浜ゅ鏍�</span>"
                 }
                 if(cellValue == 2){
-                  return "<span style='color:#34BD66;'>宸插鐞�</span>"
+                  return "<span style='color:#34BD66;'>宸插畬鎴�</span>"
                 }
             }
         },

--
Gitblit v1.9.3