lzq 2026-02-28 19:07:29 +08:00
parent 0e18fd3c33
commit 13884e323c
1 changed files with 10 additions and 6 deletions

View File

@ -14,8 +14,12 @@
<ElTableColumn label="费用类型" prop="expenseItemCategoryTxt"/>
<ElTableColumn label="付费项名称" prop="expenseItemName"/>
<ElTableColumn label="计费策略" prop="expenseStrategyTxt"/>
<ElTableColumn label="计量单位" prop="unit"/>
<ElTableColumn label="税率" prop="taxRate"/>
<ElTableColumn label="计量单位" prop="unitTxt"/>
<ElTableColumn label="税率" prop="taxRate">
<template #default="{row}">
{{ row.taxRate == null ? '-' : row.taxRate + ' %' }}
</template>
</ElTableColumn>
<ElTableColumn label="价格" prop="unitPrice">
<template #default="{row}">
{{ row.unitPrice == null ? '-' : row.unitPrice + (row.expenseStrategy === expenseStrategy.DanJia || row.expenseStrategy === expenseStrategy.TanXing ? ` 元/${unit.txt(row.unit)}` : ``) }}
@ -23,17 +27,17 @@
</ElTableColumn>
<ElTableColumn label="起步价" prop="initialPrice">
<template #default="{row}">
{{ row.initialPrice == null ? '-' : row.initialPrice + unit.txt(row.unit) }}
{{ row.expenseStrategy !== expenseStrategy.TanXing || row.initialPrice == null ? '-' : row.initialPrice + ' ' + unit.txt(row.unit) }}
</template>
</ElTableColumn>
<ElTableColumn label="起步量" prop="initialQuantity">
<template #default="{row}">
{{ row.initialQuantity == null ? '-' : row.initialQuantity + unit.txt(row.unit) }}
{{ row.expenseStrategy !== expenseStrategy.TanXing || row.initialQuantity == null ? '-' : row.initialQuantity + ' ' + unit.txt(row.unit) }}
</template>
</ElTableColumn>
<ElTableColumn label="每档的量" prop="everyQuantity">
<template #default="{row}">
{{ row.everyQuantity == null ? '-' : row.everyQuantity + unit.txt(row.unit) }}
{{ row.expenseStrategy !== expenseStrategy.TanXing || row.everyQuantity == null ? '-' : row.everyQuantity + ' ' + unit.txt(row.unit) }}
</template>
</ElTableColumn>
<ElTableColumn label="是否可用" prop="canuse" width="100">