separate picture taking from uploading

This commit is contained in:
2024-03-08 09:54:10 -07:00
parent acee761906
commit 792e9cb648
4 changed files with 88 additions and 30 deletions

View File

@@ -10,23 +10,22 @@
placeholder="What was received"
v-model="description"
/>
<div class="flex flex-row">
<div class="flex flex-row justify-center">
<span
class="rounded-l border border-r-0 border-slate-400 bg-slate-200 w-1/3 text-center text-blue-500 px-2 py-2"
class="rounded-l border border-r-0 border-slate-400 bg-slate-200 text-center text-blue-500 px-2 py-2 w-20"
@click="changeUnitCode()"
>
{{ libsUtil.UNIT_SHORT[unitCode] }}
</span>
<div
class="border border-r-0 border-slate-400 bg-slate-200 px-4 py-2"
@click="decrement()"
v-if="amountInput !== '0'"
@click="amountInput === '0' ? null : decrement()"
>
<fa icon="chevron-left" />
</div>
<input
type="number"
class="w-full border border-r-0 border-slate-400 px-2 py-2 text-center"
class="border border-r-0 border-slate-400 px-2 py-2 text-center"
v-model="amountInput"
/>
<div
@@ -36,7 +35,7 @@
<fa icon="chevron-right" />
</div>
</div>
<div class="mt-2 flex justify-center">
<div class="mt-4 flex justify-center">
<span>
<router-link
:to="{