refactor: edit columnsCustomer
This commit is contained in:
parent
39b117fa10
commit
1d2e3fd4f8
1 changed files with 33 additions and 11 deletions
|
|
@ -78,38 +78,60 @@ export const columnsEmployee = [
|
||||||
] satisfies QTableProps['columns'];
|
] satisfies QTableProps['columns'];
|
||||||
|
|
||||||
export const columnsCustomer = [
|
export const columnsCustomer = [
|
||||||
|
{
|
||||||
|
name: 'orderNumber',
|
||||||
|
align: 'center',
|
||||||
|
label: 'customer.table.orderNumber',
|
||||||
|
field: 'branchNo',
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'customerName',
|
name: 'customerName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'corporation',
|
label: 'customer.table.fullname',
|
||||||
field: 'customerName',
|
field: 'customerName',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'type',
|
name: 'type',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: 'type',
|
label: 'customer.table.businessTypePure',
|
||||||
field: 'customerType',
|
field: 'customerType',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'personName',
|
name: 'address',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'name',
|
label: 'customer.table.address',
|
||||||
field: 'personName',
|
field: 'address',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'telephoneNo',
|
name: 'workPlace',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'telephone',
|
label: 'customer.table.workPlace',
|
||||||
field: 'branch[0].telephoneNo',
|
field: 'workPlace',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'branchEmail',
|
name: 'contactName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'formDialogInputEmail',
|
label: 'customer.table.contactName',
|
||||||
field: 'branch[0].email',
|
field: 'contactName',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'contactPhone',
|
||||||
|
align: 'left',
|
||||||
|
label: 'customer.table.contactPhone',
|
||||||
|
field: 'contactPhone',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'action',
|
||||||
|
label: '',
|
||||||
|
field: 'action',
|
||||||
},
|
},
|
||||||
] satisfies QTableProps['columns'];
|
] satisfies QTableProps['columns'];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue