ryan 1 неделя назад
Родитель
Сommit
742254710b

+ 11 - 1
backendApi/modules/v1/models/lists/finance/WithdrawList.php

@@ -74,6 +74,15 @@ class WithdrawList extends \common\libs\dataList\DataList implements DataListInt
                     },
                     'headerOther' => ['width' => '190'],
                 ],
+                'PAID_AT' => [
+                    'header' => \Yii::t('ctx', 'modelListFinancePaidAt'), // 提现时间
+                    'value' => function ($row) {
+                        return (new DateTime([
+                            'value' => $row['PAID_AT'],
+                        ]))->result();
+                    },
+                    'headerOther' => ['width' => '190'],
+                ],
                 'AUDIT_STATUS' => null,
                 'AUDIT_STATUS_NAME' => [
                     'header' => \Yii::t('ctx', 'modelListFinanceWithdrawState'), // 提现状态
@@ -166,7 +175,8 @@ class WithdrawList extends \common\libs\dataList\DataList implements DataListInt
                 'SN' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceWithdrawSn')], // 提现流水号
                 'USER_NAME' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceBalanceAuditListUserName')], // 会员编号
                 'WITHDRAW_PERIOD_NUM' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceWithdrawPeriod')], // 提现期数
-                'CREATED_AT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceWithdrawWithdrawalTime'), 'other' => 'date'],  // 申请时间
+                'CREATED_AT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceWithdrawAt'), 'other' => 'date'],  // 申请时间
+                'PAID_AT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinancePaidAt'), 'other' => 'date'],  // 付款时间
                 'REAL_AMOUNT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceWithdrawRealAmount')], // 实际到账金额
 
                 'USER_REAL_NAME' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelListFinanceBalanceAuditListRealName')],

+ 1 - 0
common/messages/en-US/ctx.php

@@ -64,6 +64,7 @@ return [
     'modelListFinanceWithdrawSn'=>'Withdrawal serial number',
     'modelListFinanceWithdrawPeriod'=>'Period',
     'modelListFinanceWithdrawAt'=>'Withdrawal time',
+    'modelListFinancePaidAt'=>'Paid time',
     'modelListFinanceWithdrawState'=>'State',
     'modelListFinanceWithdrawAmount'=>'Withdrawal amount',
     'modelListFinanceWithdrawFees' => 'Bank charge',

+ 1 - 0
common/messages/zh-CN/ctx.php

@@ -64,6 +64,7 @@ return [
     'modelListFinanceWithdrawSn'=>'提现流水号',
     'modelListFinanceWithdrawPeriod'=>'提现期数',
     'modelListFinanceWithdrawAt'=>'提现时间',
+    'modelListFinancePaidAt'=>'付款时间',
     'modelListFinanceWithdrawState'=>'提现状态',
     'modelListFinanceWithdrawAmount'=>'提现金额',
     'modelListFinanceWithdrawFees' => '手续费',