From 36c83e777e50977590a07b641e5bf2cf8dedf1e0 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 22 一月 2024 10:04:27 +0800 Subject: [PATCH] 原材料 --- src/views/quality/rawMaterial/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue index 063bb40..4be4f40 100644 --- a/src/views/quality/rawMaterial/index.vue +++ b/src/views/quality/rawMaterial/index.vue @@ -389,8 +389,9 @@ } }, formatJudgeState(row, column, cellValue){ - if(cellValue != undefined || cellValue != null){ + if(cellValue != undefined && cellValue != null && cellValue != ''){ if(cellValue == 0){ + console.log(cellValue); return "<span style='color:#E84738;'>涓嶅悎鏍�</span>" } return "<span style='color:#34BD66;'>鍚堟牸</span>" -- Gitblit v1.9.3