Compare commits
11 Commits
v0.0.60
...
a4b48712fc
| Author | SHA1 | Date | |
|---|---|---|---|
| a4b48712fc | |||
| e1f7d28f0d | |||
| 0bb8497871 | |||
| 141f174d0a | |||
| 586f122e3b | |||
| 0a887a9347 | |||
| 945ffc823a | |||
| 57551f2b4f | |||
| 6bd400d1a2 | |||
| 86299a18f3 | |||
| d47f237bac |
@@ -57,4 +57,3 @@ Ajouter dans le fichier .env du frontend
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.0.60'
|
app.version: '0.0.57'
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { AddressPayload } from "~/services/address"
|
import { AddressPayload } from "~/services/address"
|
||||||
|
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
:min="0"
|
:min="0"
|
||||||
:max="10"
|
:max="10"
|
||||||
wrapperClass="w-44 flex-col"
|
wrapperClass="w-44 flex-col"
|
||||||
inputClass="font-medium"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<UiNumberInput
|
<UiNumberInput
|
||||||
@@ -22,7 +21,6 @@
|
|||||||
v-model="localOtherQuantity"
|
v-model="localOtherQuantity"
|
||||||
:disabled="!isAdmin"
|
:disabled="!isAdmin"
|
||||||
wrapperClass="w-44 flex-col"
|
wrapperClass="w-44 flex-col"
|
||||||
inputClass="font-medium"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -185,15 +185,15 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
<UiButton
|
<UiButton
|
||||||
v-if="auth.isAdmin"
|
v-if="auth.isAdmin"
|
||||||
type="submit"
|
type="submit"
|
||||||
class="inline-flex mb-16 items-center justify-center text-xl text-white uppercase bg-primary-500 h-[50px] px-8 rounded hover:opacity-80 gap-2 justify-self-end"
|
class="text-xl uppercase bg-primary-500 text-white h-[50px] w-[272px] mb-16"
|
||||||
>
|
|
||||||
<Icon name="mdi:check" size="28" />
|
>
|
||||||
Valider
|
Enregistrer
|
||||||
</UiButton>
|
</UiButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
@@ -327,7 +327,7 @@ const filteredVehicles = computed<VehicleData[]>(() => {
|
|||||||
watch(
|
watch(
|
||||||
() => idReception,
|
() => idReception,
|
||||||
async (id) => {
|
async (id) => {
|
||||||
if (!Number.isFinite(id) || id <= 0) {
|
if (id === null) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
isLoading.value = true
|
isLoading.value = true
|
||||||
@@ -500,7 +500,7 @@ async function loadTypes() {
|
|||||||
try {
|
try {
|
||||||
receptionTypes.value = await getReceptionTypeList()
|
receptionTypes.value = await getReceptionTypeList()
|
||||||
} finally {
|
} finally {
|
||||||
isLoadingTypes.value = false
|
isLoadingSuppliers.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user