This commit is contained in:
mkm 2024-01-06 15:27:07 +08:00
parent 55427805f0
commit c59d31c4f4

View File

@ -163,8 +163,8 @@ class FinancialRepository extends BaseRepository
Elm::radio('financial_type', '转账类型:', $merchant->financial_type) Elm::radio('financial_type', '转账类型:', $merchant->financial_type)
->setOptions([ ->setOptions([
['value' => 1, 'label' => '银行卡'], ['value' => 1, 'label' => '银行卡'],
['value' => 2, 'label' => '微信'], // ['value' => 2, 'label' => '微信'],
['value' => 3, 'label' => '支付宝'], // ['value' => 3, 'label' => '支付宝'],
])->control([ ])->control([
[ [
'value' => 1, 'value' => 1,
@ -189,54 +189,54 @@ class FinancialRepository extends BaseRepository
], ],
] ]
], ],
[ // [
'value' => 2, // 'value' => 2,
'rule'=> [ // 'rule'=> [
[ // [
'type' => 'span', // 'type' => 'span',
'title' => '姓名', // 'title' => '姓名',
'native' => false, // 'native' => false,
'children' => [$merchant->financial_wechat->name??'未填写'] // 'children' => [$merchant->financial_wechat->name??'未填写']
], // ],
[ // [
'type' => 'span', // 'type' => 'span',
'title' => '微信号', // 'title' => '微信号',
'native' => false, // 'native' => false,
'children' => [$merchant->financial_wechat->wechat??'未填写'] // 'children' => [$merchant->financial_wechat->wechat??'未填写']
], // ],
[ // [
'type' => 'img', // 'type' => 'img',
'title' => '收款二维码', // 'title' => '收款二维码',
'native' => false, // 'native' => false,
'attrs' => ['src' => $merchant->financial_wechat->wechat_code ?? ''], // 'attrs' => ['src' => $merchant->financial_wechat->wechat_code ?? ''],
'style' => ['width' => '86px','height' => '48px'] // 'style' => ['width' => '86px','height' => '48px']
], // ],
] // ]
], // ],
[ // [
'value' => 3, // 'value' => 3,
'rule'=> [ // 'rule'=> [
[ // [
'type' => 'span', // 'type' => 'span',
'title' => '姓名', // 'title' => '姓名',
'native' => false, // 'native' => false,
'children' => [$merchant->financial_alipay->name??'未填写'] // 'children' => [$merchant->financial_alipay->name??'未填写']
], // ],
[ // [
'type' => 'span', // 'type' => 'span',
'title' => '支付宝账号', // 'title' => '支付宝账号',
'native' => false, // 'native' => false,
'children' => [$merchant->financial_alipay->alipay??'未填写'] // 'children' => [$merchant->financial_alipay->alipay??'未填写']
], // ],
[ // [
'type' => 'img', // 'type' => 'img',
'title' => '收款二维码', // 'title' => '收款二维码',
'native' => false, // 'native' => false,
'attrs' => ['src' => $merchant->financial_alipay->alipay_code ?? ''], // 'attrs' => ['src' => $merchant->financial_alipay->alipay_code ?? ''],
'style' => ['width' => '86px','height' => '48px'] // 'style' => ['width' => '86px','height' => '48px']
], // ],
] // ]
], // ],
]), ]),
Elm::number('extract_money', '申请金额:')->value($extract_minimum_num)->required(), Elm::number('extract_money', '申请金额:')->value($extract_minimum_num)->required(),