forked from yoone/WEB
1
0
Fork 0

开放客户列表

This commit is contained in:
cll 2025-07-21 09:27:02 +08:00
parent b5d05bfc65
commit f32d2d2879
2 changed files with 6 additions and 1 deletions

View File

@ -116,7 +116,6 @@ export default defineConfig({
{ {
name: '客户管理', name: '客户管理',
path: '/customer', path: '/customer',
access: 'canSeeAdmin',
routes: [ routes: [
{ {
name: '客户列表', name: '客户列表',

View File

@ -89,6 +89,12 @@ const ListPage: React.FC = () => {
hideInSearch: true, hideInSearch: true,
sorter: true, sorter: true,
}, },
{
title: 'phone',
dataIndex: 'phone',
hideInSearch: true,
render: (_, record) => record?.billing.phone || record?.shipping.phone,
},
{ {
title: 'state', title: 'state',
dataIndex: 'state', dataIndex: 'state',