From 6e67b9e9d007c3b5f4e934e8188d6fec509776f6 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Thu, 23 Oct 2025 09:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/executor/executor.vue | 1 + .../moneyManage/refundDetail/refundFinance.vue | 2 ++ .../moneyManage/refundDetail/refundService.vue | 32 +++++++++++++++------- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index 64f6355..4cb77ec 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -301,6 +301,7 @@ const getRefund = async function () { }) tableData.value = result.data.list || [] + pagination.value.total = result.data.total || 0 } catch (error) { ElMessage.error(error.message || '查询失败') } diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue index a55befd..4056cb7 100644 --- a/src/views/moneyManage/refundDetail/refundFinance.vue +++ b/src/views/moneyManage/refundDetail/refundFinance.vue @@ -507,6 +507,8 @@ const handleReject = async function () { ElMessage.success('审核驳回') showAudit.value = false getRefund() + addForm.value.remark = '' + showReject.value = false } } catch (error) { ElMessage.error(error.message || '审核失败') diff --git a/src/views/moneyManage/refundDetail/refundService.vue b/src/views/moneyManage/refundDetail/refundService.vue index 71e28f5..c5bb1b9 100644 --- a/src/views/moneyManage/refundDetail/refundService.vue +++ b/src/views/moneyManage/refundDetail/refundService.vue @@ -59,7 +59,7 @@ - + @@ -247,8 +247,12 @@ const showError = ref(false) const isKF = adminData.value.adminName.includes('客服') const statusList = ref([ { - value: 'waiting', - label: '待审核', + value:'submitted', + label:'已提交', + }, + { + value: 'back', + label: '已撤回', }, { value: 'pending', @@ -256,7 +260,11 @@ const statusList = ref([ }, { value: 'completed', - label: '退款完成' + label: '已退款' + }, + { + value:'rejected', + label:'已驳回' } ]) // 查全部 @@ -266,12 +274,16 @@ const getRefund = async function () { return } try { - if (searchForm.value.statuses === 'completed') { - searchForm.value.statuses = [41] - } else if (searchForm.value.statuses === 'pending') { - searchForm.value.statuses = [20, 30, 40] - } else if (searchForm.value.statuses === 'waiting') { + if (searchForm.value.statuses === 'submitted') { searchForm.value.statuses = [10] + } else if (searchForm.value.statuses === 'back') { + searchForm.value.statuses = [11] + } else if (searchForm.value.statuses === 'pending') { + searchForm.value.statuses = [20,30,40] + } else if(searchForm.value.statuses === 'completed') { + searchForm.value.statuses = [41] + } else if(searchForm.value.statuses === 'rejected') { + searchForm.value.statuses = [12,22,32] } const params = { pageNum: pagination.value.pageNum, @@ -279,7 +291,7 @@ const getRefund = async function () { cashRecordDone: { jwcode: searchForm.value.jwcode,//精网号 name: searchForm.value.name,//姓名 - markets: searchForm.value.market,//地区 + market: searchForm.value.market,//地区 goodsNames: searchForm.value.goodsName,//商品名 statuses: searchForm.value.statuses,//10:地区财务待审核;12:地区财务驳回; // 20:地区负责人待审核;22:地区负责人驳回;