From 7d15bcb5904341ea5f7738e42d89713bebcd96f7 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Fri, 16 May 2025 17:52:40 +0800 Subject: [PATCH] =?UTF-8?q?2025.05.15=20=E6=8A=A5=E4=BB=B7=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E8=AF=A6=E6=83=85=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/auth/authQuote.vue | 2 +- src/views/modules/quote/detail/quoteDetail.vue | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/modules/auth/authQuote.vue b/src/views/modules/auth/authQuote.vue index 11dc55b..3733a56 100644 --- a/src/views/modules/auth/authQuote.vue +++ b/src/views/modules/auth/authQuote.vue @@ -129,7 +129,7 @@ + width="1280px"> diff --git a/src/views/modules/quote/detail/quoteDetail.vue b/src/views/modules/quote/detail/quoteDetail.vue index 3f2de17..9a6334f 100644 --- a/src/views/modules/quote/detail/quoteDetail.vue +++ b/src/views/modules/quote/detail/quoteDetail.vue @@ -696,6 +696,19 @@ export default { this.$emit('close'); this.saveVisible = false }, + getHeaderStyle({ column }) { + console.log('1',column + '' + this.authFlag) + if (!this.authFlag) { + return {}; + } + // 需要橙色的字段列表 + const orangeProps = ['costModel', 'weighted', 'weighted2']; + return { + backgroundColor: orangeProps.includes(column.property) + ? 'rgb(210,113,44)' + : 'rgb(46,110,186)', + }; + }, toFixed(val,fixed){ if (!val || isNaN(val) || !fixed){ return val @@ -785,7 +798,8 @@ export default { - +