Browse Source

2024-1-18 测试管理,打样管理表格单选样式

master
zelian_wu 2 years ago
parent
commit
e54282e04b
  1. 6
      src/views/modules/proofing/requestForProofing.vue
  2. 6
      src/views/modules/quotation/requestForQuote.vue
  3. 6
      src/views/modules/test/requestForTest.vue

6
src/views/modules/proofing/requestForProofing.vue

@ -85,6 +85,7 @@
:height="height" :height="height"
:data="dataList" :data="dataList"
border border
:row-style="rowStyle"
ref="proofingTable" ref="proofingTable"
@row-click="proofingClickRow" @row-click="proofingClickRow"
@selection-change="selectionProofing" @selection-change="selectionProofing"
@ -2786,6 +2787,11 @@
customerId:undefined, customerId:undefined,
} }
}, },
rowStyle({row}){
if (this.proofingCurrentRow.proofingNo === row.proofingNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
}
},
} }
} }
</script> </script>

6
src/views/modules/quotation/requestForQuote.vue

@ -91,6 +91,7 @@
:height="height" :height="height"
:data="dataList" :data="dataList"
border border
:row-style="rowStyle"
ref="quotationTable" ref="quotationTable"
@row-click="quotationClickRow" @row-click="quotationClickRow"
@selection-change="selectionQuotation" @selection-change="selectionQuotation"
@ -2754,6 +2755,11 @@
return false return false
} }
}, },
rowStyle({row}){
if (this.quotationCurrentRow.quotationNo === row.quotationNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
}
},
} }
} }
</script> </script>

6
src/views/modules/test/requestForTest.vue

@ -85,6 +85,7 @@
:height="height" :height="height"
:data="dataList" :data="dataList"
border border
:row-style="rowStyle"
ref="testTable" ref="testTable"
@row-click="testClickRow" @row-click="testClickRow"
@selection-change="selectionTest" @selection-change="selectionTest"
@ -2591,6 +2592,11 @@
customerId:undefined, customerId:undefined,
} }
}, },
rowStyle({row}){
if (this.testCurrentRow.testNo === row.testNo) {
return { 'background-color': '#E8F7F6', cursor: 'pointer' };
}
},
} }
} }
</script> </script>

Loading…
Cancel
Save