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'];
|
||||
|
||||
export const columnsCustomer = [
|
||||
{
|
||||
name: 'orderNumber',
|
||||
align: 'center',
|
||||
label: 'customer.table.orderNumber',
|
||||
field: 'branchNo',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'customerName',
|
||||
align: 'left',
|
||||
label: 'corporation',
|
||||
label: 'customer.table.fullname',
|
||||
field: 'customerName',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
{
|
||||
name: 'type',
|
||||
align: 'center',
|
||||
label: 'type',
|
||||
label: 'customer.table.businessTypePure',
|
||||
field: 'customerType',
|
||||
sortable: true,
|
||||
},
|
||||
|
||||
{
|
||||
name: 'personName',
|
||||
name: 'address',
|
||||
align: 'left',
|
||||
label: 'name',
|
||||
field: 'personName',
|
||||
label: 'customer.table.address',
|
||||
field: 'address',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'telephoneNo',
|
||||
name: 'workPlace',
|
||||
align: 'left',
|
||||
label: 'telephone',
|
||||
field: 'branch[0].telephoneNo',
|
||||
label: 'customer.table.workPlace',
|
||||
field: 'workPlace',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'branchEmail',
|
||||
name: 'contactName',
|
||||
align: 'left',
|
||||
label: 'formDialogInputEmail',
|
||||
field: 'branch[0].email',
|
||||
label: 'customer.table.contactName',
|
||||
field: 'contactName',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'contactPhone',
|
||||
align: 'left',
|
||||
label: 'customer.table.contactPhone',
|
||||
field: 'contactPhone',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'action',
|
||||
label: '',
|
||||
field: 'action',
|
||||
},
|
||||
] satisfies QTableProps['columns'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue