-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
+
+
+
+
+ 导出
+
+
+
+
+
+
+
diff --git a/src/views/capital/fundFlow/options.ts b/src/views/capital/fundFlow/options.ts
index da227c6..2e2281c 100644
--- a/src/views/capital/fundFlow/options.ts
+++ b/src/views/capital/fundFlow/options.ts
@@ -2,54 +2,74 @@
* @description: 搜索配置
*/
export const search = [
- //单号
- // { prop: 'orderNo', label: '单号', type: 'input' as const, placeholder: '请输入流水单号', width: '140px' },
- //用户名
- { prop: 'username', label: '用户名', type: 'input' as const, placeholder: '请输入用户名', width: '140px' },
- // 子账号
- { prop: 'subAccountId', label: '子账号ID', type: 'input' as const, placeholder: '请输入子账号ID', width: '140px' },
- //操作类型
- // { prop: 'type', label: '操作类型', type: 'select' as const, placeholder: '请选择操作类型', width: '140px', options: [
- // {label:"充值",value:"1"},
- // {label:"提现",value:"2"},
- // ] },
- //钱包
- // { prop: 'wallet', label: '钱包', type: 'select' as const, placeholder: '请选择钱包', width: '140px', options: [
- // {label:"主钱包",value:"1"},
- // {label:"子钱包",value:"2"},
- // ] },
- //开始时间
- {
- prop: 'startTime', label: '开始时间', type: 'date' as const, dateType: 'date' as const, // 时间范围选择器
- valueFormat: 'YYYY-MM-DD', placeholder: '请选择开始时间', width: '150px'
- },
- //结束时间
- {
- prop: 'endTime', label: '结束时间', type: 'date' as const, dateType: 'date' as const, // 时间范围选择器
- valueFormat: 'YYYY-MM-DD', placeholder: '请选择结束时间', width: '150px'
- },
-
-
+ //单号
+ // { prop: 'orderNo', label: '单号', type: 'input' as const, placeholder: '请输入流水单号', width: '140px' },
+ //用户名
+ {
+ prop: 'username',
+ label: '用户名',
+ type: 'input' as const,
+ placeholder: '请输入用户名',
+ width: '220px',
+ },
+ // 子账号
+ {
+ prop: 'subAccountId',
+ label: '子账号ID',
+ type: 'input' as const,
+ placeholder: '请输入子账号ID',
+ width: '220px',
+ },
+ //操作类型
+ // { prop: 'type', label: '操作类型', type: 'select' as const, placeholder: '请选择操作类型', width: '140px', options: [
+ // {label:"充值",value:"1"},
+ // {label:"提现",value:"2"},
+ // ] },
+ //钱包
+ // { prop: 'wallet', label: '钱包', type: 'select' as const, placeholder: '请选择钱包', width: '140px', options: [
+ // {label:"主钱包",value:"1"},
+ // {label:"子钱包",value:"2"},
+ // ] },
+ //开始时间
+ {
+ prop: 'startTime',
+ label: '开始时间',
+ type: 'date' as const,
+ dateType: 'date' as const, // 时间范围选择器
+ valueFormat: 'YYYY-MM-DD',
+ placeholder: '请选择开始时间',
+ width: '220px',
+ },
+ //结束时间
+ {
+ prop: 'endTime',
+ label: '结束时间',
+ type: 'date' as const,
+ dateType: 'date' as const, // 时间范围选择器
+ valueFormat: 'YYYY-MM-DD',
+ placeholder: '请选择结束时间',
+ width: '220px',
+ },
]
export const tableColumns = [
- // 用户名
- { prop: 'username', label: '用户名' },
- //单号
- { prop: 'orderNo', label: '单号' },
- //操作类型
- { prop: 'type', label: '操作类型' },
- //资金流向
- // { prop: 'fundDirection', label: '资金流向' },
- //原有金额
- { prop: 'originalAmount', label: '原有金额' },
- //余额变动
- { prop: 'balanceChange', label: '余额变动' },
- //现有余额
- // { prop: 'currentBalance', label: '现有余额' },
- //状态
- // { prop: 'status', label: '状态' },
- //创建时间
- { prop: 'createTime', label: '创建时间' },
- //钱包类型
- { prop: 'walletType', label: '钱包类型' },
+ // 用户名
+ { prop: 'username', label: '用户名' },
+ //单号
+ { prop: 'orderNo', label: '单号' },
+ //操作类型
+ { prop: 'type', label: '操作类型' },
+ //资金流向
+ // { prop: 'fundDirection', label: '资金流向' },
+ //原有金额
+ { prop: 'amount', label: '变动金额' },
+ //余额变动
+ { prop: 'balance', label: '变动后余额' },
+ //现有余额
+ // { prop: 'currentBalance', label: '现有余额' },
+ //状态
+ // { prop: 'status', label: '状态' },
+ //创建时间
+ { prop: 'createTime', label: '创建时间' },
+ //钱包类型
+ { prop: 'walletType', label: '钱包类型' },
]
\ No newline at end of file
diff --git a/src/views/profile/agent/index.vue b/src/views/profile/agent/index.vue
index 33ef40c..c8c127d 100644
--- a/src/views/profile/agent/index.vue
+++ b/src/views/profile/agent/index.vue
@@ -394,7 +394,7 @@ const handleSubmit = async () => {
}
//转换为接口需要的格式 { id: assignedPointDifference }
const marginRatioJSON = marginRatioTree.value.reduce((acc: any, cur: any) => {
- acc[cur.id] = cur.assignedPointDifference
+ acc[cur.id] = cur.assignedPointDifference * 1
return acc
}, {})
diff --git a/src/views/profile/business/index.vue b/src/views/profile/business/index.vue
index d46783d..aa4a13e 100644
--- a/src/views/profile/business/index.vue
+++ b/src/views/profile/business/index.vue
@@ -251,9 +251,9 @@ const mapMarketTree = (data: any) => {
margin: item.wallet_capital.bail, //保证金
stopOrderMargin: item.wallet_capital.bail_stop_order, //停止接单保证金
positionTransferMargin: item.wallet_capital.bail_change_order, //持仓转移保证金
- positionRatio: item.wallet_capital.toucun_percent, //头寸比率
+ positionRatio: (item.wallet_capital.toucun_percent * 1).toFixed(2), //头寸比率
pointSpreadCommission: item.wallet_capital.commission_point_diff, //点差返佣
- commissionRatio: item.wallet_capital.fee_handling_percent, //手续费比例
+ commissionRatio: (item.wallet_capital.fee_handling_percent * 1).toFixed(2), //手续费比例
commissionReturn: item.wallet_capital.commission_fee_handling, //手续费返佣
floatProfitLoss: '后续添加', //浮动盈亏
closeProfitLoss: item.wallet_capital.closing_profit, //平仓盈亏