From e54282e04b21db13524d533d7f9dca95a0cbc6a0 Mon Sep 17 00:00:00 2001 From: zelian_wu Date: Thu, 18 Jan 2024 10:33:11 +0800 Subject: [PATCH] =?UTF-8?q?2024-1-18=20=E6=B5=8B=E8=AF=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E6=89=93=E6=A0=B7=E7=AE=A1=E7=90=86=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=8D=95=E9=80=89=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/proofing/requestForProofing.vue | 6 ++++++ src/views/modules/quotation/requestForQuote.vue | 6 ++++++ src/views/modules/test/requestForTest.vue | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index be80772..7a447e9 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -85,6 +85,7 @@ :height="height" :data="dataList" border + :row-style="rowStyle" ref="proofingTable" @row-click="proofingClickRow" @selection-change="selectionProofing" @@ -2786,6 +2787,11 @@ customerId:undefined, } }, + rowStyle({row}){ + if (this.proofingCurrentRow.proofingNo === row.proofingNo) { + return { 'background-color': '#E8F7F6', cursor: 'pointer' }; + } + }, } } diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index 596de72..36f39f9 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -91,6 +91,7 @@ :height="height" :data="dataList" border + :row-style="rowStyle" ref="quotationTable" @row-click="quotationClickRow" @selection-change="selectionQuotation" @@ -2754,6 +2755,11 @@ return false } }, + rowStyle({row}){ + if (this.quotationCurrentRow.quotationNo === row.quotationNo) { + return { 'background-color': '#E8F7F6', cursor: 'pointer' }; + } + }, } } diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index c08c695..ca5d507 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -85,6 +85,7 @@ :height="height" :data="dataList" border + :row-style="rowStyle" ref="testTable" @row-click="testClickRow" @selection-change="selectionTest" @@ -2591,6 +2592,11 @@ customerId:undefined, } }, + rowStyle({row}){ + if (this.testCurrentRow.testNo === row.testNo) { + return { 'background-color': '#E8F7F6', cursor: 'pointer' }; + } + }, } }