feat(device): update list

This commit is contained in:
riefive
2025-09-25 13:33:03 +07:00
parent e3d3188b1d
commit 46045ebb41
4 changed files with 12 additions and 15 deletions

No files matched your search

+4 -4
View File
@@ -76,13 +76,13 @@ function onCancelForm() {
<Cell>
<Label height="compact">Kode</Label>
<Field :errMessage="errors.code">
<Input id="code" v-model="code" v-bind="codeAttrs" :disabled="isLoading" />
<Input id="code" v-model="code" v-bind="codeAttrs" :disabled="isLoading || isReadonly" />
</Field>
</Cell>
<Cell>
<Label height="compact">Nama</Label>
<Field :errMessage="errors.name">
<Input id="name" v-model="name" v-bind="nameAttrs" :disabled="isLoading" />
<Input id="name" v-model="name" v-bind="nameAttrs" :disabled="isLoading || isReadonly" />
</Field>
</Cell>
<Cell>
@@ -95,13 +95,13 @@ function onCancelForm() {
v-model="uom"
v-bind="uomAttrs"
:items="uoms"
:disabled="isLoading"
:disabled="isLoading || isReadonly"
/>
</Field>
</Cell>
</Block>
<div class="my-2 flex justify-end gap-2 py-2">
<Button variant="secondary" class="w-[120px]" @click="onCancelForm"> Kembali </Button>
<Button type="button" variant="secondary" class="w-[120px]" @click="onCancelForm"> Kembali </Button>
<Button
v-if="!isReadonly"
type="button"