From 227817e0a1a1ac510e15eee16861d1d8832b2f43 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Tue, 11 Nov 2025 14:14:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- .../moneyManage/receiveDetail/receiveFinance.vue | 27 +- .../moneyManage/receiveDetail/receiveManage.vue | 1542 ++++++++++++++++++++ .../moneyManage/receiveDetail/receiveService.vue | 16 +- 4 files changed, 1552 insertions(+), 35 deletions(-) create mode 100644 src/views/moneyManage/receiveDetail/receiveManage.vue diff --git a/src/router/index.js b/src/router/index.js index 7176533..28dc0b8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -319,7 +319,7 @@ const routes = [ { path: 'receiveManager', name: "receiveManager", - component: () => import("../views/moneyManage/receiveDetail/receiveFinance.vue"), + component: () => import("../views/moneyManage/receiveDetail/receiveManage.vue"), meta: { permissionId: [67, 79] } }, {//地区财务 diff --git a/src/views/moneyManage/receiveDetail/receiveFinance.vue b/src/views/moneyManage/receiveDetail/receiveFinance.vue index dd378a6..db67651 100644 --- a/src/views/moneyManage/receiveDetail/receiveFinance.vue +++ b/src/views/moneyManage/receiveDetail/receiveFinance.vue @@ -162,11 +162,11 @@ v-if="activeTab == 'pass' || activeTab == 'done'" width="180px" /> - 退款 + style="color: rgb(242, 84, 83);" @click="openRefundConfirm(scope.row)">退款 @@ -781,28 +781,17 @@ const submitRefund = async () => { if (!refundFormData.value.refundReason) { return ElMessage.error('请输入退款原因'); } + if(refundFormData.value.refundReason){ + + } const result = await request({ url: '/Money/addOnline', data: { jwcode: refundFormData.value.jwcode, // 精网号(必填) name: refundFormData.value.name, // 姓名(必填) market: refundFormData.value.marketName, // 所属地区(必填) - activity: refundFormData.value.activity, // 活动名称(可选) - bankCode: refundFormData.value.bankCode, // 银行流水订单号(必填) - goodsName: refundFormData.value.goodsName, // 商品名称(必填) - goodNum: refundFormData.value.goodNum, // 商品数量(必填,默认0) - paymentCurrency: refundFormData.value.paymentCurrency, // 付款币种(必填) - paymentAmount: (refundFormData.value.paymentAmount) * 100, // 付款金额(必填) - receivedCurrency: refundFormData.value.receivedCurrency, // 到账币种(必填) - receivedAmount: (refundFormData.value.receivedAmount) * 100, // 到账金额(必填) - handlingCharge: (refundFormData.value.handlingCharge) * 100, // 手续费(可选) - receivedMarket: refundFormData.value.receivedMarket, // 到账地区(可选) - payType: refundFormData.value.payType, // 支付方式(必填) - payTime: refundFormData.value.payTime, // 付款时间,格式:yyyy-MM-dd HH:mm:ss(可选) - receivedTime: refundFormData.value.receivedTime, // 到账时间,格式:yyyy-MM-dd HH:mm:ss(可选) - areaServise: adminData.value.adminName, // 提交人(可选) + submitterMarket:adminData.value.markets, submitterId: adminData.value.id, - voucher: refundFormData.value.voucher, // 转账凭证URL(可选) remark: refundFormData.value.remark, // 备注信息(可选) refundReason: refundFormData.value.refundReason, // 退款备注-客服填写(可选) refundModel: refundFormData.value.refundModel, // 退款方式:0-全额,1-部分(可选) diff --git a/src/views/moneyManage/receiveDetail/receiveManage.vue b/src/views/moneyManage/receiveDetail/receiveManage.vue new file mode 100644 index 0000000..91370da --- /dev/null +++ b/src/views/moneyManage/receiveDetail/receiveManage.vue @@ -0,0 +1,1542 @@ + + + + + \ No newline at end of file diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue index 55473f1..068338b 100644 --- a/src/views/moneyManage/receiveDetail/receiveService.vue +++ b/src/views/moneyManage/receiveDetail/receiveService.vue @@ -825,22 +825,8 @@ const submitRefund = async () => { jwcode: refundFormData.value.jwcode, name: refundFormData.value.name, market: refundFormData.value.marketName, - activity: refundFormData.value.activity, - bankCode: refundFormData.value.bankCode, - goodsName: refundFormData.value.goodsName, - goodNum: refundFormData.value.goodNum, - paymentCurrency: refundFormData.value.paymentCurrency, - paymentAmount: (refundFormData.value.paymentAmount) * 100, - receivedCurrency: refundFormData.value.receivedCurrency, - receivedAmount: (refundFormData.value.receivedAmount) * 100, - handlingCharge: (refundFormData.value.handlingCharge) * 100, - receivedMarket: refundFormData.value.receivedMarket, - payType: refundFormData.value.payType, - payTime: refundFormData.value.payTime, - receivedTime: refundFormData.value.receivedTime, - areaServise: adminData.value.adminName, submitterId: adminData.value.id, - voucher: refundFormData.value.voucher, + submitterMarket:adminData.value.markets, remark: refundFormData.value.remark, refundReason: refundFormData.value.refundReason, refundModel: refundFormData.value.refundModel,