Browse Source

退款重置

zhangrenyuan/feature-20251104133449-现金管理二期
ZhangYong 3 weeks ago
parent
commit
a1b95f854f
  1. 15
      src/views/moneyManage/receiveDetail/receiveFinance.vue

15
src/views/moneyManage/receiveDetail/receiveFinance.vue

@ -558,7 +558,7 @@
</div> </div>
<div>ps:请在退款理由表明用户的退款需求</div> <div>ps:请在退款理由表明用户的退款需求</div>
<div style="display:flex;justify-content: center;margin-top: 5vh;"> <div style="display:flex;justify-content: center;margin-top: 5vh;">
<el-button type="default" @click="">重置</el-button>
<el-button type="default" @click="resetRefund">重置</el-button>
<el-button type="primary" @click="throttledsubmitRefund">提交</el-button> <el-button type="primary" @click="throttledsubmitRefund">提交</el-button>
</div> </div>
</div> </div>
@ -650,6 +650,10 @@ const openRefundDialog = () => {
const closeRefundForm = () => { const closeRefundForm = () => {
refundDialog.value = false refundDialog.value = false
refundFormData.value = {} refundFormData.value = {}
refundCoinData.value = {
permanentGold: 0,
freeGold: 0
}
} }
const refundCoinData = ref({ const refundCoinData = ref({
@ -755,6 +759,15 @@ const getlist = async () => {
} }
}; };
//退
const resetRefund = () => {
refundFormData.value.refundModel = ''
refundFormData.value.refundReason = ''
refundCoinData.value = {
permanentGold: 0,
freeGold: 0
}
}
//退 //退
const submitRefund = async () => { const submitRefund = async () => {
try { try {

Loading…
Cancel
Save