From 6839b5aac2e1916cbc8488185930146f85a702f7 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 17 Apr 2024 13:26:08 +0200 Subject: [PATCH 01/61] refactor: refs #6767 deleted
--- src/components/CreateBankEntityForm.vue | 52 +- src/components/CreateDepartmentChild.vue | 4 +- src/components/CreateManualInvoiceForm.vue | 106 ++-- src/components/CreateNewCityForm.vue | 32 +- src/components/CreateNewPostcodeForm.vue | 103 ++-- src/components/CreateNewProvinceForm.vue | 32 +- src/components/CreateThermographForm.vue | 77 ++- src/components/EditPictureForm.vue | 96 ++-- src/components/EditTableCellValueForm.vue | 22 +- src/components/FilterItemForm.vue | 74 ++- src/components/FilterTravelForm.vue | 74 ++- src/components/RegularizeStockForm.vue | 28 +- src/components/TransferInvoiceForm.vue | 124 +++-- src/components/ui/SkeletonForm.vue | 24 +- src/components/ui/SkeletonSummary.vue | 70 ++- src/components/ui/SkeletonTable.vue | 53 +- src/pages/Claim/Card/ClaimBasicData.vue | 140 +++--- src/pages/Customer/Card/CustomerBasicData.vue | 168 +++---- .../Customer/Card/CustomerBillingData.vue | 114 ++--- .../Customer/Card/CustomerFiscalData.vue | 153 +++--- src/pages/Customer/Card/CustomerWebAccess.vue | 38 +- src/pages/Customer/CustomerCreate.vue | 98 ++-- .../CustomerDefaulterAddObservation.vue | 12 +- .../components/CustomerConsigneeCreate.vue | 99 ++-- .../components/CustomerConsigneeEdit.vue | 141 +++--- .../components/CustomerCreditCreate.vue | 12 +- .../components/CustomerGreugeCreate.vue | 30 +- .../components/CustomerNewCustomsAgent.vue | 24 +- .../components/CustomerNewPayment.vue | 110 ++--- .../components/CustomerNoteCreate.vue | 4 +- .../components/CustomerRecoverieCreate.vue | 16 +- .../Department/Card/DepartmentBasicData.vue | 156 +++--- src/pages/Entry/Card/EntryBasicData.vue | 244 +++++----- src/pages/Entry/Card/EntryBuysImport.vue | 60 ++- src/pages/Entry/EntryCreate.vue | 130 +++-- .../InvoiceIn/Card/InvoiceInBasicData.vue | 451 +++++++++--------- src/pages/Order/Card/OrderForm.vue | 134 +++--- src/pages/Route/Card/RouteForm.vue | 154 +++--- src/pages/Route/Roadmap/RoadmapBasicData.vue | 130 +++-- src/pages/Route/Roadmap/RoadmapCreate.vue | 20 +- src/pages/Shelving/Card/ShelvingForm.vue | 70 ++- src/pages/Supplier/Card/SupplierAccounts.vue | 108 ++--- .../Supplier/Card/SupplierAddressesCreate.vue | 61 +-- .../Supplier/Card/SupplierAgencyTerm.vue | 88 ++-- .../Card/SupplierAgencyTermCreate.vue | 92 ++-- src/pages/Supplier/Card/SupplierBasicData.vue | 116 ++--- .../Supplier/Card/SupplierBillingData.vue | 52 +- src/pages/Supplier/Card/SupplierContacts.vue | 58 +-- .../Supplier/Card/SupplierFiscalData.vue | 148 +++--- src/pages/Supplier/SupplierCreate.vue | 16 +- src/pages/Travel/Card/TravelBasicData.vue | 110 ++--- .../Travel/Card/TravelThermographsForm.vue | 164 +++---- src/pages/Travel/TravelCreate.vue | 72 ++- src/pages/Wagon/WagonCreate.vue | 118 +++-- src/pages/Worker/Card/WorkerPBX.vue | 12 +- src/pages/Worker/WorkerCreate.vue | 185 +++---- 56 files changed, 2221 insertions(+), 2858 deletions(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 2d098beb0..429b5f334 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -58,37 +58,31 @@ onMounted(async () => { > diff --git a/src/components/CreateNewProvinceForm.vue b/src/components/CreateNewProvinceForm.vue index b972db2c9..2902d0bac 100644 --- a/src/components/CreateNewProvinceForm.vue +++ b/src/components/CreateNewProvinceForm.vue @@ -40,24 +40,20 @@ const onDataSaved = (dataSaved) => { > diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index d4511a0e7..1cb48d2fe 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -54,51 +54,42 @@ const onDataSaved = (dataSaved) => { > diff --git a/src/components/EditPictureForm.vue b/src/components/EditPictureForm.vue index 3d7f3615b..ff8c2f289 100644 --- a/src/components/EditPictureForm.vue +++ b/src/components/EditPictureForm.vue @@ -246,61 +246,55 @@ const makeRequest = async () => {
-
- -
+
-
- - - - -
+ + + +
-
- -
+
{ {{ ` ${rows.length} ` }} {{ t('buy(s)') }} -
- -
-
- -
+ +
{

{{ t('Filter item') }}

-
- -
-
- -
-
- -
-
- -
-
- -
+ + + + +
{

{{ t('Filter travels') }}

-
- -
-
- -
-
- -
-
- -
-
- -
+ + + + +
{ > diff --git a/src/components/TransferInvoiceForm.vue b/src/components/TransferInvoiceForm.vue index b7d8f3081..96626e826 100644 --- a/src/components/TransferInvoiceForm.vue +++ b/src/components/TransferInvoiceForm.vue @@ -83,74 +83,66 @@ const transferInvoice = async () => { > diff --git a/src/components/ui/SkeletonForm.vue b/src/components/ui/SkeletonForm.vue index d27934adf..4ae4fb5bb 100644 --- a/src/components/ui/SkeletonForm.vue +++ b/src/components/ui/SkeletonForm.vue @@ -1,28 +1,16 @@ diff --git a/src/components/ui/SkeletonTable.vue b/src/components/ui/SkeletonTable.vue index d58253f90..e35e2c9b0 100644 --- a/src/components/ui/SkeletonTable.vue +++ b/src/components/ui/SkeletonTable.vue @@ -1,45 +1,20 @@ diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index 56717c628..b2e2625e3 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -117,86 +117,74 @@ const statesFilter = { > diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index d23b08f17..3b36123ff 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -64,104 +64,88 @@ const filterOptions = { diff --git a/src/pages/Customer/Card/CustomerBillingData.vue b/src/pages/Customer/Card/CustomerBillingData.vue index fa926e2ad..77ec1ad0f 100644 --- a/src/pages/Customer/Card/CustomerBillingData.vue +++ b/src/pages/Customer/Card/CustomerBillingData.vue @@ -49,76 +49,62 @@ const getBankEntities = () => { > diff --git a/src/pages/Customer/Card/CustomerFiscalData.vue b/src/pages/Customer/Card/CustomerFiscalData.vue index 76c84509e..83d695c84 100644 --- a/src/pages/Customer/Card/CustomerFiscalData.vue +++ b/src/pages/Customer/Card/CustomerFiscalData.vue @@ -41,122 +41,91 @@ function handleLocation(data, location) { > diff --git a/src/pages/Customer/Card/CustomerWebAccess.vue b/src/pages/Customer/Card/CustomerWebAccess.vue index d3be7bec8..501b0929b 100644 --- a/src/pages/Customer/Card/CustomerWebAccess.vue +++ b/src/pages/Customer/Card/CustomerWebAccess.vue @@ -29,31 +29,25 @@ const filter = { where: { id: `${route.params.id}` } }; }" > -
- -
+
-
- -
-
- - - -
+ + + +
diff --git a/src/pages/Customer/CustomerCreate.vue b/src/pages/Customer/CustomerCreate.vue index 5d36c6c37..c8bc4fd3e 100644 --- a/src/pages/Customer/CustomerCreate.vue +++ b/src/pages/Customer/CustomerCreate.vue @@ -61,75 +61,57 @@ function handleLocation(data, location) { >