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