+
+
{{ rechangeForm.channelName }}
+
+
-
-
-
-
-
- 上一步
- 确认支付
+
+
支持货币: {{ rechangeForm.currencySymbol }}
+
+
+
+
+
收款信息
+
+
+ 账户持有人姓名
+ {{ rechangeForm.beneficiaryName }}
+
+
+ 银行名称
+ {{ rechangeForm.beneficiaryBankName }}
+
+
+ 银行识别代码
+ {{ rechangeForm.swiftBicCode }}
+
+
+ 收款人银行账号
+ {{ rechangeForm.beneficiaryBankAccount }}
+
+
+ 银行地址
+ {{ rechangeForm.beneficiaryBankAddress }}
+
+
+
+
+
+
+
+
+
收款信息
+
+ 钱包收款地址
+ {{ rechangeForm.address }}
+
+
+
+
+
+
+
+
+ {{ rechangeForm.currencySymbol }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+ 确认充值
+
diff --git a/src/views/capital/rechange/options.ts b/src/views/capital/rechange/options.ts
index bc51d7b..2cd2b6b 100644
--- a/src/views/capital/rechange/options.ts
+++ b/src/views/capital/rechange/options.ts
@@ -1,12 +1,11 @@
-// 存款列表表格列配置:当前页面仍然保留列表 + 行内操作按钮的结构。
+// 存款列表表格列配置
export const rechangeTableColumns = [
- { prop: 'depositChannel', label: '存款渠道', align: 'center' as const },
- { prop: 'channelName', label: '渠道名称', align: 'center' as const },
- { prop: 'supportedCurrency', label: '支持货币', align: 'center' as const },
- { prop: 'processingTime', label: '预计处理时间', align: 'center' as const },
- { prop: 'singleAmount', label: '单笔存款金额', align: 'center' as const },
+ { prop: 'name', label: '渠道名称', align: 'center' as const },
+ {
+ prop: 'currency.symbol',
+ label: '支持货币',
+ align: 'center' as const
+ },
+ { prop: 'channel_fee', label: '渠道费用', align: 'center' as const },
{ label: '操作', slotName: 'action', align: 'center' as const, width: 120 },
]
-
-// 存款弹窗快捷金额:点击后直接回填到金额输入框。
-export const rechangeQuickAmounts = ['100.00', '500.00', '1000.00', '2000.00', '5000.00']
diff --git a/src/views/capital/rechangeChanl/index.vue b/src/views/capital/rechangeChanl/index.vue
index c84b47c..33ffdbc 100644
--- a/src/views/capital/rechangeChanl/index.vue
+++ b/src/views/capital/rechangeChanl/index.vue
@@ -92,7 +92,9 @@ const formData = ref({
beneficiary_name: '',
beneficiary_bank_name: '',
swift_bic_code: '',
+ beneficiary_bank_account: '',
beneficiary_bank_address: '',
+ address: '',
channel_code: '',
status: 1,
})
@@ -128,7 +130,9 @@ const resetFormData = () => {
beneficiary_name: '',
beneficiary_bank_name: '',
swift_bic_code: '',
+ bank_account: '',
beneficiary_bank_address: '',
+ address: '',
channel_code: '',
}
}
@@ -195,3 +199,4 @@ onMounted(() => {
}
}
+
diff --git a/src/views/capital/rechangeChanl/options.ts b/src/views/capital/rechangeChanl/options.ts
index 505d1e2..017288a 100644
--- a/src/views/capital/rechangeChanl/options.ts
+++ b/src/views/capital/rechangeChanl/options.ts
@@ -52,12 +52,24 @@ export const formItemsData = [
type: 'input',
placeholder: '请输入银行识别代码',
},
+ {
+ label: '银行账号',
+ prop: 'beneficiary_bank_account',
+ type: 'input',
+ placeholder: '请输入银行账号',
+ },
{
label: '银行地址',
prop: 'beneficiary_bank_address',
type: 'input',
placeholder: '请输入银行地址',
},
+ {
+ label: 'U钱包收款地址',
+ prop: 'address',
+ type: 'input',
+ placeholder: '请输入U钱包收款地址',
+ },
{ label: '渠道编码', prop: 'channel_code', type: 'input', placeholder: '请输入渠道编码' },
{ label: '状态', prop: 'status', type: 'radio' },
]
@@ -73,7 +85,9 @@ export const formRulesData = {
beneficiary_name: [{ required: true, message: '请输入账户持有人姓名', trigger: ['change'] }],
beneficiary_bank_name: [{ required: true, message: '请输入银行名称', trigger: ['change'] }],
swift_bic_code: [{ required: true, message: '请输入银行识别代码', trigger: ['change'] }],
+ beneficiary_bank_account: [{ required: true, message: '请输入银行账号', trigger: ['change'] }],
beneficiary_bank_address: [{ required: true, message: '请输入银行地址', trigger: ['change'] }],
+ address: [{ required: true, message: '请输入U钱包收款地址', trigger: ['change'] }],
channel_code: [{ required: true, message: '请输入渠道编码', trigger: ['change'] }],
}
diff --git a/src/views/profile/business/index.vue b/src/views/profile/business/index.vue
index 0d83447..2457b70 100644
--- a/src/views/profile/business/index.vue
+++ b/src/views/profile/business/index.vue
@@ -190,7 +190,14 @@ const marketForm = ref({
})
const marketFormRules = rules(marketForm.value)
const marketFormRef = ref()
-const marketFormItemOptions = ref(marketFormItem)
+const marketFormItemOptions = computed(() => {
+ return marketFormItem.map((item) => {
+ if (item.prop === 'parentAccountName' || item.prop === 'level') {
+ return { ...item, disabled: dialogType.value === 'edit' }
+ }
+ return item
+ })
+})
interface SelectOption {
label: string
value: string | number
diff --git a/src/views/profile/business/options.ts b/src/views/profile/business/options.ts
index a25e2c7..69f7427 100644
--- a/src/views/profile/business/options.ts
+++ b/src/views/profile/business/options.ts
@@ -58,7 +58,7 @@ export const marketFormItem = [
//级别
{ label: '级别', prop: 'level', type: 'select' as const, placeholder: '请选择级别' },
//所属上级
- { label: '所属上级', prop: 'parentAccountName', type: 'select' as const, placeholder: '请选择所属上级账户名称', },
+ { label: '所属上级', prop: 'parentAccountName', type: 'select' as const, placeholder: '请选择所属上级账户名称' },
// 风控模板
{ label: '风控模板', prop: 'riskControlTemplate', type: 'select' as const, placeholder: '请选择风控模板' },
//头寸