王震
2024-01-25 36653c98622c8a74cb850575b2001457121b794c
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
                 }
            })
@@ -391,7 +393,6 @@
        formatJudgeState(row, column, cellValue){
            if(cellValue != undefined && cellValue != null && cellValue != ''){
                if(cellValue == 0){
                    console.log(cellValue);
                    return "<span style='color:#E84738;'>不合格</span>"
                }
                return "<span style='color:#34BD66;'>合格</span>"