|
|
@@ -152,8 +152,29 @@ class RechargeList extends \common\libs\dataList\DataList implements DataListInt
|
|
|
'BANK_NO' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelsListsFinanceRechargeListgetColumnBankNo')],// 汇款账号
|
|
|
'AMOUNT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelsListsFinanceRechargeListgetColumnAmount')],// 充值金额
|
|
|
'CREATED_AT' => ['isUserTable' => false, 'name' => \Yii::t('ctx', 'modelsListsFinanceRechargeListgetColumnCreatedAt'), 'other' => 'date'],// 申请时间
|
|
|
+ //4047 (2026/3/24 16:54 Ryan)
|
|
|
+ 'COUNTRY_NAME' => [
|
|
|
+ 'name' => \Yii::t('ctx', 'modelListFinanceBalanceAuditListCountryName'), // 国家
|
|
|
+ 'other'=> 'select',
|
|
|
+ 'selectData'=> self::getCountry()
|
|
|
+ ],
|
|
|
];
|
|
|
}
|
|
|
return $this->filterTypes;
|
|
|
}
|
|
|
+
|
|
|
+ public function getCountry()
|
|
|
+ {
|
|
|
+ $countries = Countries::getFromCache();
|
|
|
+
|
|
|
+ $data = [];
|
|
|
+ foreach ($countries as $country) {
|
|
|
+ $data[] = [
|
|
|
+ 'id' => $country['ID'],
|
|
|
+ 'name' => $country['NAME'],
|
|
|
+ ];
|
|
|
+ }
|
|
|
+
|
|
|
+ return $data;
|
|
|
+ }
|
|
|
}
|