From f759ab901d6db61078cbdd43a5789bd7bed0748b Mon Sep 17 00:00:00 2001 From: lihuilin Date: Sat, 25 Oct 2025 11:19:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=A8=E5=A4=A9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveDetail.vue | 4 ++-- src/views/moneyManage/refundDetail/refundCharge.vue | 1 + src/views/moneyManage/refundDetail/refundFinance.vue | 4 ++-- src/views/moneyManage/refundDetail/refundHeader.vue | 9 +++++++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue index cdaa5d0..b46a1dd 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue @@ -1160,8 +1160,8 @@ const submitRefund = async () => { refundModel: refundFormData.value.refundModel, // 退款方式:0-全额,1-部分(可选) id: refundFormData.value.id, //订单id orderCode: refundFormData.value.orderCode, - permanentGold: (refundFormData.value.permanentGold) * 100 || null, - freeGold: (refundFormData.value.freeGold) * 100 || null + permanentGold: (refundFormData.value.permanentGold) * 100 || 0, + freeGold: (refundFormData.value.freeGold) * 100 || 0 } }) if (result.code == 200) { diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue index e916572..d29a355 100644 --- a/src/views/moneyManage/refundDetail/refundCharge.vue +++ b/src/views/moneyManage/refundDetail/refundCharge.vue @@ -516,6 +516,7 @@ const handleReject = async function () { getRefund() addForm.value.remark = '' showAudit2.value = false + showReject.value = false } } catch (error) { ElMessage.error(error.message || '审核失败') diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index c31eb28..0acd441 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -414,7 +414,7 @@ const getRefund = async function () { return } try { - const statusParam = ref([]) + const statusParam = ref([10,20,22,30,32,40,41]) if (searchForm.value.statuses === '审核通过') { statusParam.value = [20, 30, 40] } else if (searchForm.value.statuses === '已驳回') { @@ -424,7 +424,7 @@ const getRefund = async function () { } else if (searchForm.value.statuses === '退款成功') { statusParam.value = [41] } else { - statusParam.value = [] + statusParam.value = [10,20,22,30,32,40,41] } const params = { pageNum: pagination.value.pageNum, diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue index 7a40536..191a9e0 100644 --- a/src/views/moneyManage/refundDetail/refundHeader.vue +++ b/src/views/moneyManage/refundDetail/refundHeader.vue @@ -522,8 +522,8 @@ const handlePass = async function () { headFinance: adminData.value.adminName, auditId: auditRow.value.auditId, goodsName: auditRow.value.goodsName, - permanentGold: auditRow.value.permanentGold, - freeGold: auditRow.value.freeGold, + permanentGold: auditRow.value.permanentGold * 100, + freeGold: auditRow.value.freeGold * 100, orderCode: auditRow.value.orderCode, jwcode: auditRow.value.jwcode } @@ -535,6 +535,7 @@ const handlePass = async function () { ElMessage.success('审核通过') showAudit2.value = false getRefund() + hideExecutor() } } catch (error) { ElMessage.error(error.message || '审核失败') @@ -636,6 +637,10 @@ const showStep = function (row) { console.log('步骤条状态', currentStep.value) showSteps.value = true } +const hideExecutor = function () { + addForm.value.executor = '' + showExecutor.value = false +} const productList = [ { "value": "金币产品",