fixadd
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

This commit is contained in:
2026-01-05 10:48:05 +08:00
parent 1d17926c70
commit f70d33a7d3

View File

@@ -45,9 +45,9 @@ const getFormSchema = (): VbenFormSchema[] => [
addonBefore: '¥', addonBefore: '¥',
}, },
}, },
// 银行卡提现特有字段:扣税金额 // 银行卡和支付宝通用字段:扣税金额
{ {
component: 'InputNumber', component: 'InputNumber' ,
fieldName: 'tax_amount', fieldName: 'tax_amount',
label: '扣税金额', label: '扣税金额',
componentProps: { componentProps: {
@@ -57,12 +57,8 @@ const getFormSchema = (): VbenFormSchema[] => [
style: { width: '100%' }, style: { width: '100%' },
addonBefore: '¥', addonBefore: '¥',
}, },
dependencies: {
show: (values) => values.withdraw_type === '银行卡',
triggerFields: ['withdraw_type'],
},
}, },
// 银行卡提现特有字段:实际转账金额 // 银行卡和支付宝通用字段:实际转账金额
{ {
component: 'InputNumber', component: 'InputNumber',
fieldName: 'actual_amount', fieldName: 'actual_amount',
@@ -74,10 +70,6 @@ const getFormSchema = (): VbenFormSchema[] => [
style: { width: '100%' }, style: { width: '100%' },
addonBefore: '¥', addonBefore: '¥',
}, },
dependencies: {
show: (values) => values.withdraw_type === '银行卡',
triggerFields: ['withdraw_type'],
},
}, },
// 银行卡和支付宝都有:收款账号 // 银行卡和支付宝都有:收款账号
{ {