-
待补充
+
+
+
+
+
+
+ 已通过
+
+
+ 已完成
+
+
+
+
+
-
-
-
-
-
-
-
-
![支付凭证]()
+
+
+
+
+
+ {{ scope.$index + 1 + (pageInfo.pageNum - 1) * pageInfo.pageSize }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.permanentGold }}
+ {{ scope.row.goodNum }}
+
+
+
+
+
+
+
+
+
+ 待补充
+
+
+
+
+
+
+ 待补充
+
+
+
+
+
+
+
+
+
![支付凭证]()
+
+
+ ——
+
+
+
+
+
+
+
+
+
+
+ 退款
+ 正常
+
+
+
+
+
+
+
+ {{ scope.row.rejectReason || '—' }}
+
+
+
+ {{ tooltipContent }}
+
+
+
+
+
+
+
+ 审核
+
+ 编辑
+
+ 退款
+
+
+
+
-
- ——
+
-
-
-
-
-
-
-
-
-
-
- 退款
- 正常
-
-
-
-
-
- 编辑
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 个
-
-
-
-
- 永久金币:
-
-
-
- 免费金币:
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 永久金币:
+
+
+
+ 免费金币:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
仅支持.jpg .png格式文件≤ 1 MB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 仅支持.jpg .png格式文件≤ 1 MB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 精网号
+
+
+
+ 客户姓名
+
+
+
+ 所属地区
+
+
+
+ 活动名称
+
+
+
+ 产品名称
+
+
+
+ 产品数量
+
+
+
+
+
+ 永久金币:
+
+
+
+ 免费金币:
+
+
+
+
+ 付款币种
+
+
+
+ 付款金额
+
+
+
+ 支付方式
+
+
+
+ 付款时间
+
+
+
+
转账凭证
+
+
+
+
+
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+ 退款模式
+
+ 全部退款
+ 部分退款
+
+
+
+
+ 永久金币:
+
+
+
+ 免费金币:
+
+
+
+
+ 退款理由
+
+
+
ps:请在退款理由表明用户的退款需求。
+
+ 重置
+ 提交
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/moneyManage/receiveDetail/receiveManage.vue b/src/views/moneyManage/receiveDetail/receiveManage.vue
index 91370da..cb76943 100644
--- a/src/views/moneyManage/receiveDetail/receiveManage.vue
+++ b/src/views/moneyManage/receiveDetail/receiveManage.vue
@@ -162,8 +162,8 @@
v-if="activeTab == 'pass' || activeTab == 'done'" width="180px" />
-
+
退款
正常
@@ -543,12 +543,12 @@
永久金币:
+ v-model="refundFormData.partRefundGold" dsabled />
免费金币:
+ v-model="refundFormData.partRefundFree" />
@@ -650,16 +650,8 @@ const openRefundDialog = () => {
const closeRefundForm = () => {
refundDialog.value = false
refundFormData.value = {}
- refundCoinData.value = {
- permanentGold: 0,
- freeGold: 0
- }
}
-const refundCoinData = ref({
- permanentGold: 0,
- freeGold: 0
-})
const isRefundGold = ref(false)
const ifRefundGold = () => {
if (refundFormData.value.goodsName === '金币充值') {
@@ -763,10 +755,6 @@ const getlist = async () => {
const resetRefund = () => {
refundFormData.value.refundModel = ''
refundFormData.value.refundReason = ''
- refundCoinData.value = {
- permanentGold: 0,
- freeGold: 0
- }
}
//提交退款
const submitRefund = async () => {
@@ -781,35 +769,27 @@ const submitRefund = async () => {
if (!refundFormData.value.refundReason) {
return ElMessage.error('请输入退款原因');
}
+ if (refundFormData.value.refundModel == 0) {
+ refundFormData.value.partRefundGold = refundFormData.value.permanentGold,
+ refundFormData.value.partRefundFree = refundFormData.value.freeGold
+ }
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, // 提交人(可选)
+ jwcode: refundFormData.value.jwcode,
+ name: refundFormData.value.name,
+ market: refundFormData.value.marketName,
submitterId: adminData.value.id,
- voucher: refundFormData.value.voucher, // 转账凭证URL(可选)
- remark: refundFormData.value.remark, // 备注信息(可选)
- refundReason: refundFormData.value.refundReason, // 退款备注-客服填写(可选)
- refundModel: refundFormData.value.refundModel, // 退款方式:0-全额,1-部分(可选)
- id: refundFormData.value.id, //订单id
+ submitterMarket: adminData.value.markets,
+ remark: refundFormData.value.remark,
+ refundReason: refundFormData.value.refundReason,
+ refundModel: refundFormData.value.refundModel,
+ id: refundFormData.value.id,
orderCode: refundFormData.value.orderCode,
- permanentGold: (refundCoinData.value.permanentGold) * 100 || 0,
- freeGold: (refundCoinData.value.freeGold) * 100 || 0
+ permanentGold: (refundFormData.value.permanentGold) * 100 || 0,
+ freeGold: (refundFormData.value.freeGold) * 100 || 0,
+ partRefundGold: (refundFormData.value.partRefundGold) * 100 || 0,
+ partRefundFree: (refundFormData.value.partRefundFree) * 100 || 0,
}
})
if (result.code == 200) {
@@ -1113,9 +1093,9 @@ onMounted(async () => {
await getlist();
// 菜单权限校验(确保地区财务权限)
- if (!hasMenuPermission(menuTree.value, 78)) {
+ if (!hasMenuPermission(menuTree.value, 79)) {
ElMessageBox.alert(
- '您暂无地区财务操作权限,请联系管理员',
+ '您暂无该页面操作权限,请联系管理员',
'权限提示',
{ type: 'error' }
).then(() => {
diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue
index 068338b..e5721c1 100644
--- a/src/views/moneyManage/receiveDetail/receiveService.vue
+++ b/src/views/moneyManage/receiveDetail/receiveService.vue
@@ -139,9 +139,9 @@
@@ -189,7 +189,7 @@
-
+
@@ -244,7 +244,7 @@
-
+
-
+
@@ -302,8 +302,8 @@
产品数量
-
+