|
|
@@ -30,7 +30,16 @@
|
|
|
<app-table-details :title="t('report.fundsinfo')" :data="taaccount" :label-width="180" :cell-props="taDetailProps" :column="2" />
|
|
|
<fieldset class="g-fieldset">
|
|
|
<legend class="g-fieldset__legend">{{ t('report.inoutamountdetail') }}</legend>
|
|
|
- <app-table :data="logs" v-model:columns="logsTableColumns" />
|
|
|
+ <app-table :data="logs" v-model:columns="logsTableColumns">
|
|
|
+ <!-- executetype -->
|
|
|
+ <template #executetype="{ value }">
|
|
|
+ {{ getInOutExecuteTypeName(value) }}
|
|
|
+ </template>
|
|
|
+ <!-- applystatus -->
|
|
|
+ <template #applystatus="{ value }">
|
|
|
+ {{ getInOutApplyStatusName(value) }}
|
|
|
+ </template>
|
|
|
+ </app-table>
|
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset">
|
|
|
<legend class="g-fieldset__legend">{{ t('report.ordersumary') }}</legend>
|
|
|
@@ -67,7 +76,7 @@ import { useLoginStore, useAccountStore, useUserStore, i18n } from '@/stores'
|
|
|
import { formatDate } from '@/filters'
|
|
|
import { localData } from '@/stores/storage'
|
|
|
import { queryMarketRun } from '@/services/api/market'
|
|
|
-import { getCurrencyName, getBuyOrSellName, getBuildTypeName } from '@/constants/order'
|
|
|
+import { getCurrencyName, getBuyOrSellName, getBuildTypeName, getInOutExecuteTypeName, getInOutApplyStatusName } from '@/constants/order'
|
|
|
import { queryReportBankAccountOutInLog, queryReportMonthTaaccount, queryReportReckonDayPosition, queryReportReckonDayTaaccount, queryReportTradeDetail } from '@/services/api/report'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
@@ -226,9 +235,9 @@ const taDetailProps = [
|
|
|
/// 出入金明细
|
|
|
const logsTableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
{ field: 'updatetime', label: 'report.bank.updatetime' },
|
|
|
- { field: 'executetypedisplay', label: 'report.bank.executetypedisplay' },
|
|
|
+ { field: 'executetype', label: 'report.bank.executetypedisplay' },
|
|
|
{ field: 'amount', label: 'report.bank.amount' },
|
|
|
- { field: 'applystatusdisplay', label: 'report.bank.applystatusdisplay' },
|
|
|
+ { field: 'applystatus', label: 'report.bank.applystatusdisplay' },
|
|
|
])
|
|
|
|
|
|
/// 持仓汇总
|