15061959991 1adf627c0d feat: 财务系统二次开发 - 营销账户账单功能
- 基础环境:Docker 部署配置,源码挂载实时同步
- 修复:super_admin 权限补全、登录重定向循环
- 开发:店铺营销账户账单 - 抖音账户(15字段汇总账单)
- 开发:店铺营销账户账单 - 淘系支付宝账户(8字段流水账单)
- 开发:店铺营销账户账单 - 拼多多账户(7字段流水账单)
- 业务页面导航集成:config/business_navigation.php + Business\Pages 控制器
- 各平台独立表结构和视图,互不影响
2026-07-21 18:43:52 +08:00

61 lines
2.2 KiB
PHP

@if (! $attributes->has('withoutAddNew') && ! $attributes->has('without-add-new'))
<x-form.group.select
add-new
:path="$path"
name="{{ $name }}"
label="{{ trans_choice('general.accounts', 1) }}"
:options="$accounts"
:option_field="[
'key' => 'id',
'value' => 'title'
]"
:selected="$selected"
:required="$required"
change="onChangeAccount"
form-group-class="{{ $formGroupClass }}"
option-style="height: 4rem;"
{{ $attributes }}
>
<template #option="{option}">
<span class="w-full flex h-16 items-center">
<div class="w-12 h-12 flex items-center justify-center text-2xl font-regular border border-gray-300 rounded-full p-6">
@{{ option.option.initials }}
</div>
<div class="flex flex-col text-black text-sm font-medium ltr:ml-2 rtl:mr-2 sm:ltr:ml-4 sm:rtl:mr-4">
<span>@{{ option.option.title }}</span>
<span>@{{ option.option.number }}</span>
</div>
</span>
</template>
</x-form.group.select>
@else
<x-form.group.select
name="{{ $name }}"
label="{{ trans_choice('general.accounts', 1) }}"
:options="$accounts"
:option_field="[
'key' => 'id',
'value' => 'title'
]"
:selected="$selected"
:required="$required"
change="onChangeAccount"
form-group-class="{{ $formGroupClass }}"
option-style="height: 4rem;"
{{ $attributes }}
>
<template #option="{option}">
<span class="w-full flex h-16 items-center">
<div class="w-12 h-12 flex items-center justify-center text-2xl font-regular border border-gray-300 rounded-full p-6">
@{{ option.option.initials }}
</div>
<div class="flex flex-col text-black text-sm font-medium ltr:ml-2 rtl:mr-2 sm:ltr:ml-4 sm:rtl:mr-4">
<span>@{{ option.option.title }}</span>
<span>@{{ option.option.number }}</span>
</div>
</span>
</template>
</x-form.group.select>
@endif