From 752d5ce486290cd58a4b0f5ed834d2e5184ce791 Mon Sep 17 00:00:00 2001 From: "BOOL\\25024" Date: Wed, 5 Mar 2025 10:49:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D=E6=88=AA?= =?UTF-8?q?=E8=87=B3=E5=88=B0=E5=89=8D=E4=B8=80=E5=A4=A923.59?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/financial/financeDetail-新.vue | 542 +++++++++++++++++ .../src/views/financial/financeDetail-旧.vue | 554 ------------------ .../src/views/financial/financeDetail.vue | 540 +++++++++-------- 3 files changed, 824 insertions(+), 812 deletions(-) create mode 100644 jsowell-ui/src/views/financial/financeDetail-新.vue delete mode 100644 jsowell-ui/src/views/financial/financeDetail-旧.vue diff --git a/jsowell-ui/src/views/financial/financeDetail-新.vue b/jsowell-ui/src/views/financial/financeDetail-新.vue new file mode 100644 index 000000000..1866a6cce --- /dev/null +++ b/jsowell-ui/src/views/financial/financeDetail-新.vue @@ -0,0 +1,542 @@ + + + + diff --git a/jsowell-ui/src/views/financial/financeDetail-旧.vue b/jsowell-ui/src/views/financial/financeDetail-旧.vue deleted file mode 100644 index e84273de2..000000000 --- a/jsowell-ui/src/views/financial/financeDetail-旧.vue +++ /dev/null @@ -1,554 +0,0 @@ - - - - diff --git a/jsowell-ui/src/views/financial/financeDetail.vue b/jsowell-ui/src/views/financial/financeDetail.vue index e1ccf32ef..ac23e745c 100644 --- a/jsowell-ui/src/views/financial/financeDetail.vue +++ b/jsowell-ui/src/views/financial/financeDetail.vue @@ -1,150 +1,205 @@ @@ -200,7 +232,7 @@ import { withdraw, selectAdapayMember, queryAdapayAccountBalance, - WithdrawalHistory, + WithdrawalHistory } from "@/api/adapayMember/adapayMember"; import { getOrderReportDetail } from "@/api/order/order"; import { getDay } from "@/utils/common"; @@ -258,25 +290,7 @@ export default { pageSize: 10, }, payoutInformation: [], - getTotal: 0, - profitSharing: false, - temporary: [ - { - tradeDate: "2025-02-18", - billStatus: "提现申请中", - receivableAmount: "313.92", - withdrawAbleAmount: "1371.99", - feeAmount: "1.83", - aaa: "1059.92", - bbb: "1059.92", - withdrawCode: "0021110738083352290123776", - applicationTime: "2025-02-19 08:31:00", - }, - ], - sharingType: [ - { label: "直接分润", value: "1" }, - { label: "间接分润", value: "2" }, - ], + getTotal: 0 }; }, methods: { @@ -365,7 +379,8 @@ export default { console.log("getMerchantOrderReport", response); if (response.data) { this.merchantOrderReport = response.data.merchantOrderReport; - if (response.data.pageResponse === null) return (this.reportList = []); + if (response.data.pageResponse === null) + return (this.reportList = []); this.reportList = response.data.pageResponse.list; this.reportTotal = response.data.pageResponse.total; } else { @@ -379,19 +394,20 @@ export default { .then((_) => { let params = { merchantId: this.merchantId, - cashAmt: this.adapayMember.avlBalance, + cashAmt: this.adapayMember.lastAvlBalance, }; console.log("点击提交按钮之前执行 params", params); withdraw(params).then((response) => { console.log("res 提现金额", response); - if (response.code !== 200) return this.$modal.msgError(response.msg); + if (response.code !== 200) + return this.$modal.msgError(response.msg); this.$modal.msgSuccess("操作成功"); // 重新查询当前 显示的可提现金额 this.getAdapayBalance(); }); this.dialogVisible = false; }) - .catch((_) => {}); + .catch((_) => { }); }, // 点击提交按钮 submit() { @@ -434,28 +450,17 @@ export default { }, already() { this.recordDialog = true; - this.getHistory(); + this.getHistory() }, //提现记录 getHistory() { - console.log("etWithdrawnParameters", this.getWithdrawnParameters); + console.log('etWithdrawnParameters', this.getWithdrawnParameters); WithdrawalHistory(this.getWithdrawnParameters).then((response) => { console.log("提现记录", response); this.payoutInformation = response.data.list; this.getTotal = response.data.total; }); - }, - // 分润流水弹框 - getProfitSharing(scope) { - console.log("点击分润流水", scope); - this.profitSharing = true; - }, - // 关闭分润流水弹框 - turnOffProfitSharing() { - this.profitSharing = false; - this.orderList = []; - this.queryParams = {}; - }, + } }, created() { this.defaultDate(); @@ -466,69 +471,88 @@ export default {