@@ -102,6 +102,10 @@
<template v-slot:headerRequired="{ column }">
<span class="is-required">{{ column.label }}</span>
</template>
+
+ <template v-slot:taxRate="scope">
+ <span class="is-required">{{ scope.row.taxRate }}%</span>
+ </template>
</ele-pro-table>
</el-form>
@@ -260,7 +264,8 @@ export default {
minWidth: 100,
prop: 'taxRate',
label: '税率',
- align: 'center'
+ align: 'center',
+ slot: 'taxRate'
},
{