diff --git a/src/pages/Customer/Card/CustomerConsigneeCreate.vue b/src/pages/Customer/Card/CustomerConsigneeCreate.vue new file mode 100644 index 000000000..69d478b6f --- /dev/null +++ b/src/pages/Customer/Card/CustomerConsigneeCreate.vue @@ -0,0 +1,241 @@ + + + + + +es: + Default: Predeterminado + Consignee: Consignatario + Street address: Dirección postal + Postcode: Código postal + City: Población + Province: Provincia + Agency: Agencia + Phone: Teléfono + Mobile: Movíl + Incoterms: Incoterms + Customs agent: Agente de aduanas + diff --git a/src/pages/Customer/Card/CustomerConsigneeEdit.vue b/src/pages/Customer/Card/CustomerConsigneeEdit.vue new file mode 100644 index 000000000..6546c527d --- /dev/null +++ b/src/pages/Customer/Card/CustomerConsigneeEdit.vue @@ -0,0 +1,3 @@ + diff --git a/src/pages/Customer/Card/CustomerConsignees.vue b/src/pages/Customer/Card/CustomerConsignees.vue index bab2bd1ff..5abe89589 100644 --- a/src/pages/Customer/Card/CustomerConsignees.vue +++ b/src/pages/Customer/Card/CustomerConsignees.vue @@ -1,3 +1,113 @@ + + + + + + +es: + Is equalizated: Recargo de equivalencia + Is logiflora allowed: Compra directa en Holanda + New consignee: Nuevo consignatario + diff --git a/src/router/modules/customer.js b/src/router/modules/customer.js index 3c8445f42..752c486ee 100644 --- a/src/router/modules/customer.js +++ b/src/router/modules/customer.js @@ -152,13 +152,42 @@ export default { }, { path: 'consignees', - name: 'CustomerConsignees', - meta: { - title: 'consignees', - icon: 'vn:delivery', - }, - component: () => - import('src/pages/Customer/Card/CustomerConsignees.vue'), + name: 'ConsigneesCard', + redirect: { name: 'CustomerConsignees' }, + children: [ + { + path: '', + name: 'CustomerConsignees', + meta: { + icon: 'vn:delivery', + title: 'consignees', + }, + component: () => + import('src/pages/Customer/Card/CustomerConsignees.vue'), + }, + { + path: 'create', + name: 'CustomerConsigneeCreate', + meta: { + title: 'consignee-create', + }, + component: () => + import( + 'src/pages/Customer/Card/CustomerConsigneeCreate.vue' + ), + }, + { + path: 'edit', + name: 'CustomerConsigneeEdit', + meta: { + title: 'consignee-edit', + }, + component: () => + import( + 'src/pages/Customer/Card/CustomerConsigneeEdit.vue' + ), + }, + ], }, { path: 'notes',