fix: 退款审批可以是0
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m5s

This commit is contained in:
sexygoat
2026-06-05 16:26:17 +08:00
parent 0c737a30c1
commit c5e4082c26
2 changed files with 2 additions and 164 deletions

View File

@@ -73,7 +73,7 @@
<ElFormItem label="实际退款金额" prop="approved_refund_amount">
<ElInputNumber
v-model="approveForm.approved_refund_amount"
:min="1"
:min="0"
:precision="2"
:step="1"
style="width: 100%"
@@ -497,7 +497,7 @@
label: '实际退款金额',
width: 150,
formatter: (row: Refund) =>
row.approved_refund_amount ? formatCurrency(row.approved_refund_amount) : '-'
row.approved_refund_amount === null ? '-' : formatCurrency(row.approved_refund_amount)
},
{
prop: 'actual_received_amount',