feat: refs #7119 update VehicleSummary layout
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
37d8cc1b49
commit
39180c1b3a
|
@ -212,6 +212,10 @@ select:-webkit-autofill {
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
.q-card__section[dense] {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type='number'] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
|
|
@ -25,62 +25,61 @@ const links = {
|
|||
</template>
|
||||
<template #body="{ entity }">
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<QCardSection dense>
|
||||
<VnTitle
|
||||
:url="links['basic-data']"
|
||||
:text="$t('globals.pageTitles.basicData')"
|
||||
/>
|
||||
</QCardSection>
|
||||
<VnLv :label="$t('globals.description')" :value="entity.description" />
|
||||
<VnLv :label="$t('vehicle.tradeMark')" :value="entity.tradeMark" />
|
||||
<VnLv :label="$t('globals.model')" :value="entity.model" />
|
||||
<VnLv :label="$t('globals.supplier')">
|
||||
<template #value>
|
||||
<span class="link">
|
||||
{{ entity.supplier?.name }}
|
||||
<SupplierDescriptorProxy :id="entity.supplierFk" />
|
||||
</span>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv :label="$t('vehicle.supplierCooler')">
|
||||
<template #value>
|
||||
<span class="link">
|
||||
{{ entity.supplierCooler?.name }}
|
||||
<SupplierDescriptorProxy :id="entity.supplierCoolerFk" />
|
||||
</span>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv :label="$t('vehicle.vin')" :value="entity.vin" />
|
||||
</QCard>
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<VnTitle
|
||||
:url="links['basic-data']"
|
||||
:text="$t('globals.pageTitles.basicData')"
|
||||
<QCardSection dense>
|
||||
<VnLv
|
||||
:label="$t('globals.description')"
|
||||
:value="entity.description"
|
||||
/>
|
||||
<VnLv :label="$t('vehicle.tradeMark')" :value="entity.tradeMark" />
|
||||
<VnLv :label="$t('globals.model')" :value="entity.model" />
|
||||
<VnLv :label="$t('globals.supplier')">
|
||||
<template #value>
|
||||
<span class="link">
|
||||
{{ entity.supplier?.name }}
|
||||
<SupplierDescriptorProxy :id="entity.supplierFk" />
|
||||
</span>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv :label="$t('vehicle.supplierCooler')">
|
||||
<template #value>
|
||||
<span class="link">
|
||||
{{ entity.supplierCooler?.name }}
|
||||
<SupplierDescriptorProxy :id="entity.supplierCoolerFk" />
|
||||
</span>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv :label="$t('vehicle.vin')" :value="entity.vin" />
|
||||
</QCardSection>
|
||||
<VnLv :label="$t('vehicle.chassis')" :value="entity.chassis" />
|
||||
<VnLv :label="$t('globals.fuel')" :value="entity.fuelType?.name" />
|
||||
<VnLv :label="$t('vehicle.ppe')" :value="entity.ppeFk" />
|
||||
<VnLv :label="$t('vehicle.nLeasing')" :value="entity.leasing" />
|
||||
<VnLv :label="$t('vehicle.leasing')" :value="entity.bankPolicy?.ref" />
|
||||
<VnLv :label="$t('globals.amount')" :value="entity.import" />
|
||||
</QCard>
|
||||
<QCard class="vn-one">
|
||||
<QCardSection class="q-pa-none">
|
||||
<VnTitle
|
||||
:url="links['basic-data']"
|
||||
:text="$t('globals.pageTitles.basicData')"
|
||||
<QCardSection dense>
|
||||
<VnLv :label="$t('vehicle.chassis')" :value="entity.chassis" />
|
||||
<VnLv :label="$t('globals.fuel')" :value="entity.fuelType?.name" />
|
||||
<VnLv :label="$t('vehicle.ppe')" :value="entity.ppeFk" />
|
||||
<VnLv :label="$t('vehicle.nLeasing')" :value="entity.leasing" />
|
||||
<VnLv
|
||||
:label="$t('vehicle.leasing')"
|
||||
:value="entity.bankPolicy?.ref"
|
||||
/>
|
||||
<VnLv :label="$t('globals.amount')" :value="entity.import" />
|
||||
</QCardSection>
|
||||
<QCardSection dense>
|
||||
<VnLv
|
||||
:label="$t('globals.warehouse')"
|
||||
:value="entity.warehouse?.name"
|
||||
/>
|
||||
<VnLv :label="$t('globals.company')" :value="entity.company?.code" />
|
||||
<VnLv :label="$t('globals.country')" :value="entity.countryCodeFk" />
|
||||
<VnLv
|
||||
:label="$t('vehicle.isKmTruckRate')"
|
||||
:value="!!entity.isKmTruckRate"
|
||||
/>
|
||||
<VnLv :label="$t('vehicle.isActive')" :value="!!entity.isActive" />
|
||||
</QCardSection>
|
||||
<VnLv :label="$t('globals.warehouse')" :value="entity.warehouse?.name" />
|
||||
<VnLv :label="$t('globals.company')" :value="entity.company?.code" />
|
||||
<VnLv :label="$t('globals.country')" :value="entity.countryCodeFk" />
|
||||
<VnLv
|
||||
:label="$t('vehicle.isKmTruckRate')"
|
||||
:value="!!entity.isKmTruckRate"
|
||||
/>
|
||||
<VnLv :label="$t('vehicle.isActive')" :value="!!entity.isActive" />
|
||||
</QCard>
|
||||
</template>
|
||||
</CardSummary>
|
||||
|
|
Loading…
Reference in New Issue