feat(pickup): 新增管理员线下提号功能
- 新建 admin_pickups 表独立于 rental_orders,不污染订单状态机与财务统计口径 - 提号中/已完成/已取消三态:创建锁定账号,完成时给卖家钱包加可用余额并下架 listing,取消解锁账号 - 完成时 listing 置 completed,复用现有 listingLockedForOwnerMutation 拦截再上架 - 管理端提号管理页(列表/创建/完成/取消/可提号账号搜索)+ 卖家端提号记录页 - 财务仪表盘新增线下提号独立统计块,与正常订单口径分离 - 钱包流水 label、状态标签、菜单入口同步补齐 - 优化卖家服务悬浮菜单为一行四个,尺寸与配色对齐买家服务
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
Service,
|
||||
Shop,
|
||||
Setting,
|
||||
Switch,
|
||||
SwitchButton,
|
||||
Tickets,
|
||||
Tools,
|
||||
@@ -89,6 +90,12 @@ const allNavGroups: NavGroup[] = [
|
||||
icon: Money,
|
||||
permission: 'order:close',
|
||||
},
|
||||
{
|
||||
label: '线下提号',
|
||||
to: adminPath('pickup'),
|
||||
icon: Switch,
|
||||
permission: 'order:pickup',
|
||||
},
|
||||
{ label: '商品管理', to: adminPath('listings'), icon: Shop, permission: 'listing:view' },
|
||||
{
|
||||
label: '商品审核',
|
||||
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
Service,
|
||||
Shop,
|
||||
Star,
|
||||
Switch,
|
||||
SwitchButton,
|
||||
Tickets,
|
||||
UserFilled,
|
||||
@@ -48,6 +49,7 @@ const buyerServiceItems = [
|
||||
const sellerServiceItems = [
|
||||
{ label: '发布商品', icon: CirclePlus, to: '/seller/listings/create' },
|
||||
{ label: '我的商品', icon: Shop, to: '/seller/listings' },
|
||||
{ label: '提号记录', icon: Switch, to: '/seller/pickups' },
|
||||
{ label: '提现/账单', icon: Wallet, to: '/wallet' },
|
||||
]
|
||||
|
||||
@@ -886,27 +888,27 @@ async function handleSupportClick() {
|
||||
|
||||
.dropdown-seller-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dropdown-seller-card {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
min-height: 74px;
|
||||
place-items: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 72px;
|
||||
padding: 10px 6px;
|
||||
gap: 6px;
|
||||
padding: 8px 4px;
|
||||
border-radius: 10px;
|
||||
background: #f8fafc;
|
||||
color: #475569;
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dropdown-seller-card .el-icon {
|
||||
color: #94a3b8;
|
||||
color: #ff6a00;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user