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: '全部',
|
||||
|
||||
在新工单中引用
屏蔽一个用户