forked from yoone/WEB
开放客户列表
This commit is contained in:
parent
b5d05bfc65
commit
f32d2d2879
|
|
@ -116,7 +116,6 @@ export default defineConfig({
|
||||||
{
|
{
|
||||||
name: '客户管理',
|
name: '客户管理',
|
||||||
path: '/customer',
|
path: '/customer',
|
||||||
access: 'canSeeAdmin',
|
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
name: '客户列表',
|
name: '客户列表',
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue