From 77b0f8877a340e159287e870bb03ee8fb2ec8b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Sat, 25 Jan 2025 18:04:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AF=B9=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ss/bonusRefund.js | 44 ++++ src/api/ss/reconciliationDate.js | 44 ++++ src/views/ss/bonusRefund/index.vue | 252 ++++++++++++++++++ src/views/ss/reconciliationDate/index.vue | 304 ++++++++++++++++++++++ 4 files changed, 644 insertions(+) create mode 100644 src/api/ss/bonusRefund.js create mode 100644 src/api/ss/reconciliationDate.js create mode 100644 src/views/ss/bonusRefund/index.vue create mode 100644 src/views/ss/reconciliationDate/index.vue diff --git a/src/api/ss/bonusRefund.js b/src/api/ss/bonusRefund.js new file mode 100644 index 0000000..f786b39 --- /dev/null +++ b/src/api/ss/bonusRefund.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询分成退款记录列表 +export function listBonusRefund(query) { + return request({ + url: '/ss/bonusRefund/list', + method: 'get', + params: query + }) +} + +// 查询分成退款记录详细 +export function getBonusRefund(id) { + return request({ + url: '/ss/bonusRefund/' + id, + method: 'get' + }) +} + +// 新增分成退款记录 +export function addBonusRefund(data) { + return request({ + url: '/ss/bonusRefund', + method: 'post', + data: data + }) +} + +// 修改分成退款记录 +export function updateBonusRefund(data) { + return request({ + url: '/ss/bonusRefund', + method: 'put', + data: data + }) +} + +// 删除分成退款记录 +export function delBonusRefund(id) { + return request({ + url: '/ss/bonusRefund/' + id, + method: 'delete' + }) +} diff --git a/src/api/ss/reconciliationDate.js b/src/api/ss/reconciliationDate.js new file mode 100644 index 0000000..4550fe6 --- /dev/null +++ b/src/api/ss/reconciliationDate.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询日期对账列表 +export function listReconciliationDate(query) { + return request({ + url: '/ss/reconciliationDate/list', + method: 'get', + params: query + }) +} + +// 查询日期对账详细 +export function getReconciliationDate(id) { + return request({ + url: '/ss/reconciliationDate/' + id, + method: 'get' + }) +} + +// 新增日期对账 +export function addReconciliationDate(data) { + return request({ + url: '/ss/reconciliationDate', + method: 'post', + data: data + }) +} + +// 修改日期对账 +export function updateReconciliationDate(data) { + return request({ + url: '/ss/reconciliationDate', + method: 'put', + data: data + }) +} + +// 删除日期对账 +export function delReconciliationDate(id) { + return request({ + url: '/ss/reconciliationDate/' + id, + method: 'delete' + }) +} diff --git a/src/views/ss/bonusRefund/index.vue b/src/views/ss/bonusRefund/index.vue new file mode 100644 index 0000000..71c4014 --- /dev/null +++ b/src/views/ss/bonusRefund/index.vue @@ -0,0 +1,252 @@ + + + + + + + + 搜索 + 重置 + + + + + + 导出 + + + + + + + + + + + {{d.row[column.key]}} + + + + + + {{d.row[column.key]}} + + + + + + + + + + + + diff --git a/src/views/ss/reconciliationDate/index.vue b/src/views/ss/reconciliationDate/index.vue new file mode 100644 index 0000000..949fb00 --- /dev/null +++ b/src/views/ss/reconciliationDate/index.vue @@ -0,0 +1,304 @@ + + + + + + + + 搜索 + 重置 + + + + + + 导出 + + + + + + + 订单实收 = 订单总额 - 订单退款总额 + 总分成 = 用户分成 + 平台分成 + 用户退款 = 用户分成退款金额 + 平台退款 = 平台分成退款金额 + 分成退款 = 用户退款 + 平台退款 + 实际分成 = 总分成 - 分成退款 + 差额 = 订单实收 - 实际分成 + 应收账 = 月费 + 订单手机号服务费 + 其他费用 + 平台收益 = 平台分成 + 应收账 - 平台退款 + + + + + + + + + + + + + {{d.row[column.key] | fix2}} 元 + + + {{d.row[column.key] | fix2}} 元 + + + + + + + + + + + {{d.row[column.key] | fix2}} 元 + + + {{d.row[column.key] | fix2}} 元 + + + + + + + + + + + {{d.row[column.key] | fix2}} 元 + + + {{d.row[column.key] | fix2}} 元 + + + + + + + + + + + + +