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 @@ + + + + + + + 精网号 + + + + 客户姓名 + + + + 所属地区 + + + + + + + 付款币种 + + + + + + 支付方式 + + + + + + + + 活动名称 + + + + + + 产品名称 + + + + 付款时间 + + + + + 查询 + 重置 + + + + + + + + + + + + + + 待审核 + + + 已通过 + + + 已完成 + + + 已驳回 + + + + + + + + + + + + {{ scope.$index + 1 + (pageInfo.pageNum - 1) * pageInfo.pageSize }} + + + + + + + + + + {{ scope.row.permanentGold }} + {{ scope.row.goodNum }} + + + + + + + + + + 待补充 + + + + + + + 待补充 + + + + + + + + + + + + —— + + + + + + + + + + + 退款 + 正常 + + + + + + + + {{ scope.row.rejectReason || '—' }} + + + + {{ tooltipContent }} + + + + + + + + 审核 + + 编辑 + + 退款 + + + + + + + + + + + + + + 关闭 + + + {{ textContent }} + + + 取消 + + + 确定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 永久金币: + + + + 免费金币: + + + + + + + + + + + + + + + + + + + + + + + + + + + + 仅支持.jpg .png格式文件≤ 1 MB + + + + + + + + + + + + + 驳回 + {{ btnText }} + + + 取消 + 确定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 永久金币: + + + + 免费金币: + + + + + + + + + + + + + + + + + + + + + + + + + + + 仅支持.jpg .png格式文件≤ 1 MB + + + + + + + + + + + + + + + + + + + + + + + + + + 取消 + + + 提交 + + + + + + + + + + + + 精网号 + + + + 客户姓名 + + + + 所属地区 + + + + 活动名称 + + + + 产品名称 + + + + 产品数量 + + + + + + 永久金币: + + + + 免费金币: + + + + + 付款币种 + + + + 付款金额 + + + + 支付方式 + + + + 付款时间 + + + + 转账凭证 + + + + + + + + + + + + + 备注 + + + + + + 退款模式 + + 全部退款 + 部分退款 + + + + + 永久金币: + + + + 免费金币: + + + + + 退款理由 + + + ps:请在退款理由表明用户的退款需求。 + + 重置 + 提交 + + + + + + + + + + \ 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,