Commit e7918d9a by liwk

commit

1 parent 30d77a33
......@@ -14,6 +14,7 @@
size="medium"
:show-summary="tableParams.showSummary"
:summary-method="tableParams.summaryMethod"
:row-class-name="tableParams.rowClassName"
>
<el-table-column
v-if="tableParams.mutiSelectUniqueKey && tableParams.mutiSelectName"
......
......@@ -6,6 +6,9 @@ export default {
carTableData: [],
carTableParams: {
tableOption: true,
rowClassName: ({ row, rowIndex }) => {
return row.status == 0 ? 'opacity' : ''
},
tableColumns: [{
label: '权益名称',
prop: 'equityName',
......
......@@ -9,6 +9,9 @@ export default {
tags: [],
goodsTableData: [],
goodsTableParams: {
rowClassName: ({ row, rowIndex }) => {
return row.status == 0 ? 'opacity' : ''
},
tableOption: true,
tableColumns: [{
label: '权益名称',
......
......@@ -258,4 +258,7 @@ export default {
width: 40px;
height: 40px;
}
.opacity {
opacity: 0.5;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!