|
@@ -98,7 +98,7 @@ const renderContent = (value, row, index) => {
|
|
|
return {
|
|
|
children: retVal,
|
|
|
attrs: {
|
|
|
- style: 'font-weight: bold;'
|
|
|
+ style: 'font-weight: bold;color:red;font-size:14px;'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -178,7 +178,7 @@ export default {
|
|
|
width: '25%',
|
|
|
align: 'center',
|
|
|
customRender: (text, row, index) => {
|
|
|
- return row.category.indexOf('合计') < 0 ? <a-button type="link" class="button-default">{text}</a-button> : (<a-button type="link" class="button-default" style="font-weight:bold;">{text}</a-button>)
|
|
|
+ return row.category.indexOf('合计') < 0 ? <a-button type="link" class="button-default">{text}</a-button> : (<a-button type="link" class="button-error" style="font-weight:bold;font-size:14px;">{text}</a-button>)
|
|
|
} },
|
|
|
{ title: '成本', dataIndex: 'cost', width: '10%', align: 'right', customRender: renderContent },
|
|
|
{ title: '销售额', dataIndex: 'amount', width: '10%', align: 'right', customRender: renderContent },
|