fix: product item readonly

This commit is contained in:
puriphatt 2024-10-11 12:06:57 +07:00
parent 3e7755f6dc
commit cd15c65a77

View file

@ -331,7 +331,8 @@ watch(
</q-td> </q-td>
<q-td align="center"> <q-td align="center">
<q-input <q-input
:readonly="readonly" :readonly
:bg-color="readonly ? 'transparent' : ''"
dense dense
outlined outlined
:type="readonly ? 'text' : 'number'" :type="readonly ? 'text' : 'number'"
@ -352,7 +353,8 @@ watch(
</q-td> </q-td>
<q-td align="center"> <q-td align="center">
<q-input <q-input
:readonly="readonly" :readonly
:bg-color="readonly ? 'transparent' : ''"
dense dense
min="0" min="0"
outlined outlined