Commit 8f4d90e4 authored by lihui's avatar lihui

fix: 隐藏已退金额为0的文字

parent fed93297
......@@ -228,9 +228,11 @@
<template #default="scope">
<div>
{{ scope.row.payment }}
<span v-show="scope.row.refund_amount"
>(已退¥{{ scope.row.refund_amount }})</span
>
<span v-show="scope.row.refund_amount">{{
scope.row.refund_amount === 0
? ""
: `已退¥${scope.row.refund_amount} `
}}</span>
</div>
</template>
</el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment