From 6e935cb91f9891d6eaf2d8e2838d8133a375b8f0 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 21 Mar 2023 14:54:28 +0100 Subject: [PATCH] feat(claim): added claim lines section --- src/pages/Claim/Card/ClaimDescriptor.vue | 4 +- src/pages/Claim/Card/ClaimLines.vue | 269 +++++++++++++++++++++++ src/router/modules/claim.js | 11 +- 3 files changed, 281 insertions(+), 3 deletions(-) create mode 100644 src/pages/Claim/Card/ClaimLines.vue diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index aa78776a9..a0e68b0ae 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -72,9 +72,9 @@ function stateColor(code) { {{ t('claim.card.state') }} - + {{ entity.claimState.description }} - + diff --git a/src/pages/Claim/Card/ClaimLines.vue b/src/pages/Claim/Card/ClaimLines.vue new file mode 100644 index 000000000..62a9676e4 --- /dev/null +++ b/src/pages/Claim/Card/ClaimLines.vue @@ -0,0 +1,269 @@ + + + + + + +es: + Delivered: Entregado + Quantity: Cantidad + Claimed: Reclamada + Description: DescripciĆ³n + Price: Precio + Discount: Descuento + Actions: Acciones + Amount: Total + Amount Claimed: Cantidad reclamada + Delete claimed sale: Eliminar venta reclamada + diff --git a/src/router/modules/claim.js b/src/router/modules/claim.js index 0e8222cc5..77ef8551a 100644 --- a/src/router/modules/claim.js +++ b/src/router/modules/claim.js @@ -11,7 +11,7 @@ export default { redirect: { name: 'ClaimMain' }, menus: { main: ['ClaimList', 'ClaimRmaList'], - card: ['ClaimBasicData', 'ClaimRma', 'ClaimPhotos', 'ClaimLog'], + card: ['ClaimBasicData', 'ClaimLines', 'ClaimRma', 'ClaimPhotos', 'ClaimLog'], }, children: [ { @@ -85,6 +85,15 @@ export default { }, component: () => import('src/pages/Claim/Card/ClaimPhoto.vue'), }, + { + name: 'ClaimLines', + path: 'lines', + meta: { + title: 'lines', + icon: 'history', + }, + component: () => import('src/pages/Claim/Card/ClaimLines.vue'), + }, { name: 'ClaimLog', path: 'log',