Commit d470f7fb by yancanhua

fix: 自测问题修改

1 parent 9731b9d5
......@@ -20,7 +20,7 @@
¥{{ appraisePrice.reservePrice }}元
</a-descriptions-item>
<a-descriptions-item label="佣金金额" name="referencePrice">
¥{{ appraisePrice.fixedCommission || '-' }}元
¥{{ appraisePrice.fixedCommission || appraisePrice.fixedCommission == 0 ? appraisePrice.fixedCommission : '-' }}元
</a-descriptions-item>
</a-descriptions>
<a-divider>审批记录</a-divider>
......
......@@ -13,7 +13,7 @@
</template>
<template v-if="column.key === 'fixedCommission'">
¥ {{ record.fixedCommission || '-' }}
¥ {{ record.fixedCommission || record.fixedCommission == 0 ? record.fixedCommission : '-' }}
</template>
</template>
......
......@@ -64,7 +64,7 @@ export default class VehiclePicker extends PaginationComponent<Vehicle> {
},
{title: '佣金金额', dataIndex: 'fixedCommission', key: 'fixedCommission', align: 'right', width: 100, resizable: true, ellipsis: true, sorter: true,
customRender: ({text, record, index, column}) => {
return text ? '¥' + text : '-';
return text || text == 0 ? '¥' + text : '-';
}
},
];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!