Compare commits
6 Commits
a4b48712fc
...
v0.0.60
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c48cc477da | ||
| 5967665e9f | |||
|
|
393c420983 | ||
| 456623b403 | |||
|
|
e2a8e89e55 | ||
| 92a5c48e5e |
@@ -57,3 +57,4 @@ Ajouter dans le fichier .env du frontend
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.0.57'
|
app.version: '0.0.60'
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { AddressPayload } from "~/services/address"
|
import type { AddressPayload } from "~/services/address"
|
||||||
|
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
: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
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
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="text-xl uppercase bg-primary-500 text-white h-[50px] w-[272px] mb-16"
|
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"
|
||||||
|
>
|
||||||
>
|
<Icon name="mdi:check" size="28" />
|
||||||
Enregistrer
|
Valider
|
||||||
</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 (id === null) {
|
if (!Number.isFinite(id) || id <= 0) {
|
||||||
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 {
|
||||||
isLoadingSuppliers.value = false
|
isLoadingTypes.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user