feat(withdraw): 落地方案B一体化商城余额提现与手续费内扣模式,完善多端打款退款与对账闭环
这个提交包含在:
@@ -122,7 +122,7 @@
|
||||
<view class="title-box ss-flex ss-row-between ss-m-b-20">
|
||||
<view class="ss-flex ss-col-center">
|
||||
<text class="title ss-line-1"
|
||||
>{{ item.event_text }}{{ item.memo ? '-' + item.memo : '' }}</text
|
||||
>{{ formatLogTitle(item) }}</text
|
||||
>
|
||||
<text
|
||||
v-if="item.type === 'money'"
|
||||
@@ -181,6 +181,22 @@
|
||||
today: '',
|
||||
});
|
||||
|
||||
function formatLogTitle(item) {
|
||||
if (!item) return '';
|
||||
const event = item.event || '';
|
||||
const eventText = item.event_text || '';
|
||||
const memo = item.memo || '';
|
||||
|
||||
if (event === 'admin_recharge' || eventText === '后台-余额充值' || eventText === '后台-积分充值' || eventText === '合约调用') {
|
||||
if (!memo || memo === '后台管理调整余额' || memo === '后台管理调整积分' || memo === '合约调用') {
|
||||
return '合约调用';
|
||||
}
|
||||
return `合约调用-${memo}`;
|
||||
}
|
||||
|
||||
return `${eventText}${memo ? '-' + memo : ''}`;
|
||||
}
|
||||
|
||||
const tabMaps = [
|
||||
{
|
||||
name: '全部',
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
<text :class="item.amount >= 0 ? 'cicon-wallet' : 'cicon-order'"></text>
|
||||
</view>
|
||||
<view class="log-main-info">
|
||||
<text class="log-title">{{ item.event_text }}{{ item.memo ? ' · ' + item.memo : '' }}</text>
|
||||
<text class="log-title">{{ formatLogTitle(item) }}</text>
|
||||
<text class="log-date">{{ item.createtime }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -172,6 +172,22 @@
|
||||
today: '',
|
||||
});
|
||||
|
||||
function formatLogTitle(item) {
|
||||
if (!item) return '';
|
||||
const event = item.event || '';
|
||||
const eventText = item.event_text || '';
|
||||
const memo = item.memo || '';
|
||||
|
||||
if (event === 'admin_recharge' || eventText === '后台-余额充值' || eventText === '合约调用') {
|
||||
if (!memo || memo === '后台管理调整余额' || memo === '后台管理调整积分' || memo === '合约调用') {
|
||||
return '合约调用';
|
||||
}
|
||||
return `合约调用 · ${memo}`;
|
||||
}
|
||||
|
||||
return `${eventText}${memo ? ' · ' + memo : ''}`;
|
||||
}
|
||||
|
||||
const tabMaps = [
|
||||
{
|
||||
name: '全部',
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
:key="item.id"
|
||||
>
|
||||
<view class="ss-flex-col">
|
||||
<view class="name">{{ item.event_text }}{{ item.memo ? '-' + item.memo : '' }}</view>
|
||||
<view class="name">{{ formatLogTitle(item) }}</view>
|
||||
<view class="time">{{ item.createtime }}</view>
|
||||
</view>
|
||||
<view class="add" v-if="item.amount > 0">+{{ parseInt(item.amount) }}</view>
|
||||
@@ -102,6 +102,22 @@
|
||||
today:'',
|
||||
});
|
||||
|
||||
function formatLogTitle(item) {
|
||||
if (!item) return '';
|
||||
const event = item.event || '';
|
||||
const eventText = item.event_text || '';
|
||||
const memo = item.memo || '';
|
||||
|
||||
if (event === 'admin_recharge' || eventText === '后台-积分充值' || eventText === '后台-余额充值' || eventText === '合约调用') {
|
||||
if (!memo || memo === '后台管理调整余额' || memo === '后台管理调整积分' || memo === '合约调用') {
|
||||
return '合约调用';
|
||||
}
|
||||
return `合约调用-${memo}`;
|
||||
}
|
||||
|
||||
return `${eventText}${memo ? '-' + memo : ''}`;
|
||||
}
|
||||
|
||||
const tabMaps = [
|
||||
{
|
||||
name: '全部',
|
||||
|
||||
在新工单中引用
屏蔽一个用户