feat: 新增充值退款功能完整实现
- 新增充值退款数据库表结构及相关枚举字段 - 新增充值退款服务层核心逻辑(创建、审核、退款、回调处理) - 新增充值退款后台管理页面及操作入口 - 新增充值退款前端页面及样式调整 - 新增充值退款相关测试用例 - 新增充值退款策略校验及网关处理逻辑
这个提交包含在:
@@ -51,7 +51,7 @@
|
||||
<view class="intro-desc-wrap">
|
||||
<text class="intro-star">*</text>
|
||||
<text class="intro-desc">请上传本人的“{{ displayCertTitle }}”照片,并保持照片完整和清晰。</text>
|
||||
<text class="sample-link clickable-hover" @tap="showSampleModal = true">查看示例></text>
|
||||
<text class="sample-link clickable-hover" @tap="showSampleModal = true">查看示例{{ '>' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -2591,9 +2591,10 @@
|
||||
uni.redirectTo({ url: `/pages/order/detail?id=${createdOrderId}` });
|
||||
}, 600);
|
||||
} else {
|
||||
const payType = (selectedPayType.value === 'balance' && isBalanceSufficient.value) ? 'balance' : 'wechat';
|
||||
const payment = await executeOrderWxPay(api.orderPay, { order_id: createdOrderId, pay_type: payType });
|
||||
openOrderPaymentResult(createdOrderId, payment, true);
|
||||
openOrderPaymentResult(createdOrderId, await executeOrderWxPay(api.orderPay, {
|
||||
order_id: createdOrderId,
|
||||
pay_type: (selectedPayType.value === 'balance' && isBalanceSufficient.value) ? 'balance' : 'wechat'
|
||||
}), true);
|
||||
}
|
||||
} catch (e) {
|
||||
if (createdOrderId) {
|
||||
@@ -3348,8 +3349,9 @@
|
||||
|
||||
.ppc-btn-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 12rpx;
|
||||
margin-top: 12rpx;
|
||||
}
|
||||
|
||||
@@ -3361,10 +3363,12 @@
|
||||
border: 1rpx solid #FFD1A8;
|
||||
border-radius: 8rpx;
|
||||
padding: 8rpx 14rpx;
|
||||
max-width: 460rpx;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pgb-txt {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 22rpx;
|
||||
color: #F0710D;
|
||||
line-height: 1.3;
|
||||
@@ -3379,8 +3383,8 @@
|
||||
.ppc-right-btns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 16rpx;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.ppc-clipboard-btn {
|
||||
@@ -3411,6 +3415,7 @@
|
||||
}
|
||||
|
||||
.phb-txt {
|
||||
white-space: nowrap;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #F0710D;
|
||||
@@ -3445,6 +3450,7 @@
|
||||
}
|
||||
|
||||
.pab-txt {
|
||||
white-space: nowrap;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
|
||||
在新工单中引用
屏蔽一个用户