feat(consignment): 苏尔南寄卖接入打手端押金履约
打手可直接提报寄卖,关联 worker 与履约押金后指派交枪;后台去掉旧收集链接管理,提报审核与库存/工单流程对齐接单平台。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
ContainerOutlined,
|
||||
DollarCircleOutlined,
|
||||
LogoutOutlined,
|
||||
SafetyCertificateOutlined,
|
||||
ShoppingOutlined,
|
||||
@@ -31,12 +32,14 @@ const menuItems: MenuProps['items'] = [
|
||||
{ key: '/hall', icon: <ShoppingOutlined />, label: '抢单大厅' },
|
||||
{ key: '/orders', icon: <ContainerOutlined />, label: '我的订单' },
|
||||
{ key: '/orders/after-sales', icon: <SafetyCertificateOutlined />, label: '售后问题单' },
|
||||
{ key: '/consignment', icon: <DollarCircleOutlined />, label: '我要寄卖' },
|
||||
{ key: '/profile', icon: <UserOutlined />, label: '个人中心' },
|
||||
]
|
||||
|
||||
const tabItems = [
|
||||
{ key: '/hall', icon: ShoppingOutlined, label: '抢单大厅' },
|
||||
{ key: '/orders', icon: ContainerOutlined, label: '我的订单' },
|
||||
{ key: '/consignment', icon: DollarCircleOutlined, label: '我要寄卖' },
|
||||
{ key: '/profile', icon: UserOutlined, label: '个人中心' },
|
||||
]
|
||||
|
||||
@@ -84,6 +87,7 @@ export default function WorkerLayout() {
|
||||
</span>
|
||||
),
|
||||
},
|
||||
{ key: '/consignment', icon: <DollarCircleOutlined />, label: '我要寄卖' },
|
||||
{ key: '/profile', icon: <UserOutlined />, label: '个人中心' },
|
||||
],
|
||||
[afterSalesPendingCount],
|
||||
@@ -552,6 +556,7 @@ function isRecord(value: unknown): value is Record<string, unknown> {
|
||||
function resolveSelectedKey(pathname: string) {
|
||||
if (pathname.startsWith('/orders/after-sales')) return '/orders/after-sales'
|
||||
if (pathname.startsWith('/orders')) return '/orders'
|
||||
if (pathname.startsWith('/consignment')) return '/consignment'
|
||||
if (pathname.startsWith('/profile')) return '/profile'
|
||||
return '/hall'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user