feat(front) : refonte à plat des blocs Information (commercial) et Prix (transporteur)
Complète la refonte ERP-196 (blocs à plat sans box-shadow, titre noir, filet noir 1px) qui avait oublié deux blocs : - bloc « Information » des écrans Client et Fournisseur (consultation / édition / création) : suppression du fond blanc, du box-shadow et du padding latéral → grille à plat pleine largeur. - bloc « Prix » du transporteur (CarrierPriceBlock) : aligné sur les blocs contact/adresse — à plat, en-tête « Prix N » en noir + poubelle (button-class p-0), filet noir 1px entre blocs (sauf le dernier via prop last). Câblage title/last dans les écrans Ajouter/Modifier + i18n price.title.
This commit is contained in:
@@ -182,10 +182,12 @@
|
||||
v-for="(price, index) in prices"
|
||||
:key="index"
|
||||
:model-value="price"
|
||||
:title="t('transport.carriers.form.price.title', { n: index + 1 })"
|
||||
:client-options="clientOptions"
|
||||
:supplier-options="supplierOptions"
|
||||
:site-options="siteOptions"
|
||||
removable
|
||||
:last="index === prices.length - 1"
|
||||
:errors="priceErrors[index]"
|
||||
@update:model-value="(v) => prices[index] = v"
|
||||
@remove="askRemovePrice(index)"
|
||||
|
||||
@@ -244,11 +244,13 @@
|
||||
v-for="(price, index) in prices"
|
||||
:key="index"
|
||||
:model-value="price"
|
||||
:title="t('transport.carriers.form.price.title', { n: index + 1 })"
|
||||
:client-options="clientOptions"
|
||||
:supplier-options="supplierOptions"
|
||||
:site-options="siteOptions"
|
||||
:removable="!isValidated('prices')"
|
||||
:disabled="isValidated('prices')"
|
||||
:last="index === prices.length - 1"
|
||||
:errors="priceErrors[index]"
|
||||
@update:model-value="(v) => prices[index] = v"
|
||||
@remove="askRemovePrice(index)"
|
||||
|
||||
Reference in New Issue
Block a user