From 760eb93ea0f99d0936ac5b6ab3dc054ab4df8fde Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 19 Jul 2024 15:48:06 +0800 Subject: [PATCH] =?UTF-8?q?0412=20=E6=96=B0=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/searchSfdc.vue | 119 ++++++++++++++------ 1 file changed, 83 insertions(+), 36 deletions(-) diff --git a/src/views/modules/production/searchSfdc.vue b/src/views/modules/production/searchSfdc.vue index 4e90e2a..4f293ef 100644 --- a/src/views/modules/production/searchSfdc.vue +++ b/src/views/modules/production/searchSfdc.vue @@ -75,39 +75,42 @@ - - - - - - - - +
+ + + + + + + + +
@@ -459,6 +462,40 @@ serialNumber: null, columnType: null, align: 'right' + }, { + tableId: "sfdcList", + tableName: this.$route.meta.title, + columnProp: "scrapRate", + columnLabel: "订单报废率", + columnHidden: false, + columnImage: false, + columnSortable: false, + columnWidth: 80, + format: null, + functionId: this.$route.meta.menuId, + sortLv: 0, + status: true, + fixed: '', + serialNumber: null, + columnType: null, + align: 'right' + }, { + tableId: "sfdcList", + tableName: this.$route.meta.title, + columnProp: "csysScrapRate", + columnLabel: "系统报废率", + columnHidden: false, + columnImage: false, + columnSortable: false, + columnWidth: 80, + format: null, + functionId: this.$route.meta.menuId, + sortLv: 0, + status: true, + fixed: '', + serialNumber: null, + columnType: null, + align: 'right' }, { tableId: "sfdcList", tableName: this.$route.meta.title, @@ -754,7 +791,14 @@ printTransNoLabel(inList); } }) - } + }, + tableRowClassName ({row, rowIndex}) { + + if ( row.csysScrapRate -