|
|
|
@ -390,7 +390,8 @@ |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 查看驳回理由 --> |
|
|
|
<el-dialog title="驳回理由" v-model="rejectReasonVisible" width="50%" top="30vh" style="min-width: 200px; max-width: 500px;" :before-close="closeRejectForm"> |
|
|
|
<el-dialog title="驳回理由" v-model="rejectReasonVisible" width="50%" top="30vh" |
|
|
|
style="min-width: 200px; max-width: 500px;" :before-close="closeRejectForm"> |
|
|
|
<div class="reject-reason-box"> |
|
|
|
{{ rejectReason }} |
|
|
|
</div> |
|
|
|
@ -896,6 +897,11 @@ const submitRefund = async () => { |
|
|
|
if (refundFormData.value.refundModel == 0) { |
|
|
|
refundFormData.value.partRefundGold = refundFormData.value.permanentGold, |
|
|
|
refundFormData.value.partRefundFree = refundFormData.value.freeGold |
|
|
|
} else if (refundFormData.value.refundModel == 1) { |
|
|
|
if(refundFormData.value.partRefundGold > refundFormData.value.permanentGold || refundFormData.value.partRefundFree > refundFormData.value.freeGold){ |
|
|
|
ElMessage.error('退款金额不能大于订单金额') |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
const result = await request({ |
|
|
|
url: '/Money/add', |
|
|
|
|