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