From 18ea5561db1c7d8495325366675d4c3c1994dc7e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 23 一月 2024 18:03:45 +0800
Subject: [PATCH] 产品检验报告下载

---
 src/views/quality/rawMaterial/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue
index 063bb40..ecdd037 100644
--- a/src/views/quality/rawMaterial/index.vue
+++ b/src/views/quality/rawMaterial/index.vue
@@ -375,7 +375,9 @@
             this.$router.push({
                 name: 'rawMaterialForm',
                 query: {
-                    id: row == null ? null : row.id,
+                    id: row == null ? null : row.id
+                 },
+                 params: {
                     resultVal: row == null ? null : row.judgeState
                  }
             })
@@ -389,7 +391,7 @@
             }
         },
         formatJudgeState(row, column, cellValue){
-            if(cellValue != undefined || cellValue != null){
+            if(cellValue != undefined && cellValue != null && cellValue != ''){
                 if(cellValue == 0){
                     return "<span style='color:#E84738;'>涓嶅悎鏍�</span>"
                 }

--
Gitblit v1.9.3