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 { - +